How To Setup Data To GA4

It is easy to setup Data to GA4 in your Shift4Shop store. You will need a Tag Manager account and a Google Analytics account (GA4). If you need help getting started with either, check out how with our tutorials for GA4 setup and Tag Manager setup.

OVERVIEW
Step 1: Sign up for Data to GA4
Onboard Data to GA4 app login screenshot
Step 2: Verify or change Shift4Shop settings
  • Go to your Shift4Shop store’s admin dashboard.
  • Select SEO Tools in the Marketing section of the dashboard menu.
  • Select Google Tools tab.
  • Check to make sure ONLY Google Tag Manager is enabled and the script is inserted. Note: Using other fields such as tracking ID will result in duplicate data.
Onboard Data to GA4 verify Shift4Shop settings screenshot
Step 3: Add domain
  • Click Add A Domain.
Onboard Data to GA4 add domain screenshot
  • Enter the domain of your store and select Add Domain. Note: Enter domain without https:// and in all lowercase.
Onboard Data to GA4 add domain modal screenshot
Step 4: Connect Data to GA4 to Shift4Shop
  • Click Connect Domain. Note: If you are logged into a Shift4Shop store’s admin, that is different from the domain you are connecting, you will first need to sign out.
Onboard Data to GA4 connect domain screenshot
  • Log into your Shift4Shop store (if prompted).
  • Check the warning checkbox and then click the Authorize button. Note: This could take a minute. Popup will automatically close when complete.
Onboard Data to GA4 connect domain modal screenshot
Step 5: Add property ID from Google Analytics
  • Log into your Google Analytics account.
  • In the Admin panel, choose the account and property for your domain.
  • Select Property Settings.
Onboard Data to GA4 get property ID screenshot
  • Copy property ID. Note: This is not the same as Measurement ID.
Onboard Data to GA4 copy property ID screenshot
  • In your Data to GA4 app settings, for the domain’s GA4 Property, click on Edit.
Onboard Data to GA4 enter property ID screenshot
  • Paste the property ID in the box and click Save.
Onboard Data to GA4 save property ID screenshot
Step 6: Verify data stream settings in Analytics
  • In Google Analytics Admin panel, choose the account and property for your domain.
  • Select Data Streams.
  • Select the data stream for details.
Onboard Data to GA4 verify data stream screenshot
  • Under Events select Measurement Protocol API secrets.
  • Does Review terms exist?
    • NO – Great, continue to Step 7.
    • YES – Click Review term and follow steps to accept terms. Need help?
Onboard Data to GA4 verify correct screenshot
Onboard Data to GA4 verify incorrect screenshot
Step 7: Create your tags
  • In Data to GA4 app settings click Create Tags.
Onboard Data to GA4 create tags screenshot
  • Do you already have a GA4 Configuration tag in your Tag Manager container?
Step 7a: New GA4 Configuration tag
  • Log into Google Tag Manager.
  • Select the container for your domain.
  • Copy the workspace URL.
Onboard Data to GA4 new tags url screenshot
  • Back in Data to GA4 app settings, in the Create Your Tags modal, select the first radio button for “I’m new”.
  • Paste the copied URL and click Save.
Onboard Data to GA4 create tags modal screenshot
Step 7b: Existing GA4 Configuration tag
  • Log into Google Tag Manager.
  • Select the container for your domain.
  • Select Tags on the sidebar.
Onboard Data to GA4 modify tags screenshot
  • Find the GA4 Configuration tag.
  • Hover over the link and right-click to copy link address. Note: Clicking link and copying URL in the address bar does NOT work.
Onboard Data to GA4 tags copy link screenshot
  • Back in Data to GA4 app settings, in the Create Your Tags modal, select the second radio button for “I already have”.
  • Paste the copied link and click Save.
Onboard Data to GA4 modify tags modal screenshot
Step 7c: Authorize to create tags
  • Verify the URL is correct.
  • Click Go to Authorization.
Onboard Data to GA4 authorize tags screenshot
  • Choose the Google account with Tag Manager to allow permissions.
  • Click Continue.
Onboard Data to GA4 warning continue screenshot
  • Select all checkboxes permissions.
  • Click Continue. Note: This may take a few minutes. Popup window should close automatically when complete.
Onboard Data to GA4 allow permissions screenshot
Step 8: Update workspace in Tag Manager
  • Go to your Tag Manager account and select the appropriate container.
  • Click Update Workspace. Note: You may need to refresh window if already open.
Onboard Data to GA4 update workspace screenshot
  • Click Update button.
Onboard Data to GA4 accept tags screenshot
  • You can view your new tags in Tags on the sidebar.
Onboard Data to GA4 tags created screenshot
Step 9: Add additional domains
  • If your plan allows multiple domains, repeat steps 2-8 for each domain.
Step 10: Collect data
  • You are all set to start collecting data!
Onboard Data to GA4 complete setup screenshot
  • You can test to make sure your data is collecting. Go to Realtime under reports in Google Analytics and visit your site. Events will show up in the Realtime report as you navigate your site .
  • Toggle debug on to view events in your Analytics DebugView section. Note: While data will continue to collect in this mode, it is recommended to leave off during normal use.