<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 01/26/2017 06:18 PM, IAM David Bantz
wrote:<br>
</div>
<blockquote
cite="mid:CAJ9XvwERwEs=gm2qGnoU4BdTecF+dyfV9NbC1=uP4=qWCVqBsQ@mail.gmail.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<div dir="ltr">Is there are recommended good/best way to add
Google Analytics to IdP V3?
<div><br>
</div>
<div>I find this page for V2 contributed by Mike Grady - to what
extent does it apply to V3?</div>
<div><br>
<div><a moz-do-not-send="true"
href="https://wiki.shibboleth.net/confluence/pages/viewpage.action?pageId=15401120">https://wiki.shibboleth.net/confluence/pages/viewpage.action?pageId=15401120</a><br>
</div>
</div>
<div><br>
</div>
<div>David Bantz</div>
<div>UA OIT IAM</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
</blockquote>
<p>We stuck it in login.vm. We also added a call to send a custom
event to Analytics to record the entity ID that the user was
accessing. In theory it should help us get usage information for
the SPs that our users access.</p>
<p>ga('send', 'event', 'SAML', 'login',
document.getElementById("entityID").innerHTML);</p>
<p>I'm sticking the entity ID in a hidden div, rather than using
Velocity to concatenate into the rendered JS. Not sure if this
approach is better or not.<br>
</p>
</body>
</html>