Working to get the AdWords remarketing tag up on our site via DDC. Has anyone done this yet? I'm getting some errors from G's tag-checker and am trying to find a solution. Thanks.
Sam,
Instead of hard coding your site with the retargeting code and going through Production (yes, you will have to go through production if you haven't been granted access to JS in the DDC control center), go through the back door. Yes... there is a learning curve but you won't have to rely on Production to deploy a simple remarking tag or any kind of tag or script and you can do it on the fly and check your tag before you push to the live site. The Back door is Called...... Google Tag Manager! It's FREE....Create a GTM account, get your re-targeting tag id from adwords, create a new tag and just insert the tag id in your tag manager account. Set up the params on how you want the tag to fire and your done. If you want to create a data layer, you can do all of this within GTM. You can control how and when the tags fire and on what pages. If you need data off the page in order for you tag to fire, just use JS to grab the data( for instance the VIN # to a vehicle. It should be something similar to this on the VDP's. vin = document.getElementsByClassName('vin')[0].getElementsByClassName('value')[0].innerHTML ) or any piece of the DOM. You can also get data from the URL and fire it that way if you prefer. Your GA (google analytics) tag. You can deploy it through GTM as well. GTM just rolled out not too long ago a feature to write to the DOM as well. Another cool feature is you can fire tags based on Events. So if a person clicks on something (ie: video, link, etc...) you can fire your tags. If the visitor didn't watch the entire video, you can fire your tag based on that. You have full control of how the tag fires and when. Another really cool feature is GTM allows you to use Macro's in your JS. You build the macro once and just insert the macro into your JS coding. No need to rewrite code over and over. It's pretty simple.
Once you create your GTM account, just get your GTM account ID and call up the boys or girls in tech support and with your id hand and they will install GTM on your site before you get off the phone. It's that quick.
Here's a link to see some of the features for GTM
Having it on your site will enable you to fire any tag. It's simple and easy to set up once you get past the learning curve. Once you learn it, You'll love it!