Using Google Analytics with your ProductCart-Powered Store
Setting Up Google Analytics Directly in ProductCart or using Google Tag Manager.
NOTE: After July 1, 2023, Google will move all tracking and support from Universal Analytics to Google Analytics 4 (or GA4). This means you WILL NOT be able to open a new Universal Analytics account nor will your existing Universal Analytics account track data after this date.
Setting Up ONLY Google Analytics 4 in ProductCart
STEP 1: Create GA4 Account & Property (If you don't have one)
Create a Google Analytics 4 (GA4) Account or skip to Step 2 if you have one already. If you don't have a GA4 account, sign up here. When finished, you should get a measurement ID that starts with a "G-" and is followed by letters and numbers.
STEP 2: Add Google Analytics to ProductCart
You’ll find the Google Analytics settings by clicking SETTINGS > STORE SETTINGS > STORE & DISPLAY SETTINGS > Miscellaneous Tab > Scroll Down to the Google Analytics Section. Make sure the "Google Analytics 4" radio button is selected and then add your GA4 measurement ID in the appropriate box as seen in the screenshot. You can then check (enable) or uncheck (disable) the events which you want ProductCart to report to Google Analytics. These events will show under Event Reporting and Ecommerce Reporting on Google Analytics. They may take 24-48 hours to show once enabled.
STEP 3: Save Settings
When done, click the "Save Settings" button at the bottom of this page.
Using Google Tag Manager and Google Analytics Together
STEP 1: Create Google Analytics Account & Property (If you don't have one)
Create a Google Analytics 4 (GA4) Account or skip to Step 2 if you have one already. If you don't have a GA4 account, sign up here. When finished, you should get a measurement ID that starts with a "G-" and is followed by letters and numbers. You will also need your Google Tag ID (if it differs from your measurement ID) which you can find in GA4 by clicking "ADMIN" > "DATA STREAMS" > Scroll down to you see "GOOGLE TAG" > Then click on "CONFIGURE TAG SETTINGS". If you have a Google Tag ID, it will look like "GT-XXXXXXX" where each "X" is either a letter or a number. Otherwise, your measurement ID is your Google Tag ID.
STEP 2: Create Google Tag Manager Account (If you don't have one)
Create a Google Tag Manager Account or skip to Step 3 if you have one already. If you don't have a Google Tag Manger account, sign up here. When you are finished, you'll see a container ID that begins with "GTM-XXXXXXXXX" where each "X" is either a letter or a number.
STEP 3: Create Google Tag for GA4 Tracking
Create your Google Tag for Google Analytics 4 tracking in your Google Tag Manager container. You'll need your Google Tag ID from Step 1. Click here for Google instructions on setting this up. Remember to Publish your container to save changes.
STEP 4: Setting Up Event Tracking Tags for Ecommerce Events
To take complete advantage of ProductCart sending ecommerce events automatically to your Google Analytics property, read this article on what events ProductCart sends, and, how to create the proper tag and trigger read this article Google Analytics 4 and GTM Upgrade with Install Instructions. If you don't follow this step, your Google Analytics tracking will be limited and not reflect the ecommerce events ProductCart is able to send automatically.
STEP 5: Add Google Tag Manager Container ID to ProductCart
Add your Google Tag Manager container ID to ProductCart's Store Settings.
- Log into your ProductCart Control Panel
- Select Settings > Store Settings > Store & Display Settings
- Click the Miscellaneous tab
- Scroll down to the Google Analytics section
- Select the "Google Tag Manager" radio button.
- Enter your Google Tag Manager ID (container ID) inside the text box for "Container ID." It should be in the format of GTM-XXXXXXX
- Click on the Save Settings button at the bottom of the page.
- After this, your GA4 Property will track through the GTM integration with ProductCart.