Munchkin tracking does not (always) work - sometimes it tracks, sometimes it does not
Hello again Marketo Nation,
Here comes yet another problem I was hoping you could help us solve.
First some background.
Goal:
- Track user from landing-page on subdomain, to main site on top-level-domain
- More specifically, the idea is to log a "Visit Web Page" in the "Activity Log"
Landing page:
- On subdomain
- Default munchkin switched off, custom munchkin added: only to set "2" as the domainLevel - in order to set the cookie at the correct top-level-domain
- Not secured (http)
- Cookie-script as the cookie-bar supplier
Website:
- On top-level domain
- Default munchkin
- Secured (https)
- GDPR Cookie Consent (Wordpress plugin), as the cookie-bar supplier
The problem:
The tracking is not (always) working. There is no "Visit Web Page" log after giving consent on the landing page, filling out the form and visiting the main site on the top-level-domain.
Most interesting, sometimes it does work (!?). But we have yet to find any pattern.
Further information:
The steps for test are
- give consent on landing page and fill out form
- visit main site on top-level-domain
- check that a "Visit Web Page" logs is present in the "Activity Log"
Note:
- The custom munchkin, has only been added to the landing page on the subdomain, because we have concluded that there is no reason to change the default munchkin behavior on the main site - the cookie is already being place correctly, on the top-level domain.
- The munchkin-cookie is being set.
- On the main site - the cookie is set at the top-level-domain without a dot: example.com. But on the landing page, the cookie is set at .example.com (note the dot before example).
Questions
- Is there anything in the setup, that you might think is causing the issue, e.g. landing page on http and main site on https for instance, or the fact that there are two different cookie-providers (one on the landing page and another on main site)?
- Does anyone have experience with getting these confusing results, where it works on some cases, and in others not?
Any help would be much appreciated!
Best,
ernie