Open your SlideRule Analytics store's configuration. As you can see, we're going to need a Measurement Id and a Measurement Protocol API Secret from our Google Analytics 4 property to complete the configuration.
In a new tab, open analytics.google.com. Make sure you're logged into the correct Google account.
Click Admin in the lower left.
Select the Google Analytics account that contains your existing Universal Analytics property if you have one. If you don't have a Google Analytics account, create one and name it after your company like "SlideRule Analytics" is named after ours below.
If you don't have an existing GA4 property, click "Create Property". If you do, skip to the creating the Measurement Protocol API Secret section.
Name the property "Google Analytics 4" and select your Shopify store's timezone and currency. Make sure the currency matches your store's currency. Without this, Google Analytics will not convert currencies correctly and your revenue data will be wrong.
Select "Analyze my online sales" and click Create.
You've successfully created your Google Analytics 4 property.
Go to Data Streams and select Web.
Enter your store's url, name the stream "Websites", and click Create stream.
Copy your Measurement Id
And add it to your configuration.
Warning: Do not create multiple Web Data Streams in your Google Analytics 4 property. Use the same "Websites" Stream you just created for all sites related to your store, including landing pages, help pages, etc.
Return to your Google Analytics Data Stream and click "Measurement Protocol API secrets"
Review and accept terms
Click "Create"
Name the API secret "SlideRule Analytics" and click "Create"
Copy the API secret
And add it to your configuration.
You have now completed your SlideRule Analytics Shopify to Google Analytics 4 integration. The app will start sending data from Shopify to GA4 immediately.