You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using matomo 3.9.1
For single-page application (Kibana) I configured to send trackPageView event every time user viewing new page (Dashboard).
// ***** on script load ********window._paq=window._paq||[];(function(){varu='<...matomoUrl...>';_paq.push(['setTrackerUrl',u+'piwik.php']);_paq.push(['setSiteId',2]);_paq.push(['setReferrerUrl',document.referrer]);vard=document,g=d.createElement('script'),s=d.getElementsByTagName('script')[0];g.type='text/javascript';g.async=true;g.defer=true;g.src=u+'piwik.js';s.parentNode.insertBefore(g,s);})();window.addEventListener('hashchange',({ oldURL, newURL })=>{if(oldURL.replace(/\?.*/,'')!==newURL.replace(/\?.*/,'')){_paq.push(['disableHeartBeatTimer']);_paq.push(['setReferrerUrl',oldURL]);}});// ***** on every page change ********functionpageChange(start,username,dashTitle,spaceName){_paq.push(['enableHeartBeatTimer',15]);_paq.push(['setCustomUrl',location.href]);_paq.push(['setGenerationTimeMs',newDate()-start]);_paq.push(['setUserId',username]);_paq.push(['trackPageView','Dashboard / '+dashTitle,{dimension2: spaceName}]);}
Also I configured Page URL fragments tracking option to true in Global websites settings and for my site, because different page urls differs only by hash.
After browsing several pages I can see such access log in matomo:
Here I use same uid=iiieii, but different action_name and url
Only first action will appear in visitor log. Any other actions wouldn't appear in any visits.
After some time (for example after an hour) it will record another visit with another action.
Finally every visit for any users in visitor log have only one action.
Could someone help me with this situation. I believe that there is some option in configuration, or some API call that I should do to have all the actions in visits.
The text was updated successfully, but these errors were encountered:
I'm using matomo 3.9.1
For single-page application (Kibana) I configured to send trackPageView event every time user viewing new page (Dashboard).
Also I configured
Page URL fragments tracking
option totrue
in Global websites settings and for my site, because different page urls differs only by hash.After browsing several pages I can see such access log in matomo:
Here I use same
uid=iiieii
, but differentaction_name
andurl
Only first action will appear in visitor log. Any other actions wouldn't appear in any visits.
After some time (for example after an hour) it will record another visit with another action.
Finally every visit for any users in visitor log have only one action.
Could someone help me with this situation. I believe that there is some option in configuration, or some API call that I should do to have all the actions in visits.
The text was updated successfully, but these errors were encountered: