All Collections
Statistics
How can I connect Poool to Google Analytics?
How can I connect Poool to Google Analytics?

Learn how to track your walls' performance directly in your own Google Analytics account

Flore Bayle avatar
Written by Flore Bayle
Updated over a week ago

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?
โ€‹


โ€‹

Did this answer your question?