Universal Analytics in combination with the 7.2.x branch of this module should allow remarketing.

But in my projects Google AdWords can’t find a remarketing tag (under Shared Library > Audiences in the Google AdWords interface). So in the end I have to add the remarketing tag (provided by AdWords) manually inside a block of html code. Then the remarketing tag is picked up.

This is my setup:

  • Enable 'Track display features' under ‘Search and Advertising’ in the Google Analytics Drupal module
  • Enable AdWords Linking in the Property of Google Analytics
  • Check 'Enable Advertising Features (beta)' under Property Settings of the Google Analytics property
  • Create a Remarketing list under Shared Library > Audiences
  • Add the Audience to a Display Network remarketing campaign

What am I doing wrong?

Comments

bramvandenbulcke’s picture

Issue summary: View changes
hass’s picture

Track display features is planed to do all the tricks. If not, please share some details how the tracking code must looks like and I can take a look what may be missing and we can add it asap. Currently I have no idea.

hass’s picture

Per https://support.google.com/analytics/answer/2444872#trackingcode we only need to add ga('require', 'displayfeatures');. This is what Track display features setting does.

Try clearing your caches after you enabled it.

hass’s picture

Status: Active » Postponed (maintainer needs more info)
bramvandenbulcke’s picture

Thank you for the fast reply and thank you for providing this excellent module.

I'm quite experienced with AdWords but remarketing is a new domain for me. I have contacted Google support several times but it's still unclear to me if it's my AdWords configuration or the module. If it's possible, I prefer using the Google Analytics module, instead of adding pieces of code in the Drupal block system.

This is the code added by the Google Analytics module:

<script type="text/javascript">
<!--//--><![CDATA[//><!--
(function(i,s,o,g,r,a,m){i["GoogleAnalyticsObject"]=r;i[r]=i[r]||function(){(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)})(window,document,"script","//www.google-analytics.com/analytics.js","ga");ga("create", "UA-XXXXXXXX-X", {"cookieDomain":"auto"});ga("require", "displayfeatures");ga("send", "pageview");
//--><!]]>
</script>

As you can see the Display Features are added.

But for about 48 hours, the AdWords Shared library > Audiences tab was nagging that the AdWords remarketing tag couldn't be found. So I ended up adding this:

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

/* <![CDATA[ */
var google_conversion_id = XXXXXXXXX;
var google_custom_params = window.google_tag_params;
var google_remarketing_only = true;
/* ]]]]><![CDATA[> */

//--><!]]>
</script><script type="text/javascript" src="//www.googleadservices.com/pagead/conversion.js">
<!--//--><![CDATA[// ><!--


//--><!]]>
</script>
<noscript>
<div style="display:inline;">
<img height="1" width="1" style="border-style:none;" alt="" src="//googleads.g.doubleclick.net/pagead/viewthroughconversion/XXXXXXXXX/?value=0&amp;guid=ON&amp;script=0" /></div>
</noscript>

I removed the UA and conversion ID codes with XXXX...

I thought the last piece of code shouldn't be necessary in my setup with the Drupal Analytics version 2 module. Or am I confusing AdWords remarketing with Analytics remarketing?

hass’s picture

Status: Postponed (maintainer needs more info) » Fixed

I guess you may really confuse both, but I cannot say for sure. The adwords code you posted will not added by this module. GA only adds the adwords account id and nothing else. The rest need to be added in different ways.

As I'm not using adwords I cannot explain you what may be missing if google validation complains about adwords integration. You need to find out yourself.

If we need to add something here we may be able to change it. I always wonder if google may changed anything in past years, but docs are more hidden than ga docs and somewhat like a secret book to me.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

bramvandenbulcke’s picture

In the end the Analytics Display Features (Remarketing Audiences) were picked up and I could remove the AdWords remarketing tag.

So, the Google Analytics module works as expected.

Thanks for the help!