I’ve noticed people using an onclick handler for links with both trackEvent and setCustomVariable on links.
What I’m trying to determine is the use cases for each.
Assuming I want to understand how users interact with my product on a fairly finite level (tracking clicks and form submissions), when should I use trackEvent and when should I use setCustomVariable?
Also, from what I gathered in the docs, there are only 5 custom variables I can use per page or visit. Does this mean the value (1-5) cannot be a duplicate?
How are people using setCustomVariable in Piwik?
- Lawrence Black