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
alyssamwilie
Solution
Recognized Expert | Elite Partner
Recognized Expert | 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>

 

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

Alyssa Wilie Profile Image

Alyssa Wilie

Web Developerat Lynton

Learn HubL | Get Marketing Insights

HubSpot Elite Solutions Partner
Lynton's HubSpot theme Rubric now available. Click to download.

View solution in original post

2 Replies 2
alyssamwilie
Solution
Recognized Expert | Elite Partner
Recognized Expert | 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>

 

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

Alyssa Wilie Profile Image

Alyssa Wilie

Web Developerat Lynton

Learn HubL | Get Marketing Insights

HubSpot Elite Solutions Partner
Lynton's HubSpot theme Rubric now available. Click to download.
dennisedson
HubSpot Product Team
HubSpot Product Team

Adding 3rd Party click tag to static images in email

SOLVE

Hey @KBuren 

Going to introduce you to @alyssamwilie , 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.

0 Upvotes