3 Replies Latest reply on Jul 17, 2015 9:06 AM by Kenny Elkington

    How do I check to see if a cookie is present to specific Marketo ID?

      I am embedding a form onto an external website, and there is a button to a form within a modal dialogue to download a PDF. However, if the user is known, and already has '_mkto_trk' cookie (for a particular client), I want to bypass the form and go straight to the PDF. So far I have this, but to no avail! Also, surely the visitor could have the cookie from another marketo user, so unsure of how to grab the ID.


        $('.dl-btn').click(function(event) {

        if (jQuery.cookie('_mkto_trk')) {

            window.location = URL

          } else {


      Any help is much appreciated!