In this step-by-step guide you’ll see how to configure Google Analytics 4 within My Agile Pixel®.
Step 1: choose the GA4 property
Go to your Google Analytics profile and select the property linked to the website where you’re doing the installation. You should see a screen similar to this:

Step 2: copy the measurement ID
Click on Data Streams, then on the name of the stream displayed. Copy the measurement ID, which you’ll find in the top right of the screen.

Step 3: paste the ID into My Agile Pixel®
In the WordPress panel go to My Agile Pixel®, then to Google Analytics, and paste the measurement ID into the appropriate box.

Step 4 (optional): set the proxying level
If you want, configure the proxying level. You can find the dedicated guide here.
Step 5: remove the client-side code
Remove the JavaScript code if you had installed it in your theme, and disable any other software that may add it. If you want to make sure the code has been completely removed, follow the dedicated guide. In any case, My Agile Pixel® works to keep the site compliant: whether you use My Agile Privacy® or not, it is able to block any client-side and non-compliant versions of the installation code that may be present.
Step 6 (optional): turn on enhanced conversions
Enhanced conversions send GA4 the data your customers have already given you, so Google can match conversions to the right person. The data is email, phone, first name, last name and address. It is sent only after consent and hashed by Google’s script in the visitor’s browser. This is a premium feature of My Agile Pixel®.
Setup happens in two places, Google Analytics and My Agile Pixel®:
- In Google Analytics turn on two settings, both in the property Admin.
a) Data collection and modification → Data collection → “User ID and user-provided data collection”: turn on “User-provided data collection” and acknowledge Google’s feature policy.

b) Data collection and modification → Data streams → your website stream → under “Google tag”, Configure tag settings → turn on “Allow user-provided data capabilities” and keep only the code method selected (“Add a code snippet to your website”): it is the one My Agile Pixel® uses.

We recommend leaving off the automatic detection of user-provided data, wherever Google offers it: My Agile Pixel® sends the data directly from the code and only after consent, while with automatic detection it is Google’s script that looks for it on its own in your pages.
- In My Agile Pixel®: in the Google Analytics tab, turn on Enhanced Conversions.
What data is sent, and from where
- From WooCommerce purchases: the order’s billing data.
- From forms tracked by My Agile Pixel® (Contact Form 7, WPForms, Fluent Forms, Elementor): the email and phone entered in the form.
- From logged-in WooCommerce customers: the data stored in their account, on every tracked event. Never for administrators or site staff.
Email, phone, first name, last name and street are hashed (SHA-256) by Google’s script before leaving the browser. City, postal code and country are sent as plain text, as Google specifies for this feature.
For it to work
- The cookie banner must pass Google consent to use data for advertising (Consent Mode
ad_user_data): without it, Google does not receive the customer data. - Google Ads benefits when you import your GA4 conversions into Google Ads: in that case enhanced conversions are shared with the Google Ads account automatically.
Frequently asked questions
Recover the conversions you are losing
Turn on server-side tracking on your WordPress: recover the events the browser blocks, after consent.
Buy now →


