Google Analytics

Google Analytics and Theatre Manager web pages

From the Google Analytics website: Google Analytics is the enterprise-class web analytics solution that gives you rich insights into your website traffic and marketing effectiveness. Powerful, flexible and easy-to-use features now let you see and analyze your traffic data in an entirely new way. With Google Analytics, you're more prepared to write better-targeted ads, strengthen your marketing initiatives and create higher converting websites.

Google Analytics is something that is outside of Theatre Manager, and therefore we can't offer definitive support on installing and using it within the Theatre Manager Web Pages. However, what we can offer is the following:

Adding Google Analytics to the Theatre Manager web pages will require some trial and error on your part. Edits will need to be made to various web pages, and then tested for positive results. In general:

Follow the instructions with your Google Analytics setup package. Their help site is extensive. A few links you may want to explore include:

Be sure to make a copy of the entire htdocs folder prior to making any changes. Arts Management Systems is not responsible for correcting changes made to web pages by clients or designers working on the client's behalf.

What Theatre Manager pages should I track?


The answer is: whatever pages you want to track. It is our understanding that Google Analytics will track hits on any page you specify - so whatever pages you wish to track, you should add the Google Analytics tracking code to that page.

The pages you may want to affect exist on the Apache server within the htdocs folder. They include:
  • htdocs/index.html
  • htdocs/1/WebPagesEN/TMhome.html
  • htdocs/1/WebPagesEN/TMtickets.html
  • htdocs/1/WebPagesEN/TMdonation.html
  • htdocs/1/WebPagesEN/TMpass.html
  • htdocs/1/WebPagesEN/TMsubscriptions.html
  • htdocs/1/WebPagesEN/TMmainlist.html
  • htdocs/1/WebPagesEN/TMcheckout.html
  • htdocs/1/WebPagesEN/TMcart.html
  • Etcetera

By adding an Include field to these pages, you can initiate the Google Analytics tracking. The Include must be stored properly within the pages. For more information on Google Analytics Include filters click here.

In addition, in order to track errors received by users, you may want to make changes to the error pages:

  • htdocs/1/TMsysBusyListeners.html
  • htdocs/1/TMsysBusyListenersNorefresh.html
  • htdocs/1/TMsysErrorListeners.html
  • htdocs/1/TMsysNoListeners.html

Important points to remember when testing changes:

After each change, be sure to clear the cache on all web listeners. If you only have one web listener, then this can be achieved by clicking the "Clear Cache" button on the web listener screen. If you have multiple listeners running, then you can clear all the caches at once by going inside Theatre Manager to Setup>>Company Preferences>>Apache tab, and click the green arrows to clear all caches at the same time .


If you are making changes to the index.html, you will also need to restart Apache

    Restarting Apache on a PC
  • Stop all web listeners
  • Go to the Apache server
  • Click on the Apache icon in the system tray (green triangle with a feather)
  • Choose STOP
  • Wait 10 seconds
  • Click on the same icon (now with a red square)
  • Choose START
  • Start all web listeners

    Restarting Apache on a Mac
  • Stop all web listeners
  • Go to the Apache server
  • Click on the Apple icon in the upper left corner of the desktop
  • Choose System Preferences...
  • Under the OTHER category, choose Apache2
  • On the STATUS tab, click STOP
  • Wait 10 seconds
  • Choose START
  • Start all web listeners

Always manually clear your browser cache so that you are looking at fresh content and not stored pages.

If your web sales will not work after you have made changes to them, simply replace the htdocs folder with the original that you copied before you began.