Adding Analytics To Your Community

2 minute read

August 14, 2013

Adding Analytics To Your Community

Using the Pockets Plugin to Add Analytics

While Vanilla Statistics provides an overview of your community, it’s also simple to add whatever analytics package you prefer  (Google Analytics, GetClicky, Crazy Egg, ect) with our Pockets add-on. Once you have the Pockets Plugin enabled, get the Javascript code or tag from your analytics provider, open up the Pockets plugin and click “Add Pocket”. The next step is to fill in the information as below.

Analytics via Pockets plugin

Make sure to give your pocket a name that is memorable. In the body box, copy the code given to you by your Analytics provider. For location, select the Header or Footer section (depending on your providers requirements). The final step is to choose the repeat option. Select “before” if you want the code to be placed “before” the header (which is recommended by Google Analytics).  To place the analytics code in the footer, chose “after” so your Analytics tag will be at the bottom of your page just before the </body> tag. Please note: Do not add your analytics code directly to the HTML customize theme tab. Doing so will not record users coming from mobile devices. By using Pockets, and the head or footer location, you will ensure your analytics program can track both desktop and mobile visitors.


With a combination of Vanilla Statistics and your favourite analytics provider, you can explore indepth data about your forums’ visitors behaviour. Vanilla Statistics is standard for all hosting accounts, as is the ability to add Analytics. Please contact support with any questions or if you require assistance with pockets.  Happy tracking!


Share Your Thoughts

Your email address will not be published. Required fields are marked *

Adrian Speyer

Written by Adrian Speyer

Adrian Speyer is the Head of Community and Lead Evangelist for Vanilla by Higher Logic. Besides spending many years in digital marketing, Adrian has been building communities of all sizes for over 20 years.

Have an Article for Vanilla's Blog?

Send us an email to [email protected] with your topic idea and we'll circle back with our publishing guidelines.

Subscribe to the Community Corner Newsletter and get expert insight and analysis on how to get the most out of your online community every Friday.
[contact-form-7 id="5700" title="Newsletter Form"]

Request a Demo

Schedule a product demo now.

Contact Us