AdWords
2.2K members online now
2.2K members online now
Dive into advanced features like Remarketing, Flexible Bid Strategies, AdWords Editor, and AdWords Scripts
Guide Me
star_border
Reply

How to insert Adwords remarketing tag into a Google Sites HTML page?

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

When I try to insert the Adwords remarketing tag into my web pages made in Google Sites, the system does not accept scripts and it delets the inserted code.
Someone can help?
Thank you.

1 Expert replyverified_user
1 ACCEPTED SOLUTION

Accepted Solutions
Marked as Best Answer.
Solution
Accepted by topic author Gabriele L
September 2015

Re: How to insert Adwords remarketing tag into a Google Sites HTML pag

Top Contributor
# 2
Top Contributor

Hello, Gabriele and welcome to our community.

 

Apparently (I have no first-hand experience though) you have to use gadgets to achieve that: http://www.mydigitallife.info/how-to-add-javascript-or-custom-contents-to-google-sites-with-gadget/

 

But it seems a pretty straight-forward process.

 

Give it a go and tell us if it works.

Calin Sandici, AdWords Top Contributor | Find me on: Google+ | Twitter | LinkedIn | myBlog
Was my response helpful? If yes, please mark it as the ‘Best Answer.’ Learn how here.

View solution in original post

Marked as Best Answer.
Solution
Accepted by topic author Gabriele L
September 2015

Re: How to insert Adwords remarketing tag into a Google Sites HTML pag

Top Contributor
# 2
Top Contributor

Hello, Gabriele and welcome to our community.

 

Apparently (I have no first-hand experience though) you have to use gadgets to achieve that: http://www.mydigitallife.info/how-to-add-javascript-or-custom-contents-to-google-sites-with-gadget/

 

But it seems a pretty straight-forward process.

 

Give it a go and tell us if it works.

Calin Sandici, AdWords Top Contributor | Find me on: Google+ | Twitter | LinkedIn | myBlog
Was my response helpful? If yes, please mark it as the ‘Best Answer.’ Learn how here.

Re: How to insert Adwords remarketing tag into a Google Sites HTML pag

Visitor ✭ ✭ ✭
# 3
Visitor ✭ ✭ ✭

Thank you for the answer.
I tried to follow the instructions, and I opened the GGE and found these lines:
-----
<?xml version="1.0" encoding="UTF-8" ?>
<Module>
  <ModulePrefs title="Hello World!" />
  <Content type="html">
    <![CDATA[
      Hello, world!
    ]]>
  </Content>
</Module>
----

In which I must susbstitute the line of "Hello world!" with the networking tag that Adwords gave to me:
-----------------

<!-- Google Code for Tag di remarketing -->
<!-- Remarketing tags may not be associated with personally identifiable information or placed on pages related to sensitive categories. For instructions on adding this tag and more information on the above requirements, read the setup guide: google.com/ads/remarketingsetup -->
<script type="text/javascript">
/* <![CDATA[ */
var google_conversion_id = 965654579;
var google_conversion_label = "lEbtCPX35QQQs_C6zAM";
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/965654579/?value=0&amp;label=lEbtCPX35QQQs_C6zAM&amp;guid=ON&amp;script=0"/>
</div>
</noscript>
------------------
But I must be in error, because the compiler say to me some "error in code". I simply dont know which lines of code I must substitute.
Thank you

Re: How to insert Adwords remarketing tag into a Google Sites HTML pag

Visitor ✭ ✭ ✭
# 4
Visitor ✭ ✭ ✭

Re: How to insert Adwords remarketing tag into a Google Sites HTML pag

[ Edited ]
Visitor ✭ ✭ ✭
# 5
Visitor ✭ ✭ ✭

Got it to work.  Snip out and replace your google adwords remarket from here:  then save as xml file and then update to your google site.  Once uploaded you can simply go into the page edit and then insert and add gadget by URL and your DONE Smiley Wink

 

<?xml version="1.0" encoding="UTF-8" ?>
<Module>
<ModulePrefs title="Hello World!" />
<Content type="html">
<![CDATA[
<script type="text/javascript">
var google_conversion_id = 994417618;
var google_custom_params = window.google_tag_params;
var google_remarketing_only = true;
/* ]]> */
</script>
<script type="text/javascript" src="http://www.googleadservices.com/pagead/conversion.js">
</script>
<noscript>
<div style="display:inline;">
<img height="1" width="1" style="border-style:none;" alt="" src="http://googleads.g.doubleclick.net/pagead/viewthroughconversion/994417618/?value=0&amp;guid=ON&amp;s...
</div>
</noscript>
]]>
</Content>
</Module>

 

Tom Brennan

proactiveRISK

http://www.proactiverisk.com

 

Re: How to insert Adwords remarketing tag into a Google Sites HTML pag

Visitor ✭ ✭ ✭
# 6
Visitor ✭ ✭ ✭
Hi Tom B,
I tried your solution: created the XML, uploaded it to Google Sites and added gadget by URL.
Unfortunately I got an error message that the script is illegal since there's no /Content tag. However there is a /Content tag in my XML...

This is very frustrating :-( Do you have any idea how to make it work?
I really need to use re-marketing on my Google Sites website.

Ori