I need to track a dynamic button that sends the user to another url, depending on the product he is. Something like pinterest. The website is in PHP.
Is there an easy way to track those clicks inside my site without using any of those metrics services? I just need to track 2 things:
- url (where is sending the user)
- clicks (number of clicks)