Google Analytics 4 in ShopSite

On July 1, 2023, Google’s standard Universal Analytics properties will stop processing new data. Merchants will need to switch to Google Analytics 4. This article will tell you how to do this in ShopSite 14 sp3.

Google Analytics has gone through a number of iterations.  If you are currently set up for analytics you are probably using Univeral Analytics and your ShopSite configuration screen would look similar to this.

ShopSite 14 sp3 anlytics config

When ShopSite 14 was released the terminology used was consistent with what Google was using.  However, now, Global Site Tag is Analytics 4 and Google Analytics Tracking Code is Measurement ID, and instead of starting with UA it begins with a G-.

So, to configure ShopSite for Analytics 4 you would set up similar to this

ShopSite v14 sp3 and Analytics 4

Unfortunately ShopSite versions prior to 14 sp3 will not accept the Measurement ID that begins with a G- so this will only work with 14 sp3.

Obtaining the Measurement ID from Google

Google has provided this resource for setting up Analytics 4.  Our summary of the steps is:

  1. login to your Google Analytics account and follow the prompts for the GA4 Setup Assistant.
  2. click the Get Started button (under ‘I want to create a new Google Analytics 4 property   We’ll create a new Google Analytics 4 property based on this Universal Analytics property.’)
  3. check ‘Enable data collection using existing analytics.js and gtag.js tags.’ on the next screen and then complete.

This creates the new Google Analytics 4 property/account.  There are additional settings that you can configure but these are the basic steps you need to do.

To get the new Measurement ID,

  1. Under the Property select Data Streams
  2. Click the > next to the property for the Web
  3. Copy the MEASUREMENT ID (click the copy icon)

In ShopSite

  1. paste the Measurement ID (starts with G-) into the ‘Google Analytics Tracking Code’ field in ShopSite
  2. make sure Google Analytics Tracking Type is set to ‘Global Site Tag (gtag.js) (recommended)’
  3. Save
  4. Click the Publish tab to have the new ID put in the tracking code on the store pages and start using the new GA4!



Top 3 eCommerce Posts for May

7 Unusual Ways to Bring Traffic to Your Website for Free – Growth Hackers
The good news is that there are some unusual ways you can bring more traffic to your website for free that your competitors don’t know about.

What Stops Us From Achieving Our Goals – Harvard Business Review
year after year, the goals we set for ourselves end up feeling like chores. Why?

A Guide To Building A Successful Business – Bootstrap Business
The key is to be prepared, plan carefully, and stay open-minded. Be willing to listen to feedback and criticism and try new things as the industry evolves.

Top 3 eCommerce Posts for April

The Secret to Apple’s ‘Insanely Great’ Customer Service – Inc.
According to the article, the existing stores lack Apple’s secret sauce: enriching people’s lives by focusing on what Steve Jobs called “insanely great” experiences.

5 Safety Measures For Business Fraud Prevention – Bootstrap Business
Companies can significantly reduce the risk of fraudulent activity by creating policies, regularly auditing and reviewing processes, fortifying internal controls, monitoring employee activities, and implementing fraud detection software.

The Best Advice I’ve Ever Received — 5 Keys to Entrepreneurial Success – Entrepreneur
The importance of expert entrepreneurial guidance can’t be overstated. They have been in your shoes and can provide insightful opinions that can help you avoid frequent pitfalls and succeed.

ShopSite Online Shopping Cart Software BlogShopSite Online Shopping Cart Software On YouTubeShopSite Online Shopping Cart Software On TwitterShopSite Online Shopping Cart Software On FacebookQuestions?888-373-4347E-commerce Blog