Google Ads Enhanced Conversions for Magento 2
- Compatibility
- 2.4.9, 2.4.8, 2.4.7, 2.4.6, 2.4.5, 2.4.4
Description / Google Ads Enhanced Conversions for Magento 2
MAGENTO 2 · GOOGLE ADS · PURCHASE DATA
Prepare purchase data for conversion measurement.
Kowal ExtendedConversions
Use order information on the success page: transaction, value, currency, products, and customer data. Connect the prepared dataLayer with your Google Ads measurement configuration.
purchase event · Order items · SHA-256 hash
HOW IT WORKS IN PRACTICE
01 · The customer completes the purchase
Magento saves the order and displays the success page.
02 · The module prepares the data
It builds a purchase event with the transaction, products, and customer.
03 · The integration reads the event
Configured tags use the data for conversion measurement.
What does your store gain?
Explore the module features, use cases, and settings.
Get to know the module
The Kowal ExtendedConversions module helps Magento 2 store owners prepare data for tracking conversions in Google Ads. It prepares transaction, customer, and product information in the dataLayer on the success page. Data transmission requires configured tags; proper measurement can support campaign reporting and optimization.
Key module features
- Automatic generation of
dataLayer.pushcode on the success page in Magento 2. - Tracking order details:
- Transaction ID
- Total order value
- Currency
- Product details (SKU, name, quantity, price)
- Hashing customer data (email, phone number) with the SHA-256 algorithm for integration with Google Ads. The mention of GDPR in the previous description referred to the purpose of supporting privacy; compliance of the entire process also depends on consent configuration and the method of data processing.
- Easy configuration in the Magento admin panel:
- Enabling/disabling the module
- Defining the success page URL (default:
/checkout/onepage/success/).
- Full compatibility with Magento 2.4.0 and newer versions.
Benefits
With the Kowal ExtendedConversions module, you can:
- Increase reporting accuracy in Google Ads.
- Improve advertising campaign optimization with precise conversion data.
- Increase sales and improve return on investment (ROI).
Technical requirements
- Magento 2.4.0 or higher.
- Active Google Ads account.
Why choose this module?
The module was created for easy integration and alignment with best practices for SEO and customer data protection. Track conversions according to Google guidelines and improve your marketing activities.
Customer data and integration scope
The code prepares the email address and phone number as SHA-256 hashes. First name, last name, and billing address are part of the customer data and are not hashed in this implementation. The event is named purchase, and the items contain id (SKU), name, quantity, and price.
The previous description referred to GDPR and Google requirements. Hashing alone does not ensure compliance of the entire process; you adapt the consent configuration, data scope, and tag mapping to the implementation. The module does not include its own consent management or full Google Ads configuration.
Success page configuration and data collection
In Stores → Configuration → Kowal → Extended Conversions → Settings, you enable the module and set the Success Page Url. The default path is checkout/onepage/success; the module compares it with the current address, ignoring slashes at the beginning and end.
An active Google Ads account and configuration for receiving data through tags, e.g. in GTM, are required. After implementation, check the availability of dataLayer, publication of purchase, field mapping, and the transaction value and currency. Campaign results, sales, and ROI also depend on their configuration and management.
Installation via Composer
Package: kowal/module-extendedconversions; module: Kowal_ExtendedConversions. After configuring access to the Kowal repository, install the package, enable the module, run the Magento update, and clear the cache. For production mode, include compilation and static content deployment according to the store process.
From configuration to results
1. The customer completes the purchase
Magento saves the order and displays the success page.
2. The module prepares the data
It builds a purchase event with the transaction, products, and customer.
3. The integration reads the event
Configured tags use the data for conversion measurement.
From order to purchase event
Example: after the purchase of two products, the transaction ID, total order value, currency, and the SKU, name, quantity, and price of the items are prepared.
The implementation also includes data mapping in tags and checking event publication. The module itself does not configure a Google Ads account or GTM container.
Connect Magento data with campaign measurement
Want to adapt the module to your store? Ask about implementing Kowal ExtendedConversions and discuss the configuration or needed extensions.
More Information
| Theme compatibility | Luma / Blank, KOWAL |
|---|
Questions and Answers
What does Google Ads Enhanced Conversions add to Magento conversion tracking?
Do I need to manually add the conversion tracking script to Magento pages?
Does the module overwrite Magento or theme files?
What data is sent as part of enhanced conversions?
Are any additional accounts or tools needed for the module to work?
Does the module affect the store's performance?
Is the module GDPR-compliant?
What results will I see after implementing the module?
Module Installation Instructions
Installation via Composer
You will receive Composer repository access credentials (customer email address and license token) by email after purchase. They are also available in the customer panel after logging in at kowal.store. Replace TWOJ_EMAIL_KLIENTA with your account email address and TWOJ_TOKEN with the token you received. Run the commands in the Magento root directory.
composer config repositories.kowal composer https://repo.kowal.storecomposer config http-basic.repo.kowal.store 'TWOJ_EMAIL_KLIENTA' 'TWOJ_TOKEN'composer require kowal/module-extendedconversionsCompleting the installation
After installing the package, run the Magento update and clear the cache:
php bin/magento setup:upgradephp bin/magento cache:flushIn a production environment, also run DI compilation and deploy static files according to the store deployment process.