SOLVED

Re: How to pass the lead Id to Quantcast?

Go to solution
Anonymous
Not applicable

How to pass the lead Id to Quantcast?

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?

1 ACCEPTED SOLUTION

Accepted Solutions
Kenny_Elkington
Marketo Employee

Re: How to pass the lead Id to Quantcast?

You're looking for a token then.  You'd want to use {{lead.ID}} to populate that.

View solution in original post

6 REPLIES 6
Kenny_Elkington
Marketo Employee

Re: How to pass the lead Id to Quantcast?

Where are you trying to extract the ID value from?

Anonymous
Not applicable

Re: How to pass the lead Id to Quantcast?

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 -->

Kenny_Elkington
Marketo Employee

Re: How to pass the lead Id to Quantcast?

You're looking for a token then.  You'd want to use {{lead.ID}} to populate that.

Anonymous
Not applicable

Re: How to pass the lead Id to Quantcast?

Thanks a lot Kenny!

Kenny_Elkington
Marketo Employee

Re: How to pass the lead Id to Quantcast?

Happy to help.

Anonymous
Not applicable

Re: How to pass the lead Id to Quantcast?

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.