@araphiel wrote:
Can Piwik automatically track information if javascript is used to get to that page?
Lets say we want to go from example.com to example.com/page-2
If we click on a regular link, this gets tracked by Piwik automatically.If we use javascript to switch pages, will Piwik detect this?
You can try this on this page by dropping this in your console & clicking any button here.
$('button').on('click', function(event){ event.preventDefault; document.location = "https://www.example.com/page-2"; });
Posts: 4
Participants: 2