Bing UET Tag: setup and help

Quick start

  1. Upload and install the module ZIP in Modules > Module Manager, then click Configure.
  2. Enter the positive numeric UET Tag ID from your Microsoft Advertising account.
  3. Enable Enable Bing UET Tag and select the Track pageView and ecommerce events you need.
  4. Keep Respect marketing consent and Exclude employee browsing set for your intended privacy setup, then save.
  5. Review the readiness panel and correct any configuration errors.
  6. Open a separate customer browser, grant the required consent and verify UET loading plus a selected browser event.
  7. If you need CAPI, enable Capture durable buyer evidence and Enable Conversions API, enter the Conversions API token, set up cron, then place a test order with consent and check that it appears in the queue.

Requires PrestaShop 1.6.0.0 or later and PHP 7.1 or later.

Setup manual

Install and connect a UET tag

Upload the module ZIP in Modules > Module Manager. Install it and open Configure for Bing UET Tag + Conversions API.

Obtain your numeric UET tag ID from your Microsoft Advertising account. The module does not create a tag or conversion goals in that account. Select the intended shop before saving settings.

Enter UET Tag ID, enable Enable Bing UET Tag, select your browser events and save. The ID must be a positive number. Browser tracking is disabled on a new installation until you configure it.

Set privacy and browser events

All of these fields are on the configuration screen.

Setting Default What it controls
Enable Bing UET Tag Off Master tracking enablement. A valid tag ID is also required.
UET Tag ID Empty Microsoft Advertising destination tag.
Exclude employee browsing On Exclude recognized employee visits. Test using a separate customer browser without the employee session.
Respect marketing consent On Require a recognized current marketing/service consent decision. Denied or unknown consent prevents tracking.
Track pageView On General page events.
Track productView On Product views with available product, category, value and currency data.
Track addToCart On Sends the event only after the product is actually added to the cart, not on the button click.
Track addToWishlist On Sends the event when a supported wishlist module reports the product as added, not on the heart click alone.
Track initiateCheckout On Checkout starts detected by the shared browser tracker. Check your checkout integration.
Track search On Search events when a query is available. Native search checks s, search_query and q.
Track purchase On Browser purchase handling and, with the additional server settings, server purchase admission.
Track signUp On Registration signal associated with account creation.
Track custom events Off Enable the rules in Custom event rules.
Custom event rules Empty JSON array of supported browser rules.

The consent integration supports MPR consent modules and recognized consent-provider states. It does not display its own consent banner. With Respect marketing consent enabled, the absence of a supported consent decision is not permission to send.

The tracker also checks shop ownership and outbound tracking policy. Staff and opt-out signals can prevent delivery. Do not judge customer tracking from a browser that the module recognizes as internal.

Add contact and engagement signals

These options are off on a new installation. Enable only the signals your shop supplies.

Setting Default Setup
Track phone-link clicks Off Track supported phone links after consent and staff checks.
Track actual chat starts Off Require an actual chat-start integration signal. Merely opening a chat launcher is not sufficient.
Track successful contact forms Off Require confirmed form success. The module includes an explicit integration after accepted MPR Contact Form submissions.
Track product engagement Off Enable the shared product engagement tracker.
Send confirmed forms through the server API Off Also sends successful contact form submissions from your server. Needs Track successful contact forms and a working Conversions API setup.
Product engagement thresholds Empty, using shared defaults JSON settings for gallery views, variant changes, detail clicks and dwell time. Defaults are 3 gallery views, 1 variant change, 1 detail click and 45 seconds.
Persist confirmed consent withdrawal Off Persist a confirmed withdrawal through the authenticated private endpoint.
Capture durable buyer evidence Off Stores the buyer's consent and allowed attribution data with their checkout session. Required for server-side purchases and for corrections.

Engagement settings validate gallery, variant and detail thresholds from 1 to 20, dwell time from 5 to 600 seconds and option throttling from 250 to 60000 ms. Leave the JSON empty to use the defaults.

Configure server purchase delivery

Browser UET and Conversions API have separate enablement. To use server purchases:

  1. Keep Enable Bing UET Tag and Track purchase enabled.
  2. Turn on Capture durable buyer evidence before you place your test order.
  3. Enable Enable Conversions API and enter Conversions API token.
  4. Save and review the readiness and queue panels.
  5. Configure the module's generated cron entry in your hosting scheduler.
  6. Accept cookies in a normal browser session, place an order as a customer or as a guest, then check that the purchase appears in the queue.
