[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[EP-tech] Google Analytics with eprints



 Thank you Yuri, its working now.
    On Wednesday, December 11, 2019, 03:31:02 PM GMT+7, Yuri via Eprints-tech <eprints-tech at ecs.soton.ac.uk> wrote:  
 
 Move at least the second <script> part inside the page. I would move
them at the bottom. This are official tips:

https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdevelopers.google.com%2Fanalytics%2Fdevguides%2Fcollection%2Fanalyticsjs&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C5b98273dd903486a0a6f08d77e2e2436%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=zeI5TaCqRpAstZdYFYgDHQc1cpTXNt6vy718M%2BnvaQQ%3D&amp;reserved=0

but this is also good:

https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.bounteous.com%2Finsights%2F2012%2F02%2F09%2Fwhere-should-google-analytics-tracking-code-be-placed%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C5b98273dd903486a0a6f08d77e2e2436%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=LB7zZGy6Vjogw1NWwUfxPA3tRM1qg%2F%2FWtrqZp07xWQs%3D&amp;reserved=0


Il 11/12/19 08:12, zulkarnain via Eprints-tech ha scritto:
> Hi all,
>
> Does anyone use google analytics on eprints 3.4.1? I copied and paste
> this code below into the <HEAD> of every web page that I want to track
> but not working. Any help would be greatly appreciated.
>
> <!-- Global site tag (gtag.js) - Google Analytics -->
> <script async
> src="https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.googletagmanager.com%2Fgtag%2Fjs%3Fid%3DUA-XXXXXXXXX-1&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C5b98273dd903486a0a6f08d77e2e2436%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=zkeLNdEgh0Ft%2FfXQ90oyVSg5HXCCYbB9rNQ18%2B1jHG4%3D&amp;reserved=0";></script>
> <script>
> ? window.dataLayer = window.dataLayer || [];
> ? function gtag(){dataLayer.push(arguments);}
> ? gtag('js', new Date());
>
> ? gtag('config', 'UA-XXXXXXXXX-1');
> </script>
>
> Regards,
> Zul
>
> *** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
> *** Archive: https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C5b98273dd903486a0a6f08d77e2e2436%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=hha1zaK1rWnUV2oijN2BzXZiAb6d3zZx%2FlkZxqUKVBM%3D&amp;reserved=0
> *** EPrints community wiki: https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C5b98273dd903486a0a6f08d77e2e2436%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=DKufudzAoNg68p6J3uvwbwzK%2FWWSZHHy%2FhrY2QDMs54%3D&amp;reserved=0
> *** EPrints developers Forum: https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fforum.eprints.org%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C5b98273dd903486a0a6f08d77e2e2436%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=5wUCOUea69tyWp1uc9UPb9skdYuSiOz%2Bzk%2F84eBh4CA%3D&amp;reserved=0

*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
*** Archive: https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C5b98273dd903486a0a6f08d77e2e2436%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=hha1zaK1rWnUV2oijN2BzXZiAb6d3zZx%2FlkZxqUKVBM%3D&amp;reserved=0
*** EPrints community wiki: https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C5b98273dd903486a0a6f08d77e2e2436%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=DKufudzAoNg68p6J3uvwbwzK%2FWWSZHHy%2FhrY2QDMs54%3D&amp;reserved=0
*** EPrints developers Forum: https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fforum.eprints.org%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C5b98273dd903486a0a6f08d77e2e2436%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=5wUCOUea69tyWp1uc9UPb9skdYuSiOz%2Bzk%2F84eBh4CA%3D&amp;reserved=0
  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20191211/79e24bb7/attachment.html