Textpattern CMS support forum
- From: India
- Registered: 2013-03-19
- Posts: 275
How to count links clicked ?
I’m developing a website for my client, he is uploading files outside his website and linking the files (external URL) in the article’s body.
For example, he uploads a PDF file to Google Drive copies the link and pastes it to his website like HTML Learning Book
Now he wants to know how many times the Download button was clicked and also if possible to know the country name of who clicked but this feature is optional, if it is impossible to do it in TXP leave that.
Can anyone plz find a solution for this ?
Note: I tried with the custom field but couldn’t succeed !
I’m thinking of pasting that URL in a custom field of the article and dynamically the button comes when custom_field is available, then redirects to that external URL and count …