Skip to content
Gama
Analytics

How to connect Google Analytics 4 to a Salla store - the complete e-commerce setup

Create a GA4 property, connect it to Salla, check the e-commerce events, and fix the settings most stores miss, like currency and gateway referrals.

Gama Team, Product and marketing team at GamaUpdated 8 min read
GA4 e-commerce event path from product view to purchase

Google Analytics 4 is where most marketing teams compare channels: how much came from Snapchat, from search, from paid ads. But GA4 doesn't work well for store analytics just by adding the tag. It needs correct e-commerce events and a few settings most stores forget, which quietly break the reports.

Step 1: Create the property with the right settings#

  1. In analytics.google.com, create a new property.
  2. Set time zone: Saudi Arabia (Riyadh) and currency: Saudi riyal. Changing them later doesn't fix old data.
  3. Create a web data stream for your store's URL.
  4. Copy the Measurement ID (starts with G-).

Step 2: Connect the store#

Three options on Salla:

  • Salla's free Google app: the easiest start, covers the basics.
  • Google Tag Manager: flexible if you have the skills, but you build and maintain the events yourself.
  • Google Analytics Pro: sends the full e-commerce funnel, recovers purchases from the server and sends refunds.

Step 3: Check the e-commerce events#

Google's recommended e-commerce events, which power product and purchase reports:

EventWhen it fires
view_item_listA product list or category is shown
view_itemA product page opens
add_to_cartItem added to cart
begin_checkoutCheckout starts
purchaseOrder completed, with order ID, value and items
refundA counted order is refunded or cancelled

Open Realtime and DebugView, browse your store as a customer, and check that each event arrives with items, value and currency.

Step 4: The settings people forget#

Payment gateway referrals#

When a shopper goes to a payment gateway or bank verification page and returns to the thank-you page, GA4 may start a new session sourced from the gateway. Purchases then get credited to a "referral" from the gateway instead of Snapchat or Google.

Fix: in the data stream's tag settings, open List unwanted referrals and add the domains of the gateways your store uses.

Data retention#

GA4 keeps detailed user and event data for two months by default. In Data settings, raise it to 14 months so you can compare seasons, like Ramadan to Ramadan.

Internal traffic#

Define your office or team IP as internal traffic and exclude it, so your test orders don't mix with customer numbers.

Step 5: Test with a real order#

Place a full test order and check the purchase event in DebugView: does it carry the order ID? Is the value in SAR? Did it arrive once? Then cancel the order and check that a refund arrives, if your setup supports it.

If the numbers still don't match#

Even with a clean setup, GA4 purchases will usually be lower than Salla orders. That's expected, with specific causes and fixes, covered in why GA4 doesn't match your Salla orders. To see where each order came from, add UTM links to every campaign.

Read next: Google Tag Manager, GA4 reports for online stores, GA4 refunds.

FAQ

Where do I find the GA4 Measurement ID?

Admin, then Data streams, then your web stream. The ID starts with G-.

Is Salla's free Google app enough?

For many stores starting out, yes. When you need recovery of lost purchases, refunds and control over purchase value, you need an advanced setup.

Why do payment gateways show up as traffic sources?

The shopper goes to the gateway or bank verification page and comes back, so GA4 starts a new session from the gateway. Add gateway domains to the unwanted referrals list.

Do I need a developer?

Not for most stores. Set up the property in GA4 and connect it with an app from the Salla App Store.

Salla order count compared with GA4 purchases

Why don't Google Analytics sales match your Salla orders? And how to recover them

Why GA4 purchases and revenue differ from your Salla dashboard - thank-you page, ad blockers, refunds, VAT - and how to close the gap.

7 min read

A product link with UTM parameters and how it shows in GA4

UTM links for a Salla store - see where every order comes from in Google Analytics

Build UTM links for Snapchat, TikTok, Meta, influencer and WhatsApp campaigns on a Salla store, with naming that lands in the right GA4 channels.

6 min read

Dashboard showing Salla store speed and conversion rate

Improving Salla store performance - speed, conversion rate and measurement in one guide

Improve a Salla store step by step - faster pages and images, a better product page and checkout, fewer heavy apps, and accurate conversion data.

8 min read