William is a blog powered by Story Chief. It is automatically activated once you are registered. You can brand it with your own logo, upload a hero image, add calls to action, add a Mailchimp newsletter form, add categories, and more. Requiring no technical setup, there has never been a better time to start your very own blog.
If you are still using google analytics 3 ( AKA universal analytics ), you will be able to add it to your William blog directly in the channel configuration form.
But Google has announced that GA3 will stop processing data on 1 July 2023.
This means it's time for you to migrate your analytics to GA4.
In this article, we will go through the needed steps to add Google Analytics 4 (GA4) to your William blog using Google Tag Manager (GTM).
Set up GA4
Step 1. If you still do not have a google analytics account, please create a new one.
Step 2. Fill in the information required by Google, then click "Next".
Step 3. Fill in the extra information as required by Google.
Step 4. Start configuring your new GA4 property by adding a new data stream:
We want to track web pages on the William blog, so we select "Web" as in the screenshot below.
Step 5. Copy your William blog URL from the channel settings in your story chief account, then past it in the website URL field as in the screenshot below, then click on "Create stream".
Step 6. Your stream is ready, copy the "Measurement Id" as we will need to use it in the next steps.
Step 7. Go to Google Tag Manager. Click "Create Account".
Step 8. Fill in your information and select "Web" in the target platform section.
Step 9. Click on the "Tags" tab in the left menu, then click "New" on the right side of the page as in the screenshot.
Step 10. Add the google analytics: GA4 configuration tag.
Step 11. Fill in the "Measurement Id" you copied from GA4 in step 6.
Step 12. Click on the triggering section to add a trigger.
Step 13. Select the "All Pages" trigger
Step 14. Click on "Save".
Step 15. Copy your Google Tag Manager container id then click "Publish".
Step 16. Go back to your StoryChief account, to the channels and then to the Willam blog. Or skip the steps and follow this link directly to the SEO & analytics tab.
Navigate to the "SEO & analytics" tab and scroll down to the Google Tag Manager ID in the Analytics section, then click "Save".
🎊 Congratulations, you have now added your GA4 to your William blog.
You can verify that by visiting a page on our blog, and then navigating to Google Analytics to see the real-time report showing that there is a user viewing the page
You can do a lot more with Google Tag Manager, please take a look at the Google Tag Manager Fundamentals to learn more about it.