We are trying to embed a Floodlight Tag into our email and we are getting this error message. I have provided the code below.
This error message seems like it pertains to our access - is there something that we need to do with our account?
Please advise. Thank you
Here is the code:
<!--
Start of DoubleClick Floodlight Tag: Please do not remove
Activity name of this tag: IFP PPO Email Retargeting 1
URL of the webpage where the tag is expected to be placed: http://Email.com
This tag must be placed between the <body> and </body> tags, as close as possible to the opening tag.
Creation Date: 08/16/2017
-->
<script type="text/javascript">
var axel = Math.random() + "";
var a = axel * 10000000000000;
document.write('<iframe src="https://1844680.fls.doubleclick.net/activityi;src=1844680;type=bsca2000;cat=ifppp0;dc_lat=;dc_rdid=;...' + a + '?" width="1" height="1" frameborder="0" style="display:none"></iframe>');
</script>
<noscript>
<iframe src="https://1844680.fls.doubleclick.net/activityi;src=1844680;type=bsca2000;cat=ifppp0;dc_lat=;dc_rdid=;...?" width="1" height="1" frameborder="0" style="display:none"></iframe>
</noscript>
<!-- End of DoubleClick Floodlight Tag: Please do not remove -->
We found using a token and and replacing <iframes> with <img> seems to be working.
Image tags for Floodlight - DoubleClick Digital Marketing Partners Help
Did you have any issues with reporting? Our doubleclick appears to be impacting reporting opens to Marketo.
The 2 pixels function independently.
Thanks Sanford! So is this a separate issue (we are not seeing opens register for this email - a test version of what we put live?).
When we implement the pixel our reported opens drop by about 93-95%. Any ideas?
What do you see in the rendered HTML of the email? There should be 2 <img> tags, one for each open tracking service.
I'm only found 1? We didn't replace anything - so do we not have the 'marketo' pixel at all?
That's all commented out anyway. (It's inside an HTML comment.) So in that screenshot you have no active pixels at all.
Are you looking at a rendered email in your mail client here?
Yes, unless I'm using the wrong method to see a rendered email's html? Clicking 'view online' link and then 'inspect' to see the html? I'll expand more in the inspect view to see more comments.
Yes, unless I'm using the wrong method to see a rendered email's html? Clicking 'view online' link and then 'inspect' to see the html?
Ah, no. You should never use this method because it will inaccurately show HTML that is stripped out by mail clients, particularly webmail clients like Gmail. For one glaring example, you can see (and run) script tags in the View as Web Page but these will never be executed by mail clients. Web View is a not a representation of the non-Web View experience.
You want to look at the source of the message in the inbox, and more important, you need to trace the network requests made when someone opens the message (to see which pixels are actually fetched).
I just realized I cut of the floodlight tag in the previous screen shot:
You need to remove the comments in your HTML area because they're overlapping with the Marketo tracker when parsed, that is, your HTML is malformed. Only include the <img> tag for Floodlight and not any of the <!-- --> chaff.
So instead of this:
<!--
Start of DoubleClick Floodlight Tag: Please do not remove
Activity name of this tag: #### - Email
URL of the webpage where the tag is expected to be placed: https://email
This tag must be placed between the <body> and </body> tags, as close as possible to the opening tag.
Creation Date: 12/04/2017
-->
<p>
<img src="https://ad.doubleclick.net/ddm/activity/src=####;type=####;cat=#####;dc_lat=;dc_rdid=;tag_for_child_... Number]?" width="1" height="1" alt=""/>
</p>
<!-- End of DoubleClick Floodlight Tag: Please do not remove -->
THIS:
<p>
<img src="https://ad.doubleclick.net/ddm/activity/src=####;type=####;cat=#####;dc_lat=;dc_rdid=;tag_for_child_... Number]?" width="1" height="1" alt=""/>
</p>
Yes; be aware that [Random] has no meaning as you're not inserting a random number there btw.
I see, so we could really use the below?
<p>
<img src="https://ad.doubleclick.net/ddm/activity/src=####;type=####;cat=#####;dc_lat=;dc_rdid=;tag_for_child_..." width="1" height="1" alt=""/>
</p>
Yep. Or generate using Velocity.Think I'm going to do a quick blog post on this because it's frequently misunderstood.
Thank you Sanford! Would love to read it.
What's your benefit to helping all of us Marketo novices?! You're the best!!!
At first glance it looks like this is related to your Role permissions in the Admin section. Are you the Marketo admin? If so, go to Admin>Users & Roles>Roles and make sure the Admin role has all permissions granted. If you are not the admin, ask your admin to do it for you or have a discussion with him/her about updating your permissions.
I thought that too but as "admin" I get the same error message. I would thik that a Web Designer/Graphic Designer would be able to insert the code - I then assigned.
This seems to be a bit issue - we can insert JAVA script (and the floodtag) in a Marketo Lanidng page but we get the error message in the email!
Can't safely put <script type="*/javascript> or <iframe> tags in an email so maybe the error text is weird, but the intent is right.