Add Google Analytics 4 and Google Tag Manager to your Substack Newsletter
Step by Step
Add Google Analytics to Substack
Google Analytics 4 is the latest version of Google Analytics, which was introduced in October 2020. It's a new and improved version of the previous Universal Analytics that is designed to provide more advanced insights into user behavior across multiple devices and platforms.
The steps to install Google Analytics 4 are slightly different from the previous version, and the tracking code is also different. Here are the steps to install Google Analytics 4:
Sign up for a Google Analytics 4 account: Go to the Google Analytics website and sign up for an account if you haven't already. You will need a Google account to sign up.
Create a new property: Once you're signed in, click on the "Admin" button at the bottom of the left-hand menu. Then, click on the "Create Property" button and follow the prompts to set up your new property.
Set up data streams: Google Analytics 4 uses data streams to collect data from various sources, such as your website, mobile app, or any other digital platform. Follow the prompts to set up a data stream for your website.
Get your measurement ID: After you've set up your data stream, you'll be given a measurement ID. Copy this ID.
Add the tracking code to your website: In Substack go to Dashboard > Settings > Advertising analytics .
If you are implementing in another website (other than Substack) this can usually be done by adding the code to the header or footer of your website. If you're using a content management system (CMS) like WordPress or Wix, there may be a plugin or integration that makes this process easier.
Verify the tracking code: After you've added the tracking code to your website, verify that it's working correctly. You can do this by going back to Google Analytics and checking for real-time data.
That's it! With these steps, you should be able to easily install Google Analytics 4 and start tracking user behavior across multiple devices and platforms.
Now add Google Tag Manager (GTM)
Installing Google Tag Manager (GTM) on your website can be a straightforward process.
(https://support.google.com/tagmanager/answer/6103696?hl=en)
Here are the general steps:
Sign up for a Google Tag Manager account: Go to the Google Tag Manager website (https://tagmanager.google.com) and sign up for a free account.
Create a container: Once you've signed up, you can create a container by clicking on "Create Account" and filling out the necessary details such as your website URL, container name, and your target platform.
Copy the GTM code: After creating the container, you will be provided with a GTM code snippet. Copy this code and paste it into the head section of your website.
Add tracking tags: Once you've installed the GTM code, you can then add tracking tags to your website by creating new tags, such as Google Analytics, Facebook Pixel, or AdWords Conversion tracking.
Publish your container: Once you've added your tracking tags, you can publish your container by clicking on the "Submit" button.
That's it! Your website should now be using Google Tag Manager to track your marketing and analytics data. Remember to always test your tracking tags to ensure they are firing correctly.
To get more people to read your posts, implement a few of these things as you write your newsletter.
What is the benefit of this and if there is no way to do SEO?
There is a lack of information here on how the UA was with the change to GA4