CMS Development

KBuren
Member

Adding 3rd Party click tag to static images in email

SOLVE

I have a client who wants to use a 3rd party click tag on their static jpg ad in our email newsletter. They gave us a bunch of code and I have no idea what to do with it. I know I can add the code to a rich text box, but I dont know what parts of this code to use or where to add the image source. 

 

<IFRAME src=“https://ad.doubleclick.net/ddm/trackimpi/N3016.155582METROPARENT/B25497004.298355480;dc_trk_aid=4921...{GDPR};gdpr_consent=${GDPR_CONSENT_755};ltd=?” WIDTH=1 HEIGHT=1 MARGINWIDTH=0 MARGINHEIGHT=0 HSPACE=0 VSPACE=0 FRAMEBORDER=0 SCROLLING=no BORDERCOLOR=‘#000000’></IFRAME>

 

<SCRIPT language=‘JavaScript1.1’ src=“https://ad.doubleclick.net/ddm/trackimpj/N3016.155582METROPARENT/B25497004.298355480;dc_trk_aid=4921...{GDPR};gdpr_consent=${GDPR_CONSENT_755};ltd=?“></SCRIPT>

 

Link for image perhaps? https://ad.doubleclick.net/ddm/trackclk/N3016.155582METROPARENT/B25497004.298355480;dc_trk_aid=49207...{GDPR};gdpr_consent=${GDPR_CONSENT_755};ltd=

0 Upvotes
1 Accepted solution
amwilie
Solution
Key Advisor | Elite Partner
Key Advisor | Elite Partner

Adding 3rd Party click tag to static images in email

SOLVE

@KBuren As @dennisedson said iframes and scripts aren't really supported in email. You would want to use the 3rd option as just a link around the jpg image.

 

<a href="https://ad.doubleclick.net/ddm/trackclk/N3016.155582METROPARENT/B25497004.298355480;dc_trk_aid=49207...">
  <img src="yourimage.jpg" alt="alt text">
</a>

 

border

Alyssa Wilie

Web Developer at LyntonWeb

If this answer solved your question, please mark it as the solution!

View solution in original post

amwilie
Solution
Key Advisor | Elite Partner
Key Advisor | Elite Partner

Adding 3rd Party click tag to static images in email

SOLVE

@KBuren As @dennisedson said iframes and scripts aren't really supported in email. You would want to use the 3rd option as just a link around the jpg image.

 

<a href="https://ad.doubleclick.net/ddm/trackclk/N3016.155582METROPARENT/B25497004.298355480;dc_trk_aid=49207...">
  <img src="yourimage.jpg" alt="alt text">
</a>

 

border

Alyssa Wilie

Web Developer at LyntonWeb

If this answer solved your question, please mark it as the solution!

dennisedson
Community Manager
Community Manager

Adding 3rd Party click tag to static images in email

SOLVE

Hey @KBuren 

Going to introduce you to @amwilie , my go to email guru. 

My two cents are focus on the last one. iframe support is iffy at best in email and scripts are just a plain no no and don't work.

You might need to give a bit more detail about where you want that link to live in your email for a good solution.

Thanks,

Dennis




HubSpot Community Developer ShowMake sure to subscribe to our YouTube channel
where you can find the HubSpot Community Developer Show
0 Upvotes