Start a conversation

Google Analytics

Overview

This article provides a comprehensive guide on integrating Google Analytics with your AdvocateHub, detailing how to track social media traffic through UTM parameters and monitor advocate activity within the hub by adding a Google Analytics tracking code. The article offers step-by-step instructions for both parts of the integration process, ensuring you can effectively measure and analyze your social media campaigns and on-site advocate interactions.

 

Information

This article will cover how to set up the two parts of our Google Analytics Integration. This integration can allow you to do two things. Part 1 allows you to automatically add UTM parameters to any Social media challenges your advocates share on Social media. Part 2 allows you to view Google Analytics information for advocate activity inside of your AdvocateHub.

 

Enabling the Google Analytics Integration

1. Go to Integrations (found under the cog wheel beside your profile picture in Admin view).
2. Find the Google Analytics integration and click Manage .

3. Next, click on Enable Integration.

4. This will open up the two main parts of the integration:

 

Setting up the Google Analytics Integration

Part 1: Measure Traffic From Shared Links in Google Analytics

This part of the integration allows you to track all shared social media posts shared from your hub. Once you add UTM parameters as explained below, whenever you create a Share a Link challenge, the link your advocates share (on Facebook, LinkedIn, or Twitter) will have the UTM parameters attached to it ( this Google URL Builder Guide ):

UTM Source

Use UTM Source to identify a search engine, newsletter name, or other source.

UTM Campaign

Used for keyword analysis. Use UTM Campaign to identify a specific product promotion or strategic campaign.

Example : utm_campaign=spring_sale

UTM Medium

Use UTM Medium to identify a medium such as email, banner, etc.

Example : utm_term=running+shoes

UTM Content

Used for A/B testing and content-targeted ads. Use UTM C ontent to differentiate ads or links that point to the same URL.
Examples : utm_content=logolink <i>or</i> utm_content=textlink

UTM Term

Used for paid search. Use UTM Term to note the keywords for this ad.

With any of those parameters, you can have them automatically populate based on any of the following criteria from the hub (chosen in the dropdown for each UTM parameter):

Challenge - Internal Name (will populate the name of the challenge the content was shared from)

Challenge - ID (will populate the ID of the challenge the content was shared from)

Challenge - Type (will populate the Challenge Type the content was shared from)

Challenge - Stage Name (will populate the specific name of the stage in the challenge the content was shared from)

Challenge - Advocate ID (will populate the sharing advocate's ID)

Community Name (will populate your Advocate Program's name)

You can also create your own custom values that will be hard-coded to the parameters you add them to. Just select the " Use a Custom Value" and type in the value.

For example, we can set UTM Source to a custom value of AdvocateHub:

When you've chosen which parameters you want to use, and given them values, just click  Save below.

Full Example :

All we need to do is set the following parameter values, and everything else is done as usual:

1. We'll start by creating a challenge using a Share a Link stage. (The link we'll share in our challenge will be http://www.advocamp.com/ )

Please note that UTM tracking only works with the Social Share stage. It will not support Referral Social Share stage.

2. Next, an advocate completes the challenge and shares the content on any of their social media networks:

3. The post will link to Advocamp.com, but it will also now have all the UTM parameters attached to it:

http://www.advocamp.com/?utm_source= VIP%20AdvocateHub&utm_medium=Social%20Media&utm_content=Event%20Promotion


Part 2: Add a Google Analytics Tracking Code to Hub Pages

This part of the integration allows you to track all the traffic in your AdvocateHub itself. Once you get this set up in the hub, you'll be able to view all typical Google Analytics data about a website, like visitor information, behaviour, etc. Once you complete the 2 steps below, a Google tracking code will be added dynamically to every page of your hub.

1. To start, you'll probably want to create a new Account and new Property in Google Analytics, and once you've done that, copy its Tracking ID:

2. Back in the hub, click on the 'Add Google Analytics Tracking Code to Measure Traffic Within Your Hub" section of the integration and paste the Tracking ID you copied above, and  Save.

3. That's it! In Google Analytics, you'll now be able to go to view and report on activity inside of your AdvocateHub. (Keep in mind, it will typically take 24 hours for Google Analytics to start displaying data from a site once it has been set up with a tracking ID).

 

FAQ

How do I enable Google Analytics integration for my AdvocateHub?

To enable Google Analytics integration, access your platform settings, click on 'Enable Integration', and follow the steps to configure the two main parts: adding UTM parameters to shared links and adding a Google Analytics tracking code to your hub pages.

What are UTM parameters and how do they work with AdvocateHub?

UTM parameters are tags added to a URL that track the performance of campaigns and traffic sources. In AdvocateHub, they can be automatically populated for shared links in challenges, allowing you to monitor the traffic generated from social media posts.

Can I track all types of social shares with UTM parameters in AdvocateHub?

UTM tracking is compatible with the Social Share stage but not with the Referral Social Share stage in AdvocateHub.

How long does it take for Google Analytics to show data after setting up the tracking ID in AdvocateHub?

Data typically appears in Google Analytics within 24 hours after the tracking ID is set up and saved in your AdvocateHub.

Can I use custom values for UTM parameters in AdvocateHub?

Yes, you can set custom values for UTM parameters by selecting "Use a Custom Value" and typing in the desired value when configuring the parameters for your social media challenges.

Choose files or drag and drop files
Was this article helpful?
Yes
No
  1. Priyanka Bhotika

  2. Posted

Comments