On this GA4 tutorial, we’re going that can assist you put together for the swap. We’ll undergo the method of establishing Google Analytics 4 for brand spanking new and current web sites, in addition to easy methods to set up the monitoring tag in your WordPress, Wix, Webflow, and Squarespace initiatives.
Google Analytics is the long-reigning champ in terms of monitoring and analyzing customer exercise on web sites. It was lately given an improve to Google Analytics 4 and all customers will probably be required to make the swap by July 2023.
When you’re curious, you’ll be able to learn all about why Google is shifting to GA4 right here.:
Google Analytics setup will differ relying on when you have an current account in addition to the CMS you utilize:
Find out how to Set Up Google Analytics 4 for New Web sites
1. Create an Account and Register
If that is your first time making a GA4 account (not a property, however an account), go to the Google Analytics web site. Create an account together with your current Gmail deal with.
After signing in, you’ll be taken to the Google Analytics platform the place you’ll have the ability to arrange your new property.
2. Create Your Properties
Properties in GA4 seek advice from the web sites and apps you’re monitoring. If in case you have a number of digital merchandise for a similar model, create a separate property for every.
Give the property a reputation and replace the geo-related particulars. Then click on the Subsequent button.
3. Enter Enterprise Particulars
Subsequent, inform Google a bit extra about what you are promoting:
- Select your business.
- Decide what you are promoting dimension.
- Choose the alternative ways you propose to make use of GA4.
Click on the Create button once you’re completed.
4. Enter Web site or App Particulars
Google will then ask which platform to trace information from: Internet, Android app, or iOS app.
Within the subsequent display, enter your Web site URL and provides the information stream a singular identify. This may make it simpler to establish a number of properties out of your account.
Preserve the improved measurement settings as they’re. Then click on Create stream.
This may end the setup in Google Analytics of your new web site. Nonetheless, you now want to attach it to your digital product.
Find out how to Change to Google Analytics 4 from Common Analytics
If you have already got a Common Analytics account, GA4 setup will be completed in just a few clicks.
Log into your account and open your UA property. You must see a notification on the high of the web page that reads:
“On July 1, 2023, this property will cease processing information. Beginning in March 2023, for continued web site measurement, migrate your unique property settings to a Google Analytics 4 (GA4) property, or they will be copied so that you can an current GA4 property, reusing current website tags.”
Click on the Handle GA4 migration button to the best of it.
When you don’t see the notification, you’ll discover the migration space by going to Admin > Property > GA4 Setup Assistant.
Click on the Get Began button. Google will deal with the migration of your information stream from UA to GA4.
As soon as your UA web site has migrated to GA4, you’ll see a web page much like what the screenshot displays above.
The very last thing to do is substitute the Common Analytics tag in your web site together with your new GA4 tag. You’ll discover directions on how to do this within the subsequent part.
Find out how to Set up the Google Monitoring Tag on Your Web site
Along with your analytics account setup, you now want to put in the Google tag in your website so GA4 can begin monitoring exercise there.
When you migrated from UA to GA4, you have to to interchange your UA- tag together with your new G- tag.
The method differs relying on which web site builder or CMS you utilize. I’ve included some fundamental set up directions for the commonest CMS right here:
Join Google Analytics to WordPress
After you end establishing your new property in GA4, Google will attempt to detect which CMS you’re utilizing. Within the case of my new web site, it’s detected WordPress.
Google has given me two WordPress plugin choices to select from: MonsterInsights and Web site Equipment by Google.
Earlier than you select one among these plugins, I’d recommend checking your web page builder plugin and WordPress theme first. A few of them embody direct GA4 integrations within the settings panels or, on the very least, methods so as to add the code with out having to fret about plugin/theme updates erasing it. When you can spare your self the effort of putting in a brand new plugin, go that route.
Utilizing a WordPress Plugin
Set up your Google Analytics plugin in WordPress. After connecting your WordPress website to Google, you’ll be requested to pick out your Google Analytics property.
Right here’s how that appears in MonsterInsights:
Web site Equipment will take you thru an identical means of logging in together with your Gmail after which selecting the property to attach.
Full the connection course of to arrange your Google tag.
Utilizing Your Web site Builder or Theme
Some WordPress themes have an space of their settings the place they’ll ask you to enter your G- identification quantity or the total tag. BeTheme, as an illustration, has an website positioning space below theme choices the place you’ll be able to add the tag.
Web page builder plugins might also embody this function. Elementor Professional, as an illustration, has a Customized Code space the place you’ll be able to add your GA4 tag to the <head>.
Save your adjustments once you’re completed.
Join Google Analytics to Wix
If Google doesn’t mechanically detect Wix as your web site builder, click on the Select one other choice. This may open a panel the place you’ll be able to choose Wix.
Go to your Wix web site. Open up the Settings > Advertising Integrations panel from the highest toolbar. Then click on Join below Google Analytics.
As long as you’re on a Premium plan you’ll have the ability to add the Google Analytics ID to this display. That’s the G- quantity, not the total tag.
Save your adjustments once you’re completed.
Join Google Analytics to Webflow
Go to your Webflow web site. Open up the Undertaking Settings from the Webflow icon within the top-left nook. Click on on the Integrations tab and also you’ll discover Google Analytics there.
Enter your G- identification quantity into the sphere. Then save your adjustments.
Join Google Analytics to Squarespace
If Google doesn’t mechanically detect Squarespace as your web site builder, click on the Select one other choice. This may open a panel the place you’ll be able to choose Squarespace.
Go to your Squarespace web site. Navigate by Settings and Superior to get to Exterior API Keys. You’ll discover a discipline right here to enter your G- ID.
Save your adjustments and exit the panel.
Join Google Analytics to Different CMS
Even when your web site builder isn’t listed within the Google Analytics record of CMS integrations, it is best to have the ability to add the monitoring tag to the header of your website.
To seize that monitoring tag, swap the tab to Set up manually so you’ll be able to copy it.
Then go into your CMS’s code editor (or theme editor). Add the monitoring code slightly below the <head>
and save your adjustments.
Wrap-Up
Whenever you’re completed putting in the Google tag, give it as much as 48 hours to begin pulling in information.
To verify that your tag is working, go to the Admin space in Google Analytics. Go to Property and Information Streams.
You will notice an inventory of all of your properties below that account. If the tag is working, it’ll say:
“Receiving site visitors in previous 48 hours.”
If it nonetheless isn’t working, go to Property and Setup Assistant to evaluation the Information Assortment directions and alter the set up methodology if wanted.
As soon as every part is about up and able to go, you can begin engaged on reviewing your information, customizing your dashboard, and analyzing and optimizing the consumer journey. You’ll discover recommendations on how to do this within the subsequent GA4 tutorial.