Expand my Community achievements bar.

Join us at Adobe Summit 2024 for the Coffee Break Q&A Live series, a unique opportunity to network with and learn from expert users, the Adobe product team, and Adobe partners in a small group, 30 minute AMA conversations.
SOLVED

AdWords Remarketing Tag - Custom Code in Tagmanager

Avatar

Level 1

Hey there,

 

Excuse my lack of experience here but I'm not a developer. :) 

I've been experiencing issues with the deployment of AdWords remarketing tag. We use Tagmanager 1.0 currently and as the Tagmanager already has a 2.0 version, I can't find any guideline about 1.0.

 

The tag that is supposed to go on the website is as follows:

 

<!-- Google Code for Remarketing Tag --> <!-------------------------------------------------- Remarketing tags may not be associated with personally identifiable information or placed on pages related to sensitive categories. See more information and instructions on how to setup the tag on: http://google.com/ads/remarketingsetup ---------------------------------------------------> <script type="text/javascript"> / <![CDATA[ / var google_conversion_id = 1234567890; var google_custom_params = window.google_tag_params; var google_remarketing_only = true; / ]]> / </script> <script type="text/javascript" src="//www.googleadservices.com/pagead/conversion.js"> </script> <noscript> <div style="display:inline;"> <img height="1" width="1" style="border-style:none;" alt="" src="//googleads.g.doubleclick.net/pagead/viewthroughconversion/1234567890/?value=0&amp;guid=ON&amp;script=0"/> </div> </noscript>

I copy-pasted this piece of code as HTML to Tagmanager's Custome Code section but I jsut can't make it work at all. 

 

With other codes I know I have to remove the <script> and </script> parts - I tried it here but didn't make a difference at all. 

 

I use Google Tag Assistant, Ghostery, ObservePoint and Fiddler2 for testing.

 

thank you very much!

nora

1 Accepted Solution

Avatar

Correct answer by
Level 6

Hello - here's an example how I got my tags to work.  Select JavaScript as the tag type, then paste in the code block and remove extraneous sections.  I took out the NOSCRIPT because if script is disabled, the ATM won't fire anyway!

Notice how the call to include the conversion.js file is woven into a document.write.

I use Chrome and the WASP Plugin for Chrome to debug/test. Good luck!

 

[img]ATM_GoogleRemarketEx.jpg[/img]

(you'll notice that I covered over our unique identifiers in the code - don't let that bother you as you review this screenshot!)

 Regards,

MitchellT

View solution in original post

3 Replies

Avatar

Correct answer by
Level 6

Hello - here's an example how I got my tags to work.  Select JavaScript as the tag type, then paste in the code block and remove extraneous sections.  I took out the NOSCRIPT because if script is disabled, the ATM won't fire anyway!

Notice how the call to include the conversion.js file is woven into a document.write.

I use Chrome and the WASP Plugin for Chrome to debug/test. Good luck!

 

[img]ATM_GoogleRemarketEx.jpg[/img]

(you'll notice that I covered over our unique identifiers in the code - don't let that bother you as you review this screenshot!)

 Regards,

MitchellT

Avatar

Level 1

I wanted to get an update on this. What is the proper way to setup Google ReMarketing code using DTM?

I have tried both the options above without success.

 

Thank you,

Matt

Avatar

Level 6

I just noticed you're using ATM 1.0.  I never used it myself, since ATM2.0 was available when I started my project.  

 

If you can, upgrade to ATM2, it's much better.  But if you can't do it immediately, maybe my screenshot will still help you.