adding Google Analytics to IdP V3
Richard Frovarp
richard.frovarp at ndsu.edu
Fri Jan 27 11:27:08 EST 2017
On 01/26/2017 06:18 PM, IAM David Bantz wrote:
> Is there are recommended good/best way to add Google Analytics to IdP V3?
>
> I find this page for V2 contributed by Mike Grady - to what extent
> does it apply to V3?
>
> https://wiki.shibboleth.net/confluence/pages/viewpage.action?pageId=15401120
>
> David Bantz
> UA OIT IAM
>
>
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.
ga('send', 'event', 'SAML', 'login',
document.getElementById("entityID").innerHTML);
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20170127/66d86f94/attachment-0001.html>
More information about the users
mailing list