Skip navigation
All Places > Products > Blog > Authors John Mattos


3 Posts authored by: John Mattos Employee

When you decide to secure your marketo landing pages using SSL, the final step will be Marketo consulting "cutting over" the server so that all of the landing pages redirect to their SSL versions.


When that happens you need to worry about mixed content.


What is that? Good question. Mixed content is non secure content (HTTP) served within a secure page (HTTPS), and it comes in two types, "active" and "passive". Passive mixed content such as the following will generall still render (depending on browser and version, but will result (again depending on the browser) in a warning]


  • <img> src attribute
  • <audio> src attribute
  • <video> src attribute
  • <object> where the object performs http requests


Active mixed content will generally cause a larger problem with the page, such as the visual aspects not rendering (CSS)

  • <script> src attribue
  • <iFrame> src attribute
  • All uses of CSS where the CSS is a url
  • <object> (data attribute)


All mixed content should be addressed, but only the active content will actually break the pages.


The official definition of mixed content as defined by the W3C is here -->  Mixed Content

It's true. Here at Marketo we use Slack, and our Slackbot HATES server side post.. so much so that when you mention it, it chastises you. It's really pretty amusing.



Fine! Jeez.



Really though, Slackbot is completely right. Server side post has effectively been replaced by the following REST endpoint, which is great and scalable.


This, along with my other most recent blog, provide a good blueprint for associating leads in a non marketo form with only one REST call. No fewer than 3 customers have had this very question for me this week alone, so it seems like a hot topic.

A common question we see in consulting relates to how a customer can use a non Marketo form, but still associate that lead with a known lead in Marketo. With Marketo forms, of course, it's simple, you jhust submit the form. With Non Marketo forms, its a bit tricker, but still possible.


One reason you might do this is because you're submitting a login form, and obviously that doesnt really make sense as a Marketo Form. Not to worry!


First, lets talk about some confusing names of important items related to the Marketo Munchkin Cookie and this process

What is it?
_mrk_trkThe name of the hidden form field (more on that in a moment)
_mkto_trkThe name of the Marketo Munchkin Tracking Cookie. The cookie contains the Munchkin ID of the instance along with a unique identifier for this lead (known or anonymous.


The details on the tracking cooke are shown below. I use a plugin called "Awesome Cookie Manager" to view cookies. You can see yours by going to any site that leverages munchin


Tracking Cookie



Marketo Munchkin Cookie Value


Armed with this knowledge, we can look at the solution here. the process is straightforward and we're helped by Munchkin. When you create a form field called "_mkt_trk" within a non marketo form on a page where Munchkin code is running, Munchkin knows enough to populate the value of that form with the Munchkin Cooke value.


Cool right?


So, what does that mean? That means that in the following really simple non marketo form, youll not only receive the regular form fields.. youll also have the lead's cookie ID as well... and with THAT, you can use REST from your back end process to associate the lead.


That brings us to the second step which is associating the lead. for this youll need the marketo ID and the cookie ID. you've now got the cookie ID, and getting the Marketo ID is a simple matter of getting it from Marketo.


You'll need to call the following two REST endpoints.


first you'll use GetMultipleLeadsByFilterType, passing in the Email address to get the Marketo ID (!/Leads/getLeadsByFilterUsin… )

then, you'll use AssociateLead (!/Leads/associateLeadUsingPO… ), passing in that ID, and the cookie Id.


Alternatively, you can use a amazing new REST endpoint which I describe here! Slackbot Hates Server Side Post

Filter Blog

By date: By tag: