Google Analytics is a tool that will help you know more information about the visitors entering your site by measuring and tracking users behaviour.
Google Tag Manager is a tool that allows to update and deploy measurement codes known as "tags".
This tutorial is using Google Analytics version 4 (GA4 Configuration). The previous version was called "Google Universal Analytics" the steps are similar but take this into consideration when following the guide.
The First Step will be to sign-up to Google Analytics.
After setting up your profile, save the MEASUREMENT ID.
If you lost it, it can be found in admin > Property Column > Data Streams > click your site.
Second Step will be to sign-up to Google Tag Manager.
After setting up your profile, go to "add a new tag".
Click Tag Configuration > Google Analytics GA4 Configuration
Paste the MEASUREMENT ID from the Google Analytics and set the fields depending on your business objectives.
Click Triggering > All Pages
Third Step, Configure your subscribie site.
Go to Subscribie admin dashboard and search for the "Integrations (Online Chat, Analytics & inject custome code)" > "Connect to Google Tag Manager".
Paste The Google Tag Manager and click "Connect Google Tag Manager".
The Publishable Key can be found in Google Tag Manager page
After a refresh, it should show as active. Now, the Google Tag is injected into your site. (You don't neet to inject the Google Tag Manager Scripts since the Subscribie Module do this for you).
Now, go to Google Tag Manager and click "publish". Fill the fields and then publish it.
if you want to know if the code was successfully injected into your site click "preview". This will open a browser debugger for you.
Now the Google Tag Manager is live!!
To see the information from your visitors, go to Google Analytics home or realtime tab.
These tools are very powerful and will need time to master and specify every available options to optimise your site. These are some links that could help to understand more features.
If you have any more questions about how to create a subscription website please visit us at Subscribie, the Subscription website builder.