EPrints Technical Mailing List Archive
Message: #08065
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
Re: [EP-tech] Google Analytics with eprints
- To: <eprints-tech@ecs.soton.ac.uk>
- Subject: Re: [EP-tech] Google Analytics with eprints
- From: Yuri <yurj@alfa.it>
- Date: Wed, 11 Dec 2019 09:30:05 +0100
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&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C912c760d802449eb154108d77e1455f3%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=Zv6DrnOra21nCx03zNGn3eyH8fMoopdE63F0re10l8M%3D&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&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C912c760d802449eb154108d77e1455f3%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=hQ%2Fc7ekpc1K0B9OtY1C7Xd5TGULu3V3J96Tteb5DAMs%3D&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&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C912c760d802449eb154108d77e1455f3%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=Pr4WNuOrJklTCoE40YN%2FLxmEUw5%2BRb9t6GepTGt7UPk%3D&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&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C912c760d802449eb154108d77e1455f3%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=sGGb6AyF5qZVMocafOp93ToIwdWFNv%2FLYWc%2FFXqIjps%3D&reserved=0 *** EPrints community wiki: https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C912c760d802449eb154108d77e1455f3%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=chSo2uIJ7wtaXOzR2NARYiLSzBFnpVkd46ohZTyVi1M%3D&reserved=0 *** EPrints developers Forum: https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fforum.eprints.org%2F&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C912c760d802449eb154108d77e1455f3%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=ZZbt3fkepKZ07AFoujPo9axN5TIYUDp3EKWY5sPVmEA%3D&reserved=0
- Follow-Ups:
- Re: [EP-tech] Google Analytics with eprints
- From: Yuri <yurj@alfa.it>
- Re: [EP-tech] Google Analytics with eprints
- References:
- [EP-tech] Google Analytics with eprints
- From: zulkarnain <sizulku@yahoo.com>
- Re: [EP-tech] Google Analytics with eprints
- From: Yuri <yurj@alfa.it>
- [EP-tech] Google Analytics with eprints
- Prev by Date: [EP-tech] Google Analytics with eprints
- Next by Date: [EP-tech] EThOS webservice download tool
- Previous by thread: [EP-tech] Sort view with creators_name and corp_creators
- Index(es):