troubleshooting Question

Entourage.js not tracking downloads in google analytics

Avatar of mmalik15
mmalik15 asked on
JavaScriptSearch Engine Optimization (SEO)jQueryAnalytics
1 Comment1 Solution526 ViewsLast Modified:
I have added entourage.js on a website to automatically track any file downloads like .doc,.pdf files etc in google analytics  but it does not seem to track any file downloads. An example of a webpage where I have a downloadable word document is link
The script is added in the header section of the website as below

<script src="/scripts/entourage.js" type="text/javascript"></script>
 <script type="text/javascript">
 var _gaq = _gaq || [];
 _gaq.push(['_setAccount', 'UA-xxxxxxxx-xx']);
 <script type="text/javascript"> 
 (function () {
     var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
     ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '';
     var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);


Any ideas
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 1 Comment.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 1 Comment.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros