Skip to main content

Analytics

Connects your storefront to Google Analytics so you can see where visitors come from and what they do.

SectionSettings → Apps
Panel route/admin/analytics-settings
Access neededPlatform → Settings → View list

The settings​

FieldAcceptsNotes
GA4 measurement IDStarts with G-Leave empty to disable Google Analytics
Google Tag Manager container IDStarts with GTM-Only if you run your own container
Ask visitors for consentOn or offOn means no analytics cookie until the visitor accepts
Consent cookie domainA domain such as .example.comShares the consent choice with your subdomains
ActionDoes
SaveApplies the settings
ResetDiscards unsaved changes

Where to find your measurement ID​

In Google Analytics: Admin → Data streams → your web stream. It starts with G-.

Tag Manager​

Only fill this in if you already run your own Google Tag Manager container.

Do not configure GA4 twice

If you add a GA4 configuration tag for the same measurement ID inside your Tag Manager container, every hit is counted twice. Use one route or the other.

SettingBehaviour
OnNo analytics cookie is written until the visitor accepts
OffAnalytics runs immediately
Leave consent on unless you have legal advice saying otherwise

The screen says exactly this. Cookie consent rules vary by market and the safe default is to ask.

Consent cookie domain shares a visitor's choice across your subdomains — set .example.com if you also run something at blog.example.com. Leave it empty to keep the choice to this domain only.

What customers see​

With consent on, a consent banner on their first visit, offering Accept all, Reject all and Customize, where they can switch Analytics and Advertising on or off separately (Necessary is always on). A Cookie settings link in your footer lets them change their choice later. Their choice is remembered across the domain you configured.

With consent off, there is no banner and no Cookie settings link.

Scenarios​

Basic setup​

Enter the GA4 measurement ID, leave Tag Manager empty, leave consent on, leave the cookie domain empty.

You run a blog on a subdomain​

Set the consent cookie domain to .example.com so visitors are asked once rather than on each subdomain.

Your numbers look doubled​

You have a GA4 configuration tag for the same measurement ID inside your Tag Manager container as well as here. Remove one.

Stop collecting analytics​

Clear the measurement ID, and the container ID if you set one, then save.

Questions​

Do I need Tag Manager? No. It is only for sellers who already run their own container.

Will analytics work if consent is on? Yes, for visitors who accept. Those who decline are not tracked.

Can I connect something other than Google Analytics? Not from this screen.

Why is my ID rejected? A measurement ID looks like G-XXXXXXXXXX, a container ID like GTM-XXXXXXX, and a cookie domain like .example.com. The cookie domain must also be your storefront's own domain or a parent of it: .example.com is accepted for a store at shop.example.com, a domain you do not run is not.