I need to pass the lead Id of prospects being generated by my campaigns with Quantcast; they recommended to use "order ID" on their conversion tracking code; does anyone knows what the variable name for lead ID on marketo?
Solved! Go to Solution.
You're looking for a token then. You'd want to use {{lead.ID}} to populate that.
Where are you trying to extract the ID value from?
This is their conversion tracking code: not sure how to replace "INSERT+LEAD+ID".
Thanks
<!-- Start Quantcast Tag -->
<script type="text/javascript">
var _qevents = _qevents || [];
(function() {
var elem = document.createElement('script');
elem.src = (document.location.protocol == "https:" ? "https://secure" : "http://edge") + ".quantserve.com/quant.js";
elem.async = true;
elem.type = "text/javascript";
var scpt = document.getElementsByTagName('script')[0];
scpt.parentNode.insertBefore(elem, scpt);
})();
_qevents.push(
{qacct:"p-sEkrbLPqkdmLn",labels:"_fp.event.Contact Us Thank You",orderid:"INSERT+LEAD+ID",event:"refresh"}
);
</script>
<noscript>
<img src="//pixel.quantserve.com/pixel/p-sEkrbLPqkdmLn.gif?labels=_fp.event.Contact+Us+Thank+You&orderid=INSERT+LEAD+ID" style="display: none;" border="0" height="1" width="1" alt="Quantcast"/>
</noscript>
<!-- End Quantcast tag -->
Thanks a lot Kenny!
Happy to help.
It doesn't have to be the Lead ID. Here's a guide to how best use that variable.
Audience Segments: Tag Structures | Guides | Quantcast
I'm using a token to populate that field, but not with the Lead ID. It contains information on the campaign variables, like how you would use UTM codes for a query string.