How to get cookied | Community
Skip to main content
Level 3
November 27, 2018
Question

How to get cookied

  • November 27, 2018
  • 2 replies
  • 8162 views

Hi all,

I was under the impression that the two ways to get the Munchkin cookie were to, A. Fill out a Marketo form, B. Click a link in a Marketo email delivered to you that directs you to the website. (reference http://developers.marketo.com/javascript-api/lead-tracking/configuration/ ).

However it appears that Visits Web Page activity is only working for leads who have performed action A with our tracking. I've ran through several different scenarios to confirm this issue.

Has anyone ever run into this problem? The tracking issue is for our website here, EVSE | Electric Vehicle (EV) Charging Stations - ChargePoint.

Any help or insight would be appreciated.

Thanks so much,

Danny T.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

SanfordWhiteman
Level 10
November 27, 2018

I'll need more than just the website. What you have to show is a tracked link in a Marketo email that directs to a page on that site.

Also, because it's important to be exact for future searches, it's not that you only get a Munchkin cookie using the methods you've described. You get a Munchkin cookie whenever you visit a site that runs Munchkin! That cookie gets associated with a lead in your Marketo database using one of the following methods:

  • filling out a Marketo form
  • visiting a tracked link that then attaches the mkt_tok query parameter to the URL on your site
  • programmatically calling the Munchkin API associateLead method from the browser
  • calling one of a few REST or SOAP API endpoints (Push, Sync, Associate)
Level 3
November 28, 2018

Gotcha. That definitely makes more sense than how I described it.

Here's the an example email link I used on a test lead:

http://go.chargepoint.com/MO0C0f0SW4xik00aa0aY0c0

Or do you need the full "original view" of the email?

SanfordWhiteman
Level 10
November 28, 2018

The problem is very simple: your webserver is (mis)configured to strip off the entire query string and redirect (that's a true HTTP redirect, not a JavaScript-based redirect) to the bare hostname + pathname.

So a link like

https:​//www.chargepoint.com/drivers/home/holiday?utm_source=retargetingpromo&utm_medium=email&utm_campaign=19q4_em_b2c_holiday_promo_us&utm_term=b2chome&utm_content=promo&mkt_tok=eyJpIjoiTURBell6WTRZekF4TnpZNCIsInQiOiJVU1hPOFB0U

is redirected to

http:​//www.chargepoint.com/drivers/home/holiday

before Munchkin even loads.

When Munchkin does load, there's no longer a mkt_tok query param in the URL (let alone any utm_ params, it should be noted). Therefore it's equivalent to an anonymous visit to that URL.

This isn't anything Marketo can fix -- your webmaster needs to fix this misconfiguration.

Denise_Greenb12
Level 6
November 27, 2018

Hi Danny,

Could you describe how you are testing that is resulting in visitors not becoming known who click links in Marketo emails directed to your site?

Denise

Level 3
November 28, 2018

Of course.

I've tested tracking with myself and a coworker who have recently filled out forms for testing. The tracking works perfectly fine for both of us. However, when three other coworkers who are in the database but do not test forms (shown in their activity log) browses the site, nothing is logged. I then had these three coworkers click an email link to associate their lead records and then browse the site, but still nothing.

So then I created a test lead by filling out a form, and then I browsed the site, and the visits were reflected in the activity log.

I then created a lead manually in the database and clicked a link to associate the lead record in a different web browser. The web page visits did not log.

Denise_Greenb12
Level 6
November 28, 2018

Hi Danny,

It sounds like my question was superfluous because Sandy found the problem (great going, Sandy!).

Denise