Deplatformable Newsletter

Share this post

Add Google Analytics 4 and Google Tag Manager to your Substack Newsletter

pau1.substack.com
Getting Deeper into Marketing

Add Google Analytics 4 and Google Tag Manager to your Substack Newsletter

Step by Step

πŸ…ŸπŸ…πŸ…€πŸ…› πŸ…œπŸ…πŸ…’πŸ…šπŸ…ž
Feb 17
3
2
Share this post

Add Google Analytics 4 and Google Tag Manager to your Substack Newsletter

pau1.substack.com

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:

  1. 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.

  2. 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.

  3. 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.

  4. Get your measurement ID: After you've set up your data stream, you'll be given a measurement ID. Copy this ID.

  5. 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.

  6. 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:

  1. 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.

  2. 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.

  3. 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.

  4. 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.

  5. 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.

Deplatformable Newsletter
StackHacks - 6 Steps for More SubStack Subscribers with SEO for 2023
My Substack Google Search Console Overview page…
Read more
a year ago Β· 20 likes Β· 13 comments Β· πŸ…ŸπŸ…πŸ…€πŸ…› πŸ…œπŸ…πŸ…’πŸ…šπŸ…ž
2
Share this post

Add Google Analytics 4 and Google Tag Manager to your Substack Newsletter

pau1.substack.com
Previous
Next
2 Comments
author
πŸ…ŸπŸ…πŸ…€πŸ…› πŸ…œπŸ…πŸ…’πŸ…šπŸ…ž
Mar 11Author

That number is your analytics number. What does a Google Analytics ID look like?

Image result for google. analytics number

The measurement ID format is G-XXXXXXX, and it identifies which data stream is sending data to your GA4 property. If you have set up a GA4 property with a web data stream, your Google Analytics measurement ID begins with the characters' G-'

(good article: https://www.analyticsmania.com/post/google-tag-manager-vs-google-analytics/)

What is GTM ID?

The part of the GTM container tag code which reads 'GTM-TXAAA', is called the container ID. This ID is used to uniquely identify each GTM container tag. You can see the GTM container ID on the home page of Google Tag Manager: https://tagmanager.google.com/#/home.

I've had analytics and tag manager for years, and these programs change all the time. If you have a specific question, a google search usually answers those questions. Good luck to you!

Expand full comment
Reply
Harry Harrison
Writes FinTech Fusion πŸ’Έ
Mar 11

Your measurement ID in he tutorial above and the placeholder measurement ID on Substack both start with GTM-XXX, but mine just starts G-XXX. Any idea why?

Expand full comment
Reply
TopNewCommunity

No posts

Ready for more?

Β© 2023 Paul Macko
Privacy βˆ™ Terms βˆ™ Collection notice
Start WritingGet the app
SubstackΒ is the home for great writing