AdWords is now Google Ads. Our new name reflects the full range of advertising options we offer across Search, Display, YouTube, and more. Learn more

Ads
4.5K members online now
4.5K members online now
Get started with Google Ads - learn the basics to get set up for success
Guide Me
star_border
Reply

Is this the right universal code?

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

<script type="text/javascript">
/* <![CDATA[ */
var google_conversion_id = 980735274;
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/980735274/?value=0&amp;guid=ON&amp;script=0"/>
</div>
</noscript>

 

Just want to make sure. This is the only tag I need throughout my whole website? Is it ok to put it on the footer or do I need to post it on every page?

 

Also when I use the Tag Assistant plug in I get these suggestions

Suggestion: Both <script> and <iframe> used.

Warning: Ref/URL GET param did not match with actual URL.

 

Will these stop my tag from working correctly? I copy and pasted it I didn't modify anything.

 

1 Expert replyverified_user
2 ACCEPTED SOLUTIONS

Accepted Solutions
Marked as Best Answer.
Solution
Accepted by MosheTLV (Top Contributor)
September 2015

Re: Is this the right universal code?

Top Contributor
# 7
Top Contributor
Hi thomas,
Apologies for the confusion, I thought you meant universal analytics initially.

The code looks OK in your source but you're missing a few custom parameters.
Have a look here and it will give you a walkthrough of how to get a list of the ones that are missing: http://www.cpcstrategy.com/blog/2013/08/google-remarketing-tag/

I know you're not passing any ecommerce parameters. Are you sure you copied the sample code exactly from your audiences page?

View solution in original post

Marked as Best Answer.
Solution
Accepted by MosheTLV (Top Contributor)
September 2015

Also, please follow this troubleshooter here: https://sup...

Top Contributor
# 8
Top Contributor

Also, please follow this troubleshooter here:

https://support.google.com/adwords/answer/3103509?hl=en

 

Please post back the results when you've added back the custom parameters that you're missing and we can take it from there.

View solution in original post

Re: Is this the right universal code?

Top Contributor
# 2
Top Contributor
Are you using Google Tag Manager or the Chrome plugin?

You're missing quite a bit from this snippet.
Have a look here: https://support.google.com/adwords/answer/1722054?hl=en
Follow the steps EXACTLY.

Re: Is this the right universal code?

Visitor ✭ ✭ ✭
# 3
Visitor ✭ ✭ ✭
I'm using the Chrome plugin.
I got the tag under the audience menu where I have my remarketing lists, I think it's the universal tag you post on your page. I'm just trying to have the site give out a cookie so they can see image ads on other sites and come back.

Re: Is this the right universal code?

[ Edited ]
Top Contributor
# 4
Top Contributor

In that case, all is looking good.

 

If you want to post your URL, I can take a look at the source and check it from here.

Re: Is this the right universal code?

Visitor ✭ ✭ ✭
# 5
Visitor ✭ ✭ ✭
Yeah no conversion tracking just remarketing. From what I've read that is the universal code in which I put on my site to start ramping up so my ads will show.

Do you happen to know if it's ok to put the code in the footer of the website?

I also have the remarketing lists made and they are added to the remarketing campaigns Ad group but my ads aren't gaining any impressions. Is it true that a tag has to gain 500 visitors before it will show the ads? I'm thinking that might be my problem, but I'd hate to wait 2 weeks just to find out I'm wrong.

Re: Is this the right universal code?

Visitor ✭ ✭ ✭
# 6
Visitor ✭ ✭ ✭
radiantplumbing.com

Thanks I appreciate it
Marked as Best Answer.
Solution
Accepted by MosheTLV (Top Contributor)
September 2015

Re: Is this the right universal code?

Top Contributor
# 7
Top Contributor
Hi thomas,
Apologies for the confusion, I thought you meant universal analytics initially.

The code looks OK in your source but you're missing a few custom parameters.
Have a look here and it will give you a walkthrough of how to get a list of the ones that are missing: http://www.cpcstrategy.com/blog/2013/08/google-remarketing-tag/

I know you're not passing any ecommerce parameters. Are you sure you copied the sample code exactly from your audiences page?
Marked as Best Answer.
Solution
Accepted by MosheTLV (Top Contributor)
September 2015

Also, please follow this troubleshooter here: https://sup...

Top Contributor
# 8
Top Contributor

Also, please follow this troubleshooter here:

https://support.google.com/adwords/answer/3103509?hl=en

 

Please post back the results when you've added back the custom parameters that you're missing and we can take it from there.

Re: Also, please follow this troubleshooter here: https://sup...

[ Edited ]
Visitor ✭ ✭ ✭
# 9
Visitor ✭ ✭ ✭

Alright,
In your second article that's exactly where I got the snippet from. Under audiences and the remarketing tag box in the top right. I clicked view tag details went to setup and went under view remarketing tag and instructions. Then I just did copy paste.
I didn't copy this part in, I figured it wasn't part of it:

 

<!-- 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
--------------------------------------------------->

 

You think it just needs something added to it? I'm up do 118 unique views and my remarketing lists are going up it's just my actual ads not getting impressions is what I think is weird but maybe it needs the time.
Also would I maybe take one of the sepreate tags from the remarketing lists I made? They look a little different. For instance here is one as an example


<script type="text/javascript">
/* <![CDATA[ */
var google_conversion_id = 980735274;
var google_conversion_label = "4iYICI6p5wYQqqrT0wM";
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/980735274/?value=0&amp;label=4iYICI6p5wYQqqrT0wM&amp;guid=ON&amp;script=0"/>
</div>
</noscript>

Re: Also, please follow this troubleshooter here: https://sup...

Top Contributor
# 10
Top Contributor
No, you don't need the first part. That's fine. You can leave that out. It's simply a code commented description of what the code is.

Regarding what needs to be added to it, it's the custom parameters. If you're not implementing dynamic remarketing, custom parameters are optional.

If you're filling up your lists now, that's fine. It should be working. If you're not receiving impression data yet, that's normal too. It can take a few hours to come through.

Leave it a while and post back here if you're still not seeing anything.