Migrating to Google Analytics 4

Google is sunsetting Universal Analytics inJuly, 2023, and replacing it with谷歌分析4(GA4), which is Google's next-generation measurement solution. Universal Analytics will continue to collect data until it's sunset inJuly 2023, and data will remain accessible for at least 6 months afterwards.

With its flexible event-based data model, Google Analytics 4 enables you to view unified user journeys across your website and apps. It uses Google’s machine learning to bridge gaps in your data with modeled insights and predictive capabilities that you can use to get better results and grow your business. Because it doesn't rely exclusively on cookies, Google Analytics 4 is built to keep up with a changing ecosystem, so that you can learn about your customers even with gaps in your data.

Migrating to Google Analytics 4

你可以从通用分析标记to the new Google Analytics 4 tag. To migrate, you need to complete the following tasks:

You might also need to complete the following tasks, depending on your Universal Analytics set up:

Step 1: Create a GA4 property

To create a Google Analytics 4 property, you need to have theeditor rolefor the Google Analytics account. To migrate to GA4, you need tocreate a Google Analytics 4 property添加到你的Shopify圣ore. After you create your GA4 property,create a web data streamand copy theTag IDto use in step 2.

Step 2: Add GA4 tags to your Shopify store

If you don't have the Google & YouTube channel installed, then you're prompted to install it during the set up process for your GA4 tags. You don't have to connect to the Google Merchant Center to complete your GA4 tags setup proces.

Steps:

  1. From your Shopify admin, go to欧宝体育官网入口首页>Preferences.
  2. In the谷歌分析section, clickManage pixel here.
  3. ClickConnect your Google account.
  4. Select theTag IDfor the GA4 property that you want to connect to your Shopify store.
  5. ClickConnect your Google Analytics 4 property.

After you add GA4 tags to your store, depending on how you use Universal Analytics, take the following actions:

  • If you use Universal Analytics audiences, then you need tomigrate audiences to GA4.
  • If you use Universal Analytics to track Google Ad conversions on you Shopify store, then you need tomigrate conversion tracking to GA4.
  • If you don't use Universal Analytics audiences or track Google Ad conversions, then your migration is complete.

Migrate audiences to GA4

If you use Univeral Analytics audiences, then you need tomigrate audiences to your GA4 property. By migrating audiences from your Universal Analytics property to your Google Analytics 4 property, you can identify the same user groups based on your Google Analytics 4 data, and export those audiences to your linked Google Ads accounts to address the same use cases.

Migrate conversion tracking to GA4

If you use Universal Analytics to track Google Ad conversions on your Shopify store, then you need to migrate the conversion tracking to GA4. Google Analytics 4 uses events to track and measure conversions instead of the goals and the ecommerce report that Universal Analytics uses. To learn more about conversion tracking in GA4, refer toConversion analytics in GA4.

To migrate conversion tracking to GA4, do the following:

  1. Set up events and mark them as conversions in Google Analytics.
  2. Link your Google Ads account to your Google Analytics account.
  3. Import conversions into Google Ads.

Ready to start selling with Shopify?

Try it free