Google Analytics Demographics And Interest Reports

Hello,



The current Google Analytics add-on does not include the following code which google requires for tracking demographic data:


<br />
ga('require', 'displayfeatures');<br />

```<br />
<br />
I was going to add that line in the add-on code but I can't find where it is generated. Can someone point me in the right direction?<br />
<br />
Thanks.

Hi @novista,

You need to added into the file design/themes/[SKIN_NAME]/templates/addons/google_analytics/hooks/index/scripts.post.tpl



#before


ga('create', '{$addons.google_analytics.tracking_code}', 'auto');
ga('send', 'pageview', '{$url|escape:javascript nofilter}');


#after


ga('create', '{$addons.google_analytics.tracking_code}', 'auto');
ga('require', 'displayfeatures');
ga('send', 'pageview', '{$url|escape:javascript nofilter}');




More details about Google Analytics - Display Features [url=“광고 기능  |  웹용 애널리틱스(analytics.js)  |  Google Developers”]https://developers.google.com/analytics/devguides/collection/analyticsjs/display-features[/url]





I hope that helps,





Valentin

[color=#808080][size=2]part of hungryweb.net[/size][/color]

Hi Valentin.



I think you were looking at the wrong file when you responded, the file is actually footer.post.tpl but thanks for your help. The code is showing now.



Michael

Hi Michael,

You are welcome,

Depend on cs-cart version, i was guide you for 4.1.5 ;)





Valentin

[color=#808080][size=2]part of hungryweb.net[/size][/color]

I had a feeling that might be it. Thanks again.



Michael

… resolved

Please help me… How to add Google [color=#282828][font=arial, verdana, tahoma, sans-serif]Tagmanager[/font][/color] after tag on cs-cart? And how to add some tags inside