Open signor-pedro opened 6 months ago
Hi, I have an interesting situation here.
I have configured this module with
{ gtm: { id: 'my-id', defer: false, compatibility: false, loadScript: true, debug: true, enabled: true, enableRouterSync: true, // I want it to sync trackOnNextTick: true, }, }
Now, whenever I hit a hard refresh, I can see in the console that the page view was tracked:
...and in Network, I can also see the follow-up "beacon" POST request:
When I start navigating on the client-side (clicking a <NuxtLink>), I can see the console outputting the track views:
<NuxtLink>
However, there is no follow-up beacon and the data never arrives to Google.
Has anyone experienced this / can anyone confirm?
Is there a workaround?
Thank you.
We had the same issue, try turning on 'Page changes based on browser history events' within the 'Enhanced Measurement - Page Views' section within Analytics. This worked for us.
Hi, I have an interesting situation here.
I have configured this module with
Now, whenever I hit a hard refresh, I can see in the console that the page view was tracked:
...and in Network, I can also see the follow-up "beacon" POST request:
Problem
When I start navigating on the client-side (clicking a
<NuxtLink>
), I can see the console outputting the track views:However, there is no follow-up beacon and the data never arrives to Google.
Has anyone experienced this / can anyone confirm?
Is there a workaround?
Thank you.