Uploading Poool’s data on Google Analytics will give you great insights, and allow you to cross-track your paywall strategy with your global KPIs.
Many data such as 'paywall seen', 'subscriptions', 'clicks', 'registrations', etc., can be analyzed and put into perspective...very interesting indeed 🧐!
In this article, we describe step by step the process to follow to make this connection. Let's go👩🏻💻!
First things first
Before starting the connection, you need to assign a listener to the javascript events you wish to track, so you can find them on your Google Analytics account properly.
👉 Here is the list of the events proposed by Poool.
Integration with Google Tag Manager
In most cases now, the integration to get data on Google Analytics needs to go through Google Tag Manager.
It is done in 4 steps:
1️⃣ Add the following code into your Poool's configuration:
📌 poool script - previous version (poool Legacy)
poool('config', 'gtm_auto_tracking_enabled', true);
📌 poool script - new version
access.config('gtm_auto_tracking_enabled', true);
+
access.config('auto_tracking_spec_v2', true);
These two lines enable automatic GTM tracking for particular events. Each event information will be pushed to the Data Layer with the same structure as a Google Analytics event.
2️⃣ In GTM workplace, create your Data Layer's variables.
Click on Variables > User-Defined Variables > New
Choose Variable Type = Data Layer Variable
Create the 3 variables below:
eventCategory
eventAction
eventLabel
3️⃣ Define a new Universal Analytics tag:
Click on Tag > New > Tag configuration edit
Choose Tag type 'Google Analytics: Universal Analytics'
In Tag configuration, choose Track Type = 'event'
In 'Event Tracking Parameters', complete the fields with the variables defined in step 2:
Category with 'eventCategory'
Action with 'eventAction'
Label with 'eventLabel'
In 'Google Analytics Settings' field, choose {{Google Analytics settings}}
4️⃣ Create a personalized trigger:
Still in your 'Google Analytics: Universal Analytics' section, now in the 'Triggering' block
Choose your Trigger type as a 'Custom Event', and name it 'poool'.
It should be now associated with your Universal Analytics tag.
Have a look to our short video which describes the different actions.
And now...Where do my events show up in GA? 📊
You can check your events in your Google Analytics account.
Click on Behavior > Events > Overview
Direct integration with Google Analytics
In some instances, the integration can be done directly with Google Analytics. To do so, you just need to add the following code to your Poool's configuration:
📌 poool script - previous version (poool Legacy)
poool('config', 'ga_auto_tracking_enabled', true);
📌 poool script - new version - GA connection (except GA4)
access.config('ga_auto_tracking_enabled', true);
+
access.config('auto_tracking_spec_v2', true);
These two lines enable automatic GA tracking for particular events. Each event information will be pushed to the Data Layer with the same structure as a Google Analytics event.
📌 poool script - new version - GA4 connection
access.config('gtag_auto_tracking_enabled', true);
+
access.config('auto_tracking_spec_v2', true);
To know more about the detail of the data you can get thanks to the native connectors, check our dedicated article 👉 How can I analyze data in my Google Analytics account?