Note
In most of cases, if you don’t know what an option is for, you can leave the default settings.
Configuration
General Configuration
Here are few steps to start with our extension:
Activate the extension.
Then, fill the Google Analytics 4 ID, it starts by « G- » and you can find it in your GA4 account.
Then, fill the API Secret, it starts by « G- ». To create or retrieve your secret, navigate to your GA4 account: Admin > Data Streams > choose your stream > Measurement Protocol > Create
If you have multiple stores, you can configure different IDs in the different store views scope. You can also set a global UA property if you enable the option « Add a global tracker » and fill the Google Analytics ID of your global account.
You can enable the queue. If will store the events in database and send them asynchronously.
Google Tag Manager
This is optionnal. If you don’t want to use GTM, just leave it disabled.
Else, you should enable Google Tag Manager (note that Analytics part should be enable too, and the GA4 ID & API Secret filled ! It will be used for server-side events).
Then you can - or not - add the GTM container tag. If you have already setted up GTM manually or via another extension, then you can let this option off. In the other case, you should enable it, and fill the GTM Container ID (You got that ID by creating a container in GTM).
To see how to configure Google Tag Manager, see gtm.
Google Analytics Options
Note
Change this options only if you are an expert. Default settings fit usually well.
Ecommerce
Google Measurement Protocol allows to send hits to GA4 on server side (no JavaScript).
If Use Google Measurement Protocol is set on No, the transaction will be sent on checkout success page via gtag.js
If the first parameter is set on Yes, the transaction will be sent on server side, triggered by an event such as invoice creation, order creation, order status change and other advanced events.
Use Store Currency
If set on « Yes », store currency is sent to GA4.
If set on « No », base currency is sent to GA4.
It is recommend to choose the base currency, else GA4 will convert itself when the hit is received, which could lead to amount’s differences.
Custom Dimension
Based on your needs, you can enable or not those properties, it will be sent with your events :
Events
Based on your needs, you can enable or not those events:
Extra Pageviews
Like events, you can choose depending on your needs.
It can help you in many ways. For example, you can use them to create conversions.
Google Adwords
ID provided by Google Adwords.
Google Remarketing
ID provided by Google Remarketing.
Tools
Here you can choose to activate or not the logs for Measurement Protocol. it is only for debugging. Do not use in production environnement or temporarly.