
Microsoft Ads (Bing UET) API Addon for Google Analytics 4 PRO
The Microsoft Ads (Bing UET) API Addon for Magento 2 delivers powerful server-side tracking capabilities that work seamlessly with your Google Analytics 4 PRO extension. This solution ensures enhanced tracking accuracy by overcoming browser limitations, provides privacy-focused data sharing, and creates a unified data collection system across all customer touchpoints. Track key events including purchases, add to cart, checkout, and more while maintaining full control over your marketing data. Compatible with Magento 2.3.x - 2.4.7 and designed for easy integration with your existing Microsoft Ads account.
Demo & User guide
User GuideRedefining Advertising: Microsoft Ads (Bing UET).
Microsoft Ads (Bing UET) is a powerful advertising solution that creates a secure and reliable connection between your marketing data and Microsoft's advertising platform. It works seamlessly across web applications, mobile apps, and offline channels to provide comprehensive tracking and analytics.
By implementing Microsoft Ads (Bing UET), marketers can significantly enhance their advertising performance through a robust server-side implementation that centralizes data collection and ensures consistent tracking across all customer touchpoints.
What are the advantages of using Microsoft Ads (Bing UET)?
Enhanced tracking accuracy
Microsoft Ads (Bing UET) overcomes browser limitations and tracking inconsistencies by implementing server-side tracking, ensuring that a more complete and accurate dataset is collected.
Privacy-focused data sharing
With Microsoft Ads (Bing UET), you maintain control over your data, sharing only what's necessary to achieve your marketing objectives while respecting user privacy preferences.
Adaptable to evolving digital landscape
The combination of server-side implementation with frontend tracking creates a resilient marketing infrastructure that can adapt to industry changes in privacy regulations and browser policies.
Unified data collection
Streamline your marketing operations by consolidating event data from multiple channels into a single API, improving efficiency and ensuring consistent measurement across your entire business.
How does it work?
Customer performs an action on your store
Server-side tracking captures the event data
Data is sent to Microsoft Ads via the Events API
Conversion data appears in your Microsoft Ads account
The diagram below illustrates how the Microsoft Ads (Bing UET) and Microsoft Ads (Bing UET) Events API work together:

Features of the Microsoft Ads (Bing UET) API Addon
Event Tracking
- Server-side Place an Order (Purchase) Event Tracking
- Server-side Add Payment Info Event Tracking
- Server-side Initiate Checkout Event Tracking
- Server-side Add To Cart Event Tracking
Additional Events
- Server-side Add To Wishlist Event Tracking
- Server-side Search Event Tracking
- Server-side View Content Event Tracking
Powerful Integration
- Ability to track selected events in conjunction with the frontend Microsoft Ads (Bing UET)
- Directly and fully integrated into the Google Analytics 4 PRO extension
Developer Tools
- Log functionality for in-depth debugging of events sent to the Bing API
- Easy setup, all that's required is the Microsoft Ads (Bing UET) Pixel ID and the Microsoft Ads (Bing UET) Events API Key
System Compatibility
- Compatible with Magento 2.3.x - 2.4.7
- Works with all Magento editions
- Supports multiple store views
Requirements for using the Microsoft Ads (Bing UET) API Addon
To use the Microsoft Ads (Bing UET) API Addon, you'll need the following:
- A Microsoft Ads (Bing UET) Pixel client-side integration, in order to gain access to your Microsoft Ads (Bing UET) Pixel Tracking Base Code. Our Google Analytics 4 PRO extension comes with the possibility of setting up the client-side Microsoft Ads (Bing UET) Pixel out of the box, which can be done within minutes.
- The Google Analytics 4 PRO extension enabled and configured.
How to Install the Microsoft Ads (Bing UET) API Addon
Prerequisites
- Ensure your Magento version is compatible (2.3.0 - 2.4.7 and all Security Patches)
- Install on a testing environment first
- Set Magento to developer mode
- Make sure the Google Analytics 4 PRO extension is already installed and configured on your Magento 2 instance. You can find the steps for doing so in the Google Analytics 4 PRO User Guide.
php bin/magento deploy:mode:set developer
File Installation
Copy the extension files to your Magento 2 instance:
app/code/WeltPixel/GA4BingSS
Extension Installation
Run the following commands in your Magento root directory:
php bin/magento module:enable WeltPixel_GA4BingSS --clear-static-content
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy -f
Cache Management
Production Mode
If your store was in production mode, switch it back:
php bin/magento deploy:mode:set production
Completion
How to Upgrade the Extension
Remove Old Files
app/code/WeltPixel/GA4BingSS
before upgrading.
The extension may be refactored and old unused files may cause random issues, so it's best to only keep the latest version of the files.
Follow Installation Steps
Follow the normal installation instructions above.
How to Configure the Microsoft Ads (Bing UET) API Addon
Basic Configuration
Admin → WeltPixel → Google Analytics 4 Ecommerce PRO → Bing UET Tracking Settings
Enable Microsoft Ads (Bing UET) Server Side Tracking
When enabled, the server-side Microsoft Ads (Bing UET) functionality will use the Microsoft Ads (Bing UET) Javascript Tracking code configured in the client-side configuration section.
Microsoft Ads (Bing UET) Tag ID
This ID can be found in your Microsoft Ads Manager account under UET Tag → View UET tag. You can also find it in your Microsoft Ads (Bing UET) Javascript Tracking code in the section above.
Track Events
Select the events you wish to send to Bing via the Events API: Purchase / Add to Cart / Product View / Add to Wishlist / Begin Checkout / Add Payment Info / View Category / Search / Signup

Advanced Configuration

Send enabled events via the frontend Microsoft Ads (Bing UET) Tag as well
Set this option to Yes if you want to send events via the frontend Microsoft Ads (Bing UET) as well. Microsoft Ads Manager should have built-in functionality to avoid data duplication, and this may (in some cases) enrich your data.
Enable File Log
Enable the creation of a log file that shows the pushed event data. The bing-api.log file can be found in the var/log directory of Magento 2 root.
Compatibility | Magento Open Source, Magento Commerce, Magento Commerce Cloud B2B |
---|---|
Magento version | 2.3.x, 2.4.0, 2.4.1, 2.4.2, 2.4.3, 2.4.4, 2.4.5, 2.4.6, 2.4.7 |
Update frequency | Monthly or each time a new Magento version is released |
Support period | 12 Months Included Support, with options to extend |
Refund period | 30 days, for any reason |
Updated | February 27, 2025 |
Latest version | 1.10.1 |
Code | 100% Open Source Code |
Bundle options | For best value buy it as part of the Pearl Theme or Stack Framework |
Version History
Initial Release
- Initial extension release with core functionality