Why set this up?
Benefit | What it means for you |
Accurate funnel data | See begin_checkout → purchase drop-offs inside GA4’s Funnel Exploration. |
Improved bidding | Feed purchase conversions straight into Google Ads to unlock Maximise Conversions & tROAS. |
Cookieless-ready | Server-side events mean less reliance on third-party cookies or ad-blockers. |
How to Configuring Google Analytics (GA4) on Shopflo Dashboard?
Navigate to https://dashboard.shopflo.com/overview
Step 1: Click "Settings"
Step 2: Click on integrations
Step 3:Click on the option of “Google Analytics”
Step 4: Click "Google Analytics (GA4) is" to enable and copy & paste your Measurement ID and API Secret Key from your GA4 Dashboard onto your Shopflo dashboard.
How to setup GA4 integration?
Shopflo supports sending checkout events to GA4 via backend API flow. Once setup on the, you can view these events in your GA funnel under Reports → Engagement → Events.ShopfloDashboard
Parameters required
Measurement ID
Admin → Data collection and modification → Data Streams → choose your stream → Copy the Measurement ID from here → Copy the measurement ID and paste in Shopflo dashboard.
API Secret
Admin → Data collection and modification → Data Streams → choose your stream → Measurement Protocol API secrets → Click Create button to create a new secret. Name it according to your liking and save it. Copy the secret and paste in Shopflo dashboard.
Please note: If the create button is disabled, make sure that you review the terms and accept it to create a new secret key.
Click on Inactive on all channels and select website/app to complete the set up
Standard event tracking
We’ve setup server-side tracking for GA4 purchase event. For every purchase that happens on Shopflo, we will trigger the purchase event and it will get mapped to the respective session correctly
In the same way, we’ll send event for begin checkout, shipping info and payment info selected by the user.
List of events sent to GA
Once the setup is done on the Shopflo dashboard, you need to enable the custom events. Since these are not standard events, they need to be added to your GA dashboard.
Following are the list of custom events that need to be configured on GA4 so that the same events are then sent to Shopflo.
Event Name | Mapping on checkout | Event Type |
begin_checkout | Checkout button clicked and it initiates Shopflo checkout | standard |
login_completed | Login is completed by the user. There are three cases:• Guest login – no OTP screen• Repeat login – saved addresses are shown after OTP verification• Network Login – user had logged into Shopflo earlier on some other website, so they skip the phone-number step | custom |
add_shipping_info | Address submitted by the user on checkout | standard |
add_payment_info | User has chosen a payment method and the PG screen loads | standard |
purchase | Order has been placedNote: All Shopflo purchase events will be sent via this | standard |
Adding Custom Events
Go to Admin → Data Streams → choose your stream → Click on ‘Create custom events’
Add all the custom events mentioned in the table above.
You can set any name under Custom event name to identify/differentiate them from your existing events
Once done, GA will capture these custom events on the dashboard.
How to verify my setup?
You will see these events to start reflecting under Reports → Real time tab
Need more help?
Chat with us on your merchant WhatsApp support group.
Email support@shopflo.com.