Installation
Install the app and connect your GA4 account
On this page
Installing from the App Store
- Visit the Pasilobus Google Analytics app listing on the Shopify App Store
- Click Add app to begin the installation
- Follow the prompts to complete installation
Connecting with Google
The quickest way to connect is Connect with Google on the app's home page (first setup step) or on Settings › GA4 Credentials:
- Click Connect with Google. Google's sign-in page opens in the full browser window.
- Sign in with the Google account that manages your GA4 property and allow access to Google Analytics.
- Back in the app, choose your GA4 web data stream from the list. Streams are grouped by Google Analytics account and property, so pick the account, then the property, then its web stream.
- Tick the box to accept Google's user data collection terms for that property (Google requires this before an API secret can be created).
- Click Use this data stream.
The app fills in the Measurement ID and creates a Measurement Protocol API secret on that stream for you. It then gives up its access to your Google account: nothing else in Google Analytics is changed, and no Google login is kept.
If you prefer, or if your Google account cannot manage the property, enter the two values by hand as described below.
Getting Your GA4 Credentials by Hand
Before the app can send data to Google Analytics, you need two pieces of information from your GA4 account:
Finding Your Measurement ID
- Go to analytics.google.com
- Click the Admin gear icon in the bottom-left corner
- Open Data collection and modification › Data streams
- Select your web data stream
- Your Measurement ID (starts with G-) is shown at the top—copy it
![]()
![]()
![]()
Creating an API Secret
- In the same Data Stream details page, scroll down
- Click Measurement Protocol API secrets
- Click Create to generate a new secret
- Give it a name (e.g., "Shopify Pasilobus Google Analytics")
- Copy the Secret value
![]()
![]()
![]()
Entering Credentials in the App
- Open the Pasilobus Google Analytics app in your Shopify admin
- Enter your Measurement ID in the first field
- Enter your API Secret in the second field
- Click Save
Once saved, the API Secret is hidden and never shown again. To change it, paste a new secret into the field and save. Leaving the field empty keeps the secret you already saved.
The app refuses a value that cannot be an API secret (for example the secret's nickname, or text with spaces). Google accepts events sent with any secret without reporting an error, so use Send test event (below) to confirm the secret belongs to your data stream.
![]()
Verifying Tracking is Working
To check your credentials straight away, open Settings › GA4 Credentials and click Send test event. The app sends an event named pasilobus_connection_test in debug mode; open Admin › DebugView in Google Analytics and it should appear within a minute. If it does not, the API secret does not belong to that data stream.
To confirm everything is set up correctly:
- Visit your store and browse a few pages
- Add a product to cart
- Wait 24-48 hours for data to appear in GA4 reports
For real-time verification, use GA4's DebugView:
- In Google Analytics, go to Admin > DebugView
- Browse your store in a separate tab
- Watch for events appearing in real-time
If events aren't showing, check the Events Not Showing troubleshooting guide.
Enabling the App Embed
After saving your credentials, enable the app on your theme:
- Select your theme from the dropdown
- Click Open Theme Editor
- In the theme editor, find "Pasilobus Google Analytics" in the App Embeds section
- Toggle it On and click Save
Thanks, that helps us improve this guide.