Setting Default Effect
Enable Conversions API Off Also sends purchases from your server. A purchase is sent only when the buyer gave consent and their checkout data was captured.
Conversions API token Empty Microsoft bearer token.
Queue batch limit 20 Events processed per run. Allowed range: 1 to 100.
Continue on validation error Off Request that Microsoft process valid events in a batch containing validation errors.
Purchase value policy Paid total including tax and shipping Choose this, Paid total excluding tax, Discounted products including tax, or Discounted products excluding tax.

When an order is created, the module checks the buyer's checkout session and consent before it adds the purchase to the queue. A purchase without captured buyer data is held, so turning on CAPI does not send every order.

The endpoint pattern is:

https://capi.uet.microsoft.com/v1/{TAG_ID}/events

The installed task is send_bing_uet_conversions, scheduled every 300 seconds. Installation creates a cron entry through the shared cron package. Copy the actual token and command supplied by your installed module. A typical server command is:

* * * * * php /var/www/html/modules/mprbinguet/cron.php --token=YOUR_TOKEN --max-seconds=300

Replace the PHP path, shop path and token. The scheduler invokes the runner; due tasks use their own five-minute schedule.

The queue panel shows Pending, Sending, Sent, Failed, Held, Terminal and Suppressed. Use Retry failed events after you fix the reported error. Held and suppressed events wait for missing buyer data or were stopped by consent or policy; fix that cause rather than resending.

Send test event does not send anything at the moment: it only shows a message that Microsoft test mode is not available. To check tracking, place a test order, watch the queue and use the diagnostic tools in your Microsoft Advertising account.

Configure refund and cancellation corrections

This is an optional setup under Microsoft online refund and cancellation corrections.

Fill Microsoft customer ID, Microsoft account ID, Developer token, OAuth client ID, OAuth client secret, OAuth refresh token and Exact purchase conversion goal name. These fields start empty. Use Microsoft adjustments sandbox starts off.

The Enable online corrections switch appears only when Capture durable buyer evidence is on, all Microsoft credentials and the purchase goal name are filled in, and a stored link between your Microsoft account, UET tag and purchase goal exists for the shop. The settings screen has no field to create that link, so on a standard installation the switch stays hidden and refunds and cancellations are not sent to Microsoft.

Create custom browser rules

Enable Track custom events and enter a JSON array in Custom event rules. Event names allow letters, numbers, underscores and hyphens, up to 64 characters. You can use up to 15 distinct names and up to 30 configured parameters per rule. The module sends only supported UET parameter names, including event_category, event_label, event_value, value, currency and ecommerce item fields.

A click rule:

[
  {"event":"GalleryBrowse","trigger":"click","selector":".product-images img, .images-container img","params":{"event_category":"Product","event_label":"Gallery browse"}}
]

A URL rule:

[
  {"event":"PromoPageView","trigger":"url","contains":["/promo/"],"params":{"event_category":"Campaign"}}
]

A controller rule:

[
  {"event":"CheckoutPageView","trigger":"controller","controllers":["order"],"params":{"event_category":"Checkout"}}
]

A DOM event rule:

[
  {"event":"QuoteRequest","trigger":"event","dom_event":"shop:quote-request","params":{"event_category":"Lead"}}
]

Your theme can dispatch the matching event:

document.dispatchEvent(new CustomEvent('shop:quote-request', {
  detail: {params: {event_label: 'Product page quote button'}}
}));

Use these configured rules for custom calls. The module does not provide the old window.mprbinguetTrack helper or read the old data-mprbinguet-param-* attributes. URL, controller and DOM rules default to firing once per page; click rules default to repeated firing. Set the rule's once value explicitly when needed.

Verify and troubleshoot

Review the readiness panel after every configuration change. Check the tag ID, browser tracking, consent, custom rules and CAPI state.

Use a separate customer browser. Grant the required consent, open a product and inspect the browser network log for the Microsoft UET script at bat.bing.com/bat.js and the selected events. Refuse consent in a fresh test and confirm tracking is withheld while the consent guard is enabled.

Test a successful cart addition and wishlist addition. A failed action should not become a confirmed ecommerce event. If your theme or checkout uses custom events, confirm that it supplies the supported success signal.

For purchases, compare the transaction reference, purchase value policy, currency and items with the order. Check the server queue and logs as well as the browser requests. Microsoft decides which conversions it accepts and reports, so check the results in your Microsoft Advertising account too.

If no tag loads, check the main switch, a positive numeric ID, consent, employee exclusion, opt-out state and shop ownership policy. Then check script blockers and browser errors. If CAPI stays pending, check the cron runner. If it is held, check that the buyer gave consent and that their checkout data was captured. If it fails, check the token and the response before retrying.

Uninstall

Disable browser and server tracking if you only want to pause collection. Before uninstalling, save the settings and any delivery records you need. Uninstall removes the module menu, its scheduled task and configuration. The shared conversion queue table is dropped only when no other module uses the conversions package; queue data can remain when another user keeps the shared table.

Compatibility

Requires PrestaShop 1.6.0.0 or later and PHP 7.1 or later.

Questions

1

Does the UET script load asynchronously?

Yes. The shared browser runtime adds Microsoft UET from https://bat.bing.com/bat.js as an asynchronous script after its tracking checks pass. Tracking still needs the module enabled, a valid tag ID and the required consent and policy checks. Test page speed with your own theme and enabled event set.

Known Issues

4

Consent and multishop delivery

ResolvedUpdated:
Fixed in: 1.5.0
Fixed tracking consent handling and queued conversion delivery across multiple shops.

Queued events without a shop

ResolvedUpdated:
Fixed in: 1.4.0
Fixed queued events without an assigned shop being discarded instead of using the processing shop.

PHP 7.1 compatibility

ResolvedUpdated:
Fixed in: 1.3.7
Restored module loading on shops running PHP 7.1.

Combined storefront assets

ResolvedUpdated:
Fixed in: 1.3.5
Fixed compatibility with PrestaShop script combining.

Feature Requests

8

Implemented

Microsoft UET Conversions API purchase queue

Implemented
Optionally sends queued purchase events to Microsoft Advertising through UET Conversions API, with cron processing. Enable server tracking and configure the bearer token in the module settings.

Server-side purchase tracking

Implemented
Send purchase conversions to Microsoft Advertising through the Conversions API, with queued delivery and browser purchase deduplication.

Expanded shopping event tracking

Implemented
Track product views, cart and wishlist additions, searches, checkout starts, registrations and custom events.

One-click module updates

Implemented
Install module updates directly from the back office.

Coordinated tracking

Implemented
Avoid duplicate Microsoft Advertising tracking when another supported integration uses the same tag.

Safe event previews

Implemented
Preview individual Microsoft Advertising events in the live demo without sending them to Microsoft.

Refund and cancellation corrections

Implemented
Report online refunds and cancellations to Microsoft Advertising to correct recorded purchase conversions.

Consent and matching controls

Implemented
Control tracking and customer matching consent separately, with tracking stopped when consent is withdrawn.

Changelog

v1.3.42026-05-27

  • AddedAdd Bing UET Conversions API
  • AddedExpand Bing UET tracking
  • Addedcomplete FR/DE/ES/IT/PL translations
  • FixedHarden Bing UET tracking readiness
Older releases

v1.2.02026-05-22

  • Addedfull Microsoft UET browser event coverage: pageView, productView, addToCart, addToWishlist, initiateCheckout, search, signUp, purchase and custom events.
  • Addedenhanced UET purchase payloads with revenue value, currency, transaction reference, item count and product identifiers.
  • Addedcustom event rules for CSS clicks, URL matches, controller matches and DOM events.
  • Addedconsent-aware loading, employee-session exclusion, required-config warnings and demo event monitor.
  • Refreshed shared admin, integrity, license, update, compatibility and conversion helper packages.

v1.0.22025-10-21

  • Maintenance release for PrestaShop compatibility, package wiring and product readiness metadata.

v1.0.1

  • ImprovedBack Office configuration handling and update checks.

v1.0.02025-10-20

  • InitialMicrosoft Advertising UET Tag integration for PrestaShop.

Demo

Test the full module before you buy

Buy a licence later and keep your settings.

  • Your 30-day demo Test it on your own shop for 30 days from the first install.
  • Ready demo shop Explore a ready demo shop in your browser.
  • No registration No account, email or store domain needed.
Launch demo shop

By downloading, you accept the demo terms and privacy policy.

By opening this demo you accept the demo terms and the privacy policy.

Loading...
Back to top