[EP-tech] Google Analytics with eprints

zulkarnain via Eprints-tech <[email protected]> Wed, 11 Dec 2019 07:12:23 +0000 (UTC)
Newsgroups gmane.comp.web.eprints.devel
Message-ID <EMEW3|4971f998a049fb7f0a5cbbf2c0e6cf37vBA7Cd14eprints-tech-bounces|ecs.soton.ac.uk|[email protected]>
--===============8478576881960044738==
Content-Type: multipart/alternative;
	boundary="----=_Part_12397371_1377223476.1576048343782"

------=_Part_12397371_1377223476.1576048343782
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

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 w=
orking. Any help would be greatly appreciated.
<!-- Global site tag (gtag.js) - Google Analytics --><script async src=3D"h=
ttps://eur03.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fwww.goog=
letagmanager.com%2Fgtag%2Fjs%3Fid%3DUA-XXXXXXXXX-1&amp;data=3D01%7C01%7Cepr=
ints-tech%40ecs.soton.ac.uk%7Ceac1fccde91b4a0cbbce08d77e097b5f%7C4a5378f929=
f44d3ebe89669d03ada9d8%7C0&amp;sdata=3D5xf6mM7rgUKI%2FBOgeBepw%2B0tviX1lCB3=
ZCqgNTZkdAE%3D&amp;reserved=3D0"></script><script>=C2=A0 window.dataLayer =
=3D window.dataLayer || [];=C2=A0 function gtag(){dataLayer.push(arguments)=
;}=C2=A0 gtag('js', new Date());
=C2=A0 gtag('config', 'UA-XXXXXXXXX-1');</script>
Regards,Zul=

------=_Part_12397371_1377223476.1576048343782
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<html><head></head><body><div class=3D"yahoo-style-wrap" style=3D"font-fami=
ly:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;"><div dir=
=3D"ltr" data-setdir=3D"false">Hi all,</div><div dir=3D"ltr" data-setdir=3D=
"false"><br></div><div dir=3D"ltr" data-setdir=3D"false"><div><div>Does any=
one use google analytics on eprints 3.4.1? I copied and paste this code bel=
ow into the &lt;HEAD&gt; of every web page that I want to track but not wor=
king. Any help would be greatly appreciated.</div><div><br></div><div>&lt;!=
-- Global site tag (gtag.js) - Google Analytics --&gt;</div><div>&lt;script=
 async src=3D"https://www.googletagmanager.com/gtag/js?id=3DUA-XXXXXXXXX-1"=
&gt;&lt;/script&gt;</div><div>&lt;script&gt;</div><div>&nbsp; window.dataLa=
yer =3D window.dataLayer || [];</div><div>&nbsp; function gtag(){dataLayer.=
push(arguments);}</div><div>&nbsp; gtag('js', new Date());</div><div><br></=
div><div>&nbsp; gtag('config', 'UA-XXXXXXXXX-1');</div><div>&lt;/script&gt;=
</div></div><br></div><div dir=3D"ltr" data-setdir=3D"false">Regards,</div>=
<div dir=3D"ltr" data-setdir=3D"false">Zul</div></div></body></html>
------=_Part_12397371_1377223476.1576048343782--

--===============8478576881960044738==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
*** Archive: http://www.eprints.org/tech.php/
*** EPrints community wiki: http://wiki.eprints.org/
*** EPrints developers Forum: http://forum.eprints.org/

--===============8478576881960044738==--