We use cookies to make HubSpot's community a better place. Cookies help to provide a more personalized experience and relevant advertising for you, and web analytics for us. To learn more, and to see a full list of cookies we use, check out our Cookie Policy (baked goods not included).
Apr 9, 2021 12:46 AM
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=
Solved! Go to Solution.
Apr 14, 2021 11:58 AM
@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!
Apr 14, 2021 11:58 AM
@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!
Apr 9, 2021 1:40 PM
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.
![]() | Make sure to subscribe to our YouTube channel where you can find the HubSpot Community Developer Show |