Quantcast
Channel: Support & Bugs - Matomo forums
Viewing all articles
Browse latest Browse all 5981

Triggering TagManager PageView from Javascript

$
0
0

I am writing a Single Page Application. I am using the TagManager, and have configured a tag that watches for PageView triggers. My initial page load is recorded. When I update the URL and title with Javascript, I try to trigger a new PageView with javascript per the documentation: const evt = {'event': 'mtm.PageView'}; window._mtm.push(evt);.
However, the event doesn’t get logged at all, nor generate a call to the server.
Any assistance much appreciated,
Best,
Craig

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 5981

Trending Articles