Hi there,
I'm seeking assistance with a Marketo Munchkin tracking implementation issue. We're implementing Marketo tracking in our new headless CMS environment:
Environment:
Issue: We're experiencing problems with the _mkto_trk cookie. Every page reload or form submit is being tracked as a new visitor due to an unique token ID. Resulting in an incorrectly tracking for returning visitors and form submitters by a refresh of the _mkto_trk cookie. As the website is Headless we're aware that every pageview needs to be tracked separately via a HistoryChange event, so navigation through the website works as intended.
Could you please advise on the correct implementation approach for our headless architecture or suggest potential solutions to maintain consistent visitor tracking?
Thank you for your help.
Solved! Go to Solution.
You can solve it right now by setting domainLevel
:
Munchkin.init("AAA-BBB-CCC", { domainLevel: 3 } );
Set it to 2 or 3 based on the environment.
Ah yeah, that's indeed my concern as well. We're running on a sub-domain of vercel.com/ where the test and staging environments are hosted at this moment. Do you think when we move to our own domain this issue can be solved?