Put a remarketing tag

GK User
Thu May 05, 2016 12:06 pm
Hello gavick team,
First of all, I'm happy to continue the effort in joomla templates. Could you help me to put a remarketing tag code like this:
<script type="text/javascript">
/* <![CDATA[ */
var google_conversion_id = xxxxxxxxx;
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/951260377/?value=0&amp;guid=ON&amp;script=0"/>
</div>
</noscript>


Thanks in advance,
dimitris
User avatar
Junior Boarder

teitbite
Fri May 06, 2016 5:23 pm
Hi

Please put this code at the end of /layout/blocks/head.php file.
User avatar
Moderator

GK User
Fri May 06, 2016 7:45 pm
Hello,

this solution doesn't work!Any other ideas?

Thanks in advance
User avatar
Junior Boarder

teitbite
Sun May 08, 2016 9:31 am
Hi

It has to. This code supposed to be placed between <head></head> tags and file /layout/blocks/head.php file is placed entirely between those tags. Maybe google has changed something, can You please paste the instruction of where they expect this to be placed ??
User avatar
Moderator

GK User
Mon May 09, 2016 7:38 am
Hello again,

this is it:
1. Set up your mobile app or website for remarketing
Tagging your mobile app
To get started you'll need to tag your app for remarketing using a unique tracking ID, commonly referred to as a conversion ID.
Your tracking ID
xxxxxxxxxx
Detailed instructions for adding the remarketing tag to your mobile app
Note: Mobile app remarketing does not yet support dynamic ads.

Tagging your website
Place the Google remarketing tag on all pages of your website. To get started, you'll need to place the remarketing tag on all the pages on your website. You can also find the code in the Shared Library section of your AdWords account.
To ensure that all the webpages on your site include the remarketing tag, you should insert the remarketing tag in one place, where it would automatically update all the webpages on your site. Typically you would do this within your webpage template.
Use tag validations tools to ensure proper implementation. Review whether the tag was properly implemented by using the recommended tag tools:
• Get the Tag Assistant Chrome Extension to verify that you've installed the remarketing tag correctly. Once installed, you can just navigate to any page of your website to see which tags are on the page. Tag assistant will also tell you if there are errors to the tag and offer suggestions on how to fix it. More information about tag assistant
• Tag Validation in AdWords allows you to see whether your remarketing tag is properly firing, provides useful statistics on your remarketing tag, and shows you common solutions to help troubleshoot in the event of a problem. More information about tag validation
If you've already created a remarketing campaign, the lists that are available in your campaign will start getting visitors or users added to them. You can also create new lists as needed.
Your Remarketing Tag
<!-- 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 = xxxxxxxxx;
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/951260377/?value=0&amp;guid=ON&amp;script=0"/>
</div>
</noscript>
Detailed instructions for adding the remarketing tag to your website
User avatar
Junior Boarder

teitbite
Tue May 10, 2016 12:02 pm
Hi

There is nothing about where this should be placed except the fact that this has to be on every page, but from the code I think it would be best to move it from <head> to <body> section. So remove the code where it was before and copy it right before </body> tag in /layout/default.php

If this will still not work than You will have to contact Google developers, because all the website related tasks will be met and issues could only be related to misconfiguration.
User avatar
Moderator


cron