Adding Google Analytics to Your Tableau Server

Data

Adding Google Analytics to Your Tableau Server

by Ben Sullins

If you’re a Tableau Server administrator or publisher of content to Tableau Server, then you probably at some point wondered how popular your dashboards and views are. Tableau fortunately has a simple answer to that with their Server Admin views. If you’ve ever wanted to know even more about how your users are using your views, then this post is for you.

Google offers an incredible free service that helps us to track many areas of interest called Google Analytics. You can sign up for free here: http://www.google.com/analytics/

Ignore the pie charts they display and go sign up for an account if you haven’t already.

Once you’ve set up your Google Analytics account, you’ll need to add some javascript code to your Tableau Server pages to get this going. Before I show you how to do this, I must warn you – this is modifying the source code of Tableau Server. If you call support, they may be unhappy and not help you; unless you revert back to the original code base. Okay, with that said, here we go:

You’ll need system admin rights on the Windows Server hosting Tableau itself.

  1.  Navigate to the following location on your Tableau Server:
  2. C:Program Files (x86)TableauTableau Server7.0wgserverz5WEB-INFappviewslayouts

  3. Make a copy of all the files in that directory and put them in a safe place (eg. source control, DropBox, etc.).
  4. Open each file. Before the last closing

More About the Author

Ben Sullins

Business Intelligence Consultant
Adding Google Analytics to Your Tableau Server If you’re a Tableau Server administrator or publisher of content to Tableau Server, then you probably at some point wondered how ...
Migrating Tableau Server to a New Domain In general, Tableau Server is relatively easy to administer. This is in large part due to having very few configuration items you can ...

See more from this author →

Subscribe to our newsletter

  • I understand that InterWorks will use the data provided for the purpose of communication and the administration my request. InterWorks will never disclose or sell any personal data except where required to do so by law. Finally, I understand that future communications related topics and events may be sent from InterWorks, but I can opt-out at any time.
  • This field is for validation purposes and should be left unchanged.

InterWorks uses cookies to allow us to better understand how the site is used. By continuing to use this site, you consent to this policy. Review Policy OK