Tracking click on dynamic button via php

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.

I’m having problems tracking how many user clicked on the button. Tried Piwik, Google, Clicky, Mixpanel and Kissmetrics. Everyone gives different data. For what I’ve been searching some users say it’s a javascript problem because outbound timing. Also tried with a sendmail function, but it sent an email everytime the user visited the product, not everytime he clicked on the button

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)

Leave a Reply

*

Hire Me
Follow Me!
Search
Most Popular Articles & Pages
Because your vote is Important
Sorry, there are no polls available at the moment.
Categories