Active
Project:
Matomo Analytics
Version:
8.x-1.19
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
20 Sep 2022 at 10:36 UTC
Updated:
12 Jan 2026 at 02:43 UTC
Jump to comment: Most recent
Hello. I am seeing some strange behavior in my site, which I recently moved to Matomo. It seems as if a single user (i.e. the same IP, computer, etc) has a visit, two pages are seein within seconds, and it is split to two visits in Matomo.
I asked Matomo's support, they say they cannot support this because its from the plugin. So I'm trying here...
Anyone else seeing this?
here's my code, seems to be fine, but maybe some error in the implementation?
var _paq = _paq || [];(function(){var u=(("https:" == document.location.protocol) ? "https://MYCLOUDADDRESS/" : "http://MYCLOUDADDRESS/");_paq.push(["setSiteId", "9"]);_paq.push(["setTrackerUrl", u+"matomo.php"]);_paq.push(["setDoNotTrack", 1]);if (!window.matomo_search_results_active) {_paq.push(["trackPageView"]);}_paq.push(["setIgnoreClasses", ["no-tracking","colorbox"]]);_paq.push(["enableLinkTracking"]);var d=document,g=d.createElement("script"),s=d.getElementsByTagName("script")[0];g.type="text/javascript";g.defer=true;g.async=true;g.src=u+"matomo.js";s.parentNode.insertBefore(g,s);})();Ron
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
grimreaper