Javascript tracking API, GET method firing multiple times #10182
Labels
Waiting for user feedback
Indicates the Matomo team is waiting for feedback from the author or other users.
worksforme
The issue cannot be reproduced and things work as intended.
Milestone
I was playing with the Content Tracking API through Google devtool console, and get this weird behavior that the browser fired multiple request in a single tracking event. Code like this:
will trigger multiple GET request to the piwik server and caused the content impression count increase 2 or more. After googling, this is a browser optimization implemented by chrome. Switching to POST method can solve this problem, but no doc has mentioned this problem. Maybe we can add docs describing this issue and make the default method be "POST".
The text was updated successfully, but these errors were encountered: