Title: Microsoft Ads conversion tracking help
Last modified: July 12, 2026

---

# Microsoft Ads conversion tracking help

 *  [SRD75](https://wordpress.org/support/users/srd75/)
 * (@srd75)
 * [1 day, 5 hours ago](https://wordpress.org/support/topic/microsoft-ads-conversion-tracking-help/)
 * Microsoft Ads conversion tracking requires me to add the following to Google 
   Tag Manager for the WC order complete URL:
 *     ```wp-block-code
       <script> // Add this script right after your base UET tag code window.uetq = window.uetq || []; window.uetq.push('set', { 'pid': { 'em': 'contoso@example.com', // Replace with the variable that holds the user's email address. 'ph': '+14250000000', // Replace with the variable that holds the user's phone number. } }); </script>
       ```
   
 *     ```wp-block-code
       <script> window.uetq = window.uetq || []; window.uetq.push('event', '', {"revenue_value":Replace_with_Variable_Revenue_Function(),"currency":"AUD"}); </script>
       ```
   
 * Can you help me fill out the JS WC variables, please?

Viewing 1 replies (of 1 total)

 *  Plugin Support [shahzeen(woo-hc)](https://wordpress.org/support/users/shahzeenfarooq/)
 * (@shahzeenfarooq)
 * [1 day ago](https://wordpress.org/support/topic/microsoft-ads-conversion-tracking-help/#post-18962821)
 * Hi [@srd75](https://wordpress.org/support/users/srd75/)!
 * Thank you for reaching out.
 * The code you’ve shared relates to configuring **Microsoft Ads conversion tracking
   through Google Tag Manager**, which involves custom JavaScript and third-party
   service integration.
 * Providing implementation guidance for custom tracking scripts, JavaScript variables,
   and third-party marketing platform integrations falls outside the scope of support
   we can provide in this forum. We primarily support WooCommerce core features 
   and functionality.
 * For assistance with mapping WooCommerce order data (such as customer email, phone
   number, order total, and currency) to Microsoft Ads conversion tracking variables,
   I recommend consulting the Microsoft Ads documentation or reaching out to their
   support team. You may also wish to consult the documentation and support resources
   for your Google Tag Manager setup, as the exact implementation can vary depending
   on how your data layer is configured.
 * If you need more in-depth support or want to consider professional assistance
   for customization, I can recommend [WooExperts](https://partners.woocommerce.com/English/marketplace/)
   and [Codeable.io](https://woocommerce.com/codeable/) as options for getting professional
   help.
 * Alternatively, you can also ask your development questions in the [ WooCommerce Community Slack](https://woocommerce.com/community-slack/)

Viewing 1 replies (of 1 total)

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fmicrosoft-ads-conversion-tracking-help%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

## Tags

 * [conversion tracking](https://wordpress.org/support/topic-tag/conversion-tracking/)

 * 1 reply
 * 2 participants
 * Last reply from: [shahzeen(woo-hc)](https://wordpress.org/support/users/shahzeenfarooq/)
 * Last activity: [1 day ago](https://wordpress.org/support/topic/microsoft-ads-conversion-tracking-help/#post-18962821)
 * Status: not resolved