Why connecting Google Analytics to PrestaShop is essential
Every serious PrestaShop store needs a traffic measurement tool. Google Analytics 4 is today's global standard: it helps you understand where your visitors come from, which pages they visit, how long they stay, and which channels generate transactions. Without this data, you are flying blind.
PrestaShop is the most widely used open-source e-commerce solution in French-speaking Europe. Thousands of merchants — fashion, electronics, cosmetics, food — rely on PrestaShop to manage their catalog, orders, and customers. Connecting Google Analytics to PrestaShop is therefore a foundational step, whether you have 10 or 10,000 orders per month.
But Google Analytics measures visitor behavior, not your business financial health. It tells you how many people bought, not whether those purchases were profitable. This crucial distinction is what this article explores, showing you how to install GA4 correctly on PrestaShop and how Fullmetrix completes the picture with the missing business data.
Google Analytics 4 replaces Universal Analytics
Since July 2023, Universal Analytics (GA3) no longer collects data. If your PrestaShop store still uses the old UA- tag, you must migrate to GA4 immediately to avoid losing future data.
Why Google Analytics alone is not enough to manage a PrestaShop e-commerce
Google Analytics is a web analytics tool, not a financial management tool. Many PrestaShop merchants make marketing decisions based solely on GA data, which can lead to costly mistakes.
Take a concrete example: GA tells you that your Google Ads campaign generated 50 orders for a revenue of 5,000 euros. That looks good. But if the cost of goods sold represents 3,500 euros, shipping costs 400 euros, and your advertising budget 800 euros, you actually lost 300 euros on that campaign. GA will never tell you this.
Google Analytics works with implicit data: it measures events (clicks, page views, transactions) but does not know your purchase costs, product margins, return costs, or supplier pricing structure. Fullmetrix, on the other hand, connects directly to your PrestaShop database to extract explicit data and calculate your real P&L.
How to install Google Analytics 4 on PrestaShop
Installing GA4 on PrestaShop involves several steps. Since PrestaShop 1.7 and 8.x, the recommended method goes through the official Google module or Google Tag Manager. Here is the complete process.
Create a GA4 property in Google Analytics
Log in to analytics.google.com, click 'Create property', enter your PrestaShop store name, and select your timezone and currency. Under 'Data streams', add a web stream with your store URL. Note your measurement ID (format G-XXXXXXXXXX).
Install the Google Analytics module on PrestaShop
In your PrestaShop back office, go to Modules > Marketplace and search for 'Google Analytics'. Install the official 'Google Analytics' module from PrestaShop. Alternatively, use the 'Google Tag Manager' module if you manage multiple tags. Activate the module after installation.
Configure your GA4 measurement ID
Open the module configuration and paste your GA4 measurement ID (G-XXXXXXXXXX) in the provided field. Enable enhanced e-commerce tracking to capture purchase, add_to_cart, view_item, and begin_checkout events. Save the configuration.
Enable the e-commerce dataLayer
The PrestaShop module automatically injects a dataLayer with transaction data during checkout. Verify in the source code of your order confirmation page that the 'purchase' event contains the fields transaction_id, value, currency, items. Use the Chrome extension 'GA Debugger' to validate.
Check reports in GA4
Wait 24 to 48 hours then check Reports > Monetization > Purchases in GA4. Verify that the number of transactions matches your PrestaShop back office. A discrepancy greater than 5% indicates a configuration issue (ad blockers, poorly tagged confirmation pages, duplicates).
Beware of ad blockers
Ad blockers (uBlock Origin, AdBlock) prevent GA4 data from being sent. On average, 20 to 35% of e-commerce transactions are not captured by Google Analytics due to these tools. Never base your performance analysis solely on GA4 figures.
Essential metrics to track: GA4 vs Fullmetrix
Google Analytics 4 and Fullmetrix do not measure the same things. One analyzes visitor behavior, the other analyzes your store's financial performance. Both are complementary and ideally used together.
| Metric | Google Analytics 4 | Fullmetrix |
|---|---|---|
| Gross revenue | Yes (via e-commerce) | Yes (from PrestaShop) |
| Net margin per order | No | Yes |
| Cost of goods sold | No | Yes |
| Monthly P&L | No | Yes |
| Real ROAS (with margin) | No | Yes |
| POAS (Profit On Ad Spend) | No | Yes |
| RFM customer segmentation | No | Yes |
| Retention cohorts | Partial | Yes |
| Conversion rate by channel | Yes | Yes |
| Sessions and traffic | Yes | No |
| On-site behavior | Yes | No |
| Purchase funnel | Yes | No |
| Revenue forecasts | No | Yes |
| Multi-store PrestaShop | Partial | Yes |
| Supplier costs | No | Yes |
The limits of Google Analytics for e-commerce
Google Analytics was designed to measure web audiences, not to manage a commercial business. These structural limitations become critical once your PrestaShop store exceeds a few hundred orders per month.
No margin or cost data
Google Analytics records the revenue passed via the dataLayer, but does not know your supplier purchase price. If you sell a product for 100 euros purchased at 80 euros, GA records a transaction of 100 euros. It cannot calculate a 20-euro margin, let alone deduct shipping costs, returns, or marketing acquisition costs to get real profit.
No native RFM segmentation
RFM segmentation (Recency, Frequency, Monetary) is one of the most powerful e-commerce tools for identifying your best customers, customers at churn risk, and customers to reactivate. GA4 offers basic audiences but does not automatically calculate an RFM score based on each customer's complete purchase history in your PrestaShop database.
Misleading ROAS without margin consideration
The ROAS calculated by Google Ads and visible in GA4 compares generated revenue to advertising spend. A ROAS of 4 means 4 euros in revenue for every 1 euro spent on advertising. But if your gross margin is 30%, this ROAS of 4 becomes a POAS of 0.2, meaning you are losing money. GA never makes this calculation.
Incomplete data due to ad blockers and consent refusals
With GDPR and the proliferation of consent banners, a significant portion of visitors refuse tracking. GA4 cannot see these users. Transactions made by users without cookies are not recorded. Fullmetrix, which connects directly to the PrestaShop database, captures 100% of orders regardless of tracking consent.
Fullmetrix: the e-commerce analytics that completes Google Analytics
Fullmetrix is an e-commerce analytics SaaS designed specifically for PrestaShop, WooCommerce, and Shopify merchants. Unlike Google Analytics which analyzes web traffic, Fullmetrix connects directly to your e-commerce database to extract and analyze your real business data.
Fullmetrix connects your PrestaShop store in minutes via a secure database connection. It automatically synchronizes your orders, products, customers, and costs to build a complete P&L dashboard, automatic RFM segmentation, and real ROAS and POAS reports based on your actual margins.
- Automatic monthly P&L with net margin, supplier costs, and fixed expenses
- Automatic RFM segmentation to identify your best customers and those at risk
- Real ROAS and POAS calculated with your margins, not just revenue
- Retention cohorts to measure customer loyalty over time
- Revenue forecasts based on your historical PrestaShop trends
- Audience sync to Meta Ads, Google Ads, and TikTok Ads
- Multi-store view for merchants with multiple PrestaShop instances
Fullmetrix and GA4 are complementary
Use Google Analytics 4 to analyze visitor behavior: which pages work, where your traffic comes from, where users abandon their cart. Use Fullmetrix to manage your profitability: which products are profitable, which customers deserve attention, which campaign generates real profit. Together, both tools give you a complete view of your business.
Frequently asked questions about Google Analytics and PrestaShop
Is Google Analytics 4 free for PrestaShop?
Yes, Google Analytics 4 is completely free for all PrestaShop stores, with no traffic limit in the standard version. The free version is more than sufficient for the vast majority of PrestaShop merchants.
Which module should I use to install Google Analytics on PrestaShop?
For PrestaShop 1.7 and 8.x, you can use the official 'Google Analytics' module available on the PrestaShop Addons marketplace. It supports GA4 enhanced e-commerce tracking and automatically injects the dataLayer. Alternatively, Google Tag Manager offers more flexibility if you manage multiple marketing tags.
Why do transactions in GA4 not match those in PrestaShop?
Discrepancies between GA4 and PrestaShop are common and explained by several factors: ad blockers prevent GA4 events from being sent, GDPR consent refusals exclude some users, some customers disable JavaScript, and configuration issues can create duplicates or omissions. In practice, GA4 captures between 65% and 85% of real transactions. Fullmetrix, connected directly to PrestaShop, captures 100% of orders.
How to track margins in Google Analytics?
Google Analytics does not support margin tracking natively. The most robust solution is to use a dedicated tool like Fullmetrix, which automatically calculates your margins by connecting to your PrestaShop database.
Does GA4 work with PrestaShop multi-store?
Yes, GA4 can be configured to track multiple PrestaShop stores in multi-shop mode. You can use a single GA4 property with multiple data streams or separate properties. Fullmetrix natively handles PrestaShop multi-store and consolidates data from all your instances in a single dashboard.
Manage your PrestaShop store with real business data
Fullmetrix connects your PrestaShop store in minutes and gives you access to your P&L, real margins, RFM segmentation, and true ROAS. Complete Google Analytics with the financial data that is missing.
Try Fullmetrix for free
