[Eagle-i-admins] google analytics id not detected
Sophia K Cheng
sophia_cheng at hms.harvard.edu
Wed Sep 23 12:50:16 EDT 2015
Hello Faith,
Apologies for the confusing properties guide. Hits to your repository
(http://eagle-i.itmat.upenn.edu/repository/*) should be getting recorded
using the property: eaglei.repository.analyticsId. This property should
be specified in the configuration.properties file.
To track hits to http://eagle-i.imat.upenn.edu/*, you will need to add
the property eaglei.ui.analyticsId to your eagle-i-apps.properties file.
Please let us know if that doesn't work.
Take care,
Sophia
> Faith Coldren <mailto:fcoldren at mail.med.upenn.edu>
> September 23, 2015 at 11:50 AM
> Hi,
>
> (We are running v4.0.0 of eagle-i)
>
> I have noticed that on our page http://eagle-i.itmat.upenn.edu, the
> Google analytics id is not being detected.
>
> We have set in eagle-i-apps.properties:
>
> ## Google Analytics
>
> eaglei.repository.analyticsId=UA-37540623-1
>
>
> I can see in ROOT/index.jsp
>
>
> String analyticsId =
> Configuration.getInstance().getConfigurationProperty("eaglei.repository.analyticsId");
>
>
> and
>
>
> <script type="text/javascript">
>
> var _gaq = _gaq || [];
>
> _gaq.push(['_setAccount', '<%= analyticsId %>']);
>
> _gaq.push(['_setDomainName', 'eagle-i.net <http://eagle-i.net>']);
>
> _gaq.push(['_trackPageview']);
>
>
> When I take a look at the Configuration Property Guide, I find the
> property name eaglei.ui.analyticsId not eaglei.repository.analyticsId.
>
>
> Could you please advise?
>
>
> Thank you,
>
> Faith
>
--
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://open.med.harvard.edu/pipermail/eagle-i-admins/attachments/20150923/f567e02b/attachment.html>
More information about the Eagle-i-admins
mailing list