Skip to main content

Hi all. I have a new issue I have not experience before. In AdWords we are getting an error saying that this needs to be included in the GA-script when doing retargeting in AdWords:


ga('require', 'displayfeatures');


The built in GA-integration in Unbounce does not include this, but our preference is always using it.


In other words the GA script will look like this


<script>
(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-XXXXXX-XX', 'example.com');
ga('require', 'displayfeatures');
ga('send', 'pageview');
</script>

Anyone else having experience with this? Fellow @Unbounce-Experts?

Where are you seeing said notice in AdWords? 99% of the time I use the analytics tag for retargeting so if this is going to be a thing we’ll need a work around.


I think this might work outside of the main GA call if it is in the head and fires after the initial GA script. I can’t confirm but it might be worth a try.


<script>
ga('UA-XXXXXX-XX');
ga('require', 'displayfeatures');
</script>

Thanks @Joe_Savitch! I will give it a shot and see what AdWords says. There is another agency managing PPC so will get back to you once I hear from them. I have also asked for a screenshot of the notice.


Thanks @Finge that screen shot would be VERY helpful. Crossing fingers!


Reply