17 Replies Latest reply on Nov 29, 2018 1:23 PM by Loren Robeck

    How to get cookied

    Danny Tran

      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.

        • Re: How to get cookied
          Sanford Whiteman

          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)
            • Re: How to get cookied
              Danny Tran

              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?

              • Re: How to get cookied
                Loren Robeck

                Hi Sanford Whiteman,

                 

                I have a related question about cookies and utms. Our performance marketer spends a few minutes every morning checking a smart list for leads that have a first page visit with paid UTMs and a subsequence form fill that didn't capture the UTMs. In this example, I think it's because they visited multiple pages in between, though sometimes I think it's because the cookie expired 30min or more later. What is the recommend method to solve for this gap? I imagine it's very common, and have read quite a few posts and external sites including your blog about this topic, as well as custom JS to implement on your site.

                 

                Here are some screenshots that I hope display an example clearly.

                 

                Lead's Page 1 of Activity Log:

                Initial Activity Log.png

                First page visit with UTMs, at 12:06pm

                First page visit with UTMs.png

                 

                Form fill with no UTMs - on this page The Beginner’s Guide to Automation Triggers | Tray.io

                Form fill with no UTMs.png

                 

                Thanks in advance!

                Loren

                  • Re: How to get cookied
                    Sanford Whiteman

                    I think it's because the cookie expired 30min or more later.

                    Munchkin cookies don't expire in 30m, so it's not that!

                     

                    It looks at a glance like you're missing a UTM persistence library: JS, loaded on every page of your site, that intelligently stores and forwards UTMs across pageviews + touches.

                     

                    Such libraries definitely can have a built-in timeout (though the typical default would be to wait for new UTMs to come in and store the previous ones until that point).

                     

                    There are many such libraries, including those I've written myself, but I can't recommend any here due to Community rules.

                    1 of 1 people found this helpful
                    • Re: How to get cookied
                      Denise Greenberg

                      Hi Loren,

                      If Sandy doesn't have some way of perpetuating the original utm parameters as the visitor progress through your site, the way I've solved this is to set a time limit and credit the lead to paid search if they filled out a form within, say, 20-30 minutes of visiting your site with the utm parameters being tracked. For example:

                       

                      Smart List -

                      Trigger: Filled Out Form->Form Name

                      Filter:

                      Visited Web Page->is any

                      Query String contains: <utm parameter string>

                      within past 20 minutes

                       

                      Flow  (depending upon your schema, something like this...) -

                      Source = Paid Search

                      Lead Source Detail = Google

                       

                      Denise

                        • Re: How to get cookied
                          Sanford Whiteman

                          If Sandy doesn't have some way of perpetuating the original utm parameters as the visitor progress through your site

                          (Certainly do, but you have to search for it in my past posts...)

                           

                          The problem (well, one of them!) with a Smart List-based approach, in addition to not sanely covering the infinite permutations of UTM codes that are possible over time, is that it's limited to 90 days at the absolute max.  For all but the shortest cycles this isn't acceptable. With a 2-year cookie only being able to look back 90 days is shooting yourself in the foot.

                          1 of 1 people found this helpful
                          • Re: How to get cookied
                            Loren Robeck

                            That makes sense, good suggestion Denise.

                      • Re: How to get cookied
                        Denise Greenberg

                        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

                          • Re: How to get cookied
                            Danny Tran

                            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.