Using a data-driven approach has a significant impact on how successful your eCommerce business becomes. To collect and develop this data effectively, Google Analytics 4 (GA4) is one of the best page performance tools for eCommerce entrepreneurs.
In this blog, we will walk you through step-by-step how to set up GA4 and integrate it into GemPages.
How to Migrate from Universal Analytics to GA4 on Shopify?
GA4 is the upgraded version of Universal Analytics. From July 1, 2023, Universal Analytics properties will stop processing data and only GA4 properties will collect data.
For GemPages users planning A/B testing campaigns, GA4 integration is a prerequisite, and it’s exclusively supported in GemPages version 6. A/B testing is a crucial strategy for store owners aiming to make data-informed choices, enhance user experiences, and ultimately elevate their overall conversion rates.
Step 1: Setup Shopify Google Analytics 4
1.1. Verify Google Analytics Configuration
Make sure that your store isn’t already set up with Google Analytics or its older version, Universal Analytics.
1.1.1. Check Google Analytics Section
Go to Shopify Admin > Click on ‘Online Store’ > Choose ‘Preferences’. Check if you have any code in your Google Analytics section.
– If it’s blank, we can move forward to the next steps.
– If there is code present, this means that Google Analytics was installed previously. In this case, you have two options:
– If you already have a Universal Analytics tag, you can migrate it to a new Google Analytics 4 tag by following the migration guide we shared above.
– If you want to go with creating a GA4 property from scratch, remove the code, and continue following further steps in this guide.
1.1.2. Check the Order Status Page
The Order status page section is typically used by some merchants or developers to add the Google Tag Manager (GTM) code.
– If the Additional scripts box is empty, we’re good to go and can move forward with further steps.
– If you find a GTM container code here, we recommend removing it so that we can have a clean GA4 configuration.
1.1.3. Check Code in Your Theme Files
Go to Online Store > Choose ‘Themes’ > Go to More options by clicking on the three dots in your current theme section > Click on ‘Edit code’.
Click on the ‘theme.liquid’ file in the Layout folder > Check if you have a Google Tag Manager container code right below the <head> tag.
1.2.2. Create a Google Analytics AccountSign in/ Sign up for Google Analytics here > Click on the ‘Start measuring’ button > Fill in the required details:– Account creation– Property creation– Business details – Business objectives– Data collection
1.3. Set Up ‘Google & YouTube’ Sales Channel
1.3.1. Install ‘Google & YouTube’ Sales Channel
Go to Shopify Admin > Click on the Sale Channels > Type ‘Google’ in the search bar > Find the ‘Google & YouTube’ sales channel > Open it in the Shopify App Store.
Click on the Add app button to proceed with the installation.
Click on the Add sales channel button and complete the installation.
1.3.2. Connect Your Google Account
Connect the Google account with which you just created your Google Analytics account.
1.3.3. Set up Google Analytics for Shopify in App Setup
Click on the ‘Get started’ button in a highlighted box that says “Looking only to set up Google Analytics 4?”.
Find the Connect a Google Analytics property section > Click on ‘Connect’.
Now, you’ve successfully set up Google Analytics 4.
2.1. Go to GemPages Dashboard > Click on ‘Settings’ > Select ‘Store Settings’ > Fill the Storefront Password.
2.2. Toggle on the ‘Google Analytics’ switch > Choose the Google Account you want to connect to and allow the connection by agreeing to Google’s terms and conditions.
2.3. Choose the Accounts and Properties you’d like to track with A/B Testing.
Now you’ve successfully synced your Google Analytics data with the A/B testing campaign report!
By following the comprehensive guidelines provided above, you can seamlessly integrate Google Analytics 4 into GemPages version 6. Let’s make use of GA4 in A/B testing to achieve success in your online business!
About GemAcademy
GemAcademy is a premier knowledge hub for storefront optimization and achieving overall E-commerce success. In collaboration with industry experts and leveraging cutting-edge Shopify applications, GemAcademy offers a diverse array of content in various formats, including insightful blogs, intuitive tutorials, comprehensive webinars, and educational courses.
Understanding Page Performance Tool (Google Analytics 4)
Using a data-driven approach has a significant impact on how successful your eCommerce business becomes. To collect and develop this data effectively, Google Analytics 4 (GA4) is one of the best page performance tools for eCommerce entrepreneurs.
In this blog, we will walk you through step-by-step how to set up GA4 and integrate it into GemPages.
How to Migrate from Universal Analytics to GA4 on Shopify?
GA4 is the upgraded version of Universal Analytics. From July 1, 2023, Universal Analytics properties will stop processing data and only GA4 properties will collect data.
How to Integrate GA4 into GemPages Version 6?
For GemPages users planning A/B testing campaigns, GA4 integration is a prerequisite, and it’s exclusively supported in GemPages version 6. A/B testing is a crucial strategy for store owners aiming to make data-informed choices, enhance user experiences, and ultimately elevate their overall conversion rates.
Step 1: Setup Shopify Google Analytics 4
1.1. Verify Google Analytics Configuration
Make sure that your store isn’t already set up with Google Analytics or its older version, Universal Analytics.
1.1.1. Check Google Analytics Section
Go to Shopify Admin > Click on ‘Online Store’ > Choose ‘Preferences’. Check if you have any code in your Google Analytics section.
– If it’s blank, we can move forward to the next steps.
– If there is code present, this means that Google Analytics was installed previously. In this case, you have two options:
– If you already have a Universal Analytics tag, you can migrate it to a new Google Analytics 4 tag by following the migration guide we shared above.
– If you want to go with creating a GA4 property from scratch, remove the code, and continue following further steps in this guide.
1.1.2. Check the Order Status Page
The Order status page section is typically used by some merchants or developers to add the Google Tag Manager (GTM) code.
– If the Additional scripts box is empty, we’re good to go and can move forward with further steps.
– If you find a GTM container code here, we recommend removing it so that we can have a clean GA4 configuration.
1.1.3. Check Code in Your Theme Files
Go to Online Store > Choose ‘Themes’ > Go to More options by clicking on the three dots in your current theme section > Click on ‘Edit code’.
Click on the ‘theme.liquid’ file in the Layout folder > Check if you have a Google Tag Manager container code right below the <head> tag.
– If yes, remove it.
– If not, we can move forward to the next step.
1.2. Create A Google Analytics Account
1.2.1. Create a Google Account
Click here to create a Google account for your business.
1.3. Set Up ‘Google & YouTube’ Sales Channel
1.3.1. Install ‘Google & YouTube’ Sales Channel
Go to Shopify Admin > Click on the Sale Channels > Type ‘Google’ in the search bar > Find the ‘Google & YouTube’ sales channel > Open it in the Shopify App Store.
Click on the Add app button to proceed with the installation.
Click on the Add sales channel button and complete the installation.
1.3.2. Connect Your Google Account
Connect the Google account with which you just created your Google Analytics account.
1.3.3. Set up Google Analytics for Shopify in App Setup
Click on the ‘Get started’ button in a highlighted box that says “Looking only to set up Google Analytics 4?”.
Find the Connect a Google Analytics property section > Click on ‘Connect’.
Now, you’ve successfully set up Google Analytics 4.
Step 2: Connect your A/B testing campaign
2.1. Go to GemPages Dashboard > Click on ‘Settings’ > Select ‘Store Settings’ > Fill the Storefront Password.
2.2. Toggle on the ‘Google Analytics’ switch > Choose the Google Account you want to connect to and allow the connection by agreeing to Google’s terms and conditions.
2.3. Choose the Accounts and Properties you’d like to track with A/B Testing.
Now you’ve successfully synced your Google Analytics data with the A/B testing campaign report!
Conclusion
By following the comprehensive guidelines provided above, you can seamlessly integrate Google Analytics 4 into GemPages version 6. Let’s make use of GA4 in A/B testing to achieve success in your online business!
About GemAcademy
GemAcademy is a premier knowledge hub for storefront optimization and achieving overall E-commerce success. In collaboration with industry experts and leveraging cutting-edge Shopify applications, GemAcademy offers a diverse array of content in various formats, including insightful blogs, intuitive tutorials, comprehensive webinars, and educational courses.
Table of contents