<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Hi Mark-</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
We've got both Matomo and GA running on our sites, including the PUI, though I've heard the UI for the Matomo reports can be a bit sluggish. Thankfully, I don't have to deal with the minutiae of the analytics reporting!<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Joshua<br>
</div>
<div>
<div id="appendonsend"></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>From:</b> archivesspace_users_group-bounces@lyralists.lyrasis.org <archivesspace_users_group-bounces@lyralists.lyrasis.org> on behalf of Custer, Mark
<mark.custer@yale.edu><br>
<b>Sent:</b> Friday, March 20, 2020 10:24 AM<br>
<b>To:</b> Archivesspace Users Group <archivesspace_users_group@lyralists.lyrasis.org><br>
<b>Subject:</b> Re: [Archivesspace_Users_Group] put Google Analytics code snippet in ASpace</font>
<div> </div>
</div>
<div dir="ltr">
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Henry, all:</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
We did exactly what Joshua mentioned... added the snippet as provided by Google Tag Manager to the layout_head.html.erb file, and that's it.</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Just out of curiosity, is anyone using alternatives to Google Analytics, such as <a href="https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmatomo.org%2F&data=02%7C01%7Cjoshua.d.shaw%40dartmouth.edu%7Cfa2749b8319546eeeefd08d7ccda61c8%7C995b093648d640e5a31ebf689ec9446f%7C0%7C0%7C637203110630263764&sdata=4biVvunKDWJv%2FVbMYRGnXrijsIPWk0ZrnManJM5w%2BXo%3D&reserved=0" originalsrc="https://matomo.org/" shash="msuYiAWvXwtfGchfpeimaE/Sm0rGg7Dvjgiz/Q/lIlMutMlWDh2vkSvng9AA3gZGmDGS5T5/CRJaSIiWnS8RvTIAUH24nZEoFni9uBMGNP/NKh6vANnFk+zlegXsbwA8WfEEz/EaQ3wsJ/sucQWGbAUZi9HFFPlhubVOawLag5I=" id="LPlnk670363">https://matomo.org</a>,
with their ASpace PUI?</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Mark</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div id="x_appendonsend"></div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>From:</b> archivesspace_users_group-bounces@lyralists.lyrasis.org <archivesspace_users_group-bounces@lyralists.lyrasis.org> on behalf of Joshua D.
Shaw <Joshua.D.Shaw@dartmouth.edu><br>
<b>Sent:</b> Friday, March 20, 2020 9:35 AM<br>
<b>To:</b> Archivesspace Users Group <archivesspace_users_group@lyralists.lyrasis.org><br>
<b>Subject:</b> Re: [Archivesspace_Users_Group] put Google Analytics code snippet in ASpace</font>
<div> </div>
</div>
<div dir="ltr">
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Hi Henry-</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Its probably easiest to just insert the js in the erb file, since the erbs accept raw code (no need to escape) and the google snippet is unchanging. I'd just pop the snippet that Google provides right in there and you should be good to go!</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Joshua<br>
</div>
<span></span><br>
<div>
<div id="x_x_appendonsend"></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_x_divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>From:</b> archivesspace_users_group-bounces@lyralists.lyrasis.org <archivesspace_users_group-bounces@lyralists.lyrasis.org> on behalf of Steele,
Henry <Henry.Steele@tufts.edu><br>
<b>Sent:</b> Friday, March 20, 2020 9:09 AM<br>
<b>To:</b> Archivesspace Users Group <archivesspace_users_group@lyralists.lyrasis.org><br>
<b>Subject:</b> [Archivesspace_Users_Group] put Google Analytics code snippet in ASpace</font>
<div> </div>
</div>
<div lang="EN-US">
<div class="x_x_x_WordSection1">
<p class="x_x_x_MsoNormal" style="margin-top: 0px; margin-bottom: 0px;margin-top: 0px; margin-bottom: 0px;margin:0in 0in 0.0001pt; font-size:11pt; font-family:"Calibri",sans-serif">
<span style="color:#1F4E79">Have any of you successfully entered your Google Analytics code snippet JS in ASpace. It goes in the layout head html erb, but I’m not sure how to include this since the existin code there just includes a Ruby tab with only the
link as an attribute value. Can I just put raw JS in here, inside a script tag? Also, the GA code snippet has a link tag, but with the “async” attribute and I wasn’t sure how to include this.</span></p>
<p class="x_x_x_MsoNormal" style="margin-top: 0px; margin-bottom: 0px;margin-top: 0px; margin-bottom: 0px;margin:0in 0in 0.0001pt; font-size:11pt; font-family:"Calibri",sans-serif">
<span style="color:#1F4E79"> </span></p>
<p class="x_x_x_MsoNormal" style="margin-top: 0px; margin-bottom: 0px;margin-top: 0px; margin-bottom: 0px;margin:0in 0in 0.0001pt; font-size:11pt; font-family:"Calibri",sans-serif">
<span style="color:#1F4E79">Thanks</span></p>
<p class="x_x_x_MsoNormal" style="margin-top: 0px; margin-bottom: 0px;margin-top: 0px; margin-bottom: 0px;margin:0in 0in 0.0001pt; font-size:11pt; font-family:"Calibri",sans-serif">
<span style="color:#1F4E79"> </span></p>
<p class="x_x_x_MsoNormal" style="margin-top: 0px; margin-bottom: 0px;margin-top: 0px; margin-bottom: 0px;margin:0in 0in 0.0001pt; font-size:11pt; font-family:"Calibri",sans-serif">
<span style="color:#1F4E79">Henry Steele</span></p>
<p class="x_x_x_MsoNormal" style="margin-top: 0px; margin-bottom: 0px;margin-top: 0px; margin-bottom: 0px;margin:0in 0in 0.0001pt; font-size:11pt; font-family:"Calibri",sans-serif">
<span style="color:#1F4E79">Systems Librarian</span></p>
<p class="x_x_x_MsoNormal" style="margin-top: 0px; margin-bottom: 0px;margin-top: 0px; margin-bottom: 0px;margin:0in 0in 0.0001pt; font-size:11pt; font-family:"Calibri",sans-serif">
<span style="color:#1F4E79">Tufts University Library Technology Services</span></p>
<p class="x_x_x_MsoNormal" style="margin-top: 0px; margin-bottom: 0px;margin-top: 0px; margin-bottom: 0px;margin:0in 0in 0.0001pt; font-size:11pt; font-family:"Calibri",sans-serif">
<span style="color:#1F4E79">(617)627-5239</span></p>
<p class="x_x_x_MsoNormal" style="margin-top: 0px; margin-bottom: 0px;margin-top: 0px; margin-bottom: 0px;margin:0in 0in 0.0001pt; font-size:11pt; font-family:"Calibri",sans-serif">
</p>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>