---
title: How to Add Microsoft UET Tag to Your WooCommerce Store
description: Microsoft UET (Universal Event Tracking) tags are essential for verifying your WooCommerce store and tracking performance in Microsoft Ads. This guide walks you through safely adding the UET tag using a plugin — no coding required.
---

[Skip to content](https://kb.feedops.com/knowledge/how-to-add-microsoft-uet-tag-to-your-woo_commerce-store#main-content)

English

Show submenu for translations

[![Feedops-logo\_Final-2-4 1](https://kb.feedops.com/hs-fs/hubfs/Feedops-logo_Final-2-4%201.png?width=150&height=55&name=Feedops-logo_Final-2-4%201.png)](https://kb.feedops.com/knowledge?hsLang=en)

Open main navigation

Close main navigation

- English
  
  Show submenu for translations
- [Contact Us](https://feedops.com/contact-us/)

[Contact Us](https://feedops.com/contact-us/)

 Hello. How can we help you?

- There are no suggestions because the search field is empty.

1. [Help Center](https://kb.feedops.com/knowledge?hsLang=en)
2. [Website Integration Help](https://kb.feedops.com/knowledge/website-integration-help?hsLang=en)
3. [WooCommerce](https://kb.feedops.com/knowledge/website-integration-help?hsLang=en#woocommerce)

# How to Add Microsoft UET Tag to Your WooCommerce Store

## Microsoft UET (Universal Event Tracking) tags are essential for verifying your WooCommerce store and tracking performance in Microsoft Ads. This guide walks you through safely adding the UET tag using a plugin — no coding required.

#### Prerequisites

Before you begin:

- You’ve connected your Microsoft Ads account.
- You’ve created a UET tag using the **“Create UET Tag”** button in the setup flow.![Screenshot 2025-06-29 at 4.50.51 PM](https://kb.feedops.com/hs-fs/hubfs/Screenshot%202025-06-29%20at%204.50.51%20PM.png?width=688&height=519&name=Screenshot%202025-06-29%20at%204.50.51%20PM.png)
- You have admin access to your WordPress site.

### **Step 1: Copy Your UET Tag Code**

1. In the **UET Tag & Tracking Setup** step, locate the **Manual UET Tag Installation** section.
2. Click the **Copy** button to copy the full UET tag script.![Screenshot 2025-06-29 at 4.58.10 PM](https://kb.feedops.com/hs-fs/hubfs/Screenshot%202025-06-29%20at%204.58.10%20PM.png?width=688&height=518&name=Screenshot%202025-06-29%20at%204.58.10%20PM.png)

#### Option A: Use a Plugin (Recommended)

### **Step A1: Install a Header Script Plugin**

1. In your WordPress admin, go to  
   **Plugins** \> **Add New**
2. Search for:  
   **Insert Headers and Footers by WPCode**
3. Click **Install Now**, then **Activate**

---

### **Step A2: Add Your UET Tag Script**

1. Go to **Code Snippets** \> **Header & Footer**  
   *(or Settings \> Insert Headers and Footers)*
2. Paste your entire UET script into the **Header** section.![Screenshot 2025-06-29 at 5.45.28 PM](https://kb.feedops.com/hs-fs/hubfs/Screenshot%202025-06-29%20at%205.45.28%20PM.png?width=688&height=322&name=Screenshot%202025-06-29%20at%205.45.28%20PM.png)  
   Click **Save Changes from the bottom**

#### Option B: Add Code Manually (Advanced Users)

> ⚠️ Only use this method if you’re familiar with editing theme files.

### **Step B1: Open the Theme Editor**

1. Go to **Appearance** \> **Theme File Editor**
2. Select your active theme
3. In the file list, open `header.php`

---

### **Step B2: Locate the `</head>` Tag**

1. Use **CTRL + F** (Windows) or **CMD + F** (Mac) to search for `</head>`
2. This is the **closing head tag** — you must paste your script right **above it**

---

### **Step B3: Paste Your UET Tag Script**

1. On the line directly **above** `</head>`, paste the copied UET tag script
2. Add a blank line if needed, but **do not remove any existing code**
   
   Example:
   
   Edit

   `<!-- Microsoft UET Tag --> <script>...your copied script here...</script> </head>`
3. Click **Update File** to save your changes

#### Final Checks

🔍 **Double-check:**

- You pasted the script **above** `</head>`, not inside or below it.
- The script starts with `<script>` and ends with `</script>`
- No other code was accidentally removed or altered

🛑 If something breaks, use the **"Restore previous version"** link at the top of the editor or restore your theme from a backup

#### Need Help?

Reach out to our support team if:

- You’re unsure where to paste the code
- You want help tracking purchases or events
- The tag isn’t firing correctly after saving

 

- [FeedOps Toolkit](https://kb.feedops.com/knowledge/feedops-toolkit?hsLang=en#main-content)

    - [Feed Optimization](https://kb.feedops.com/knowledge/feedops-toolkit?hsLang=en#feed-optimization)
    - [Insights](https://kb.feedops.com/knowledge/feedops-toolkit?hsLang=en#insights)
- [Onboarding FeedOps](https://kb.feedops.com/knowledge/onboarding-feedops?hsLang=en#main-content)

    - [Initial Set-Up](https://kb.feedops.com/knowledge/onboarding-feedops?hsLang=en#initial-set-up)
    - [Account & Website Settings](https://kb.feedops.com/knowledge/onboarding-feedops?hsLang=en#account-website-settings)
    - [Supported Platform Guides](https://kb.feedops.com/knowledge/onboarding-feedops?hsLang=en#supported-platform-guides)
- [Troubleshooting](https://kb.feedops.com/knowledge/troubleshooting?hsLang=en)
- [Choosing FeedOps](https://kb.feedops.com/knowledge/choosing-feedops?hsLang=en#main-content)

    - [FeedOps Overview](https://kb.feedops.com/knowledge/choosing-feedops?hsLang=en#feedops-overview)
    - [Help Center Introduction](https://kb.feedops.com/knowledge/choosing-feedops?hsLang=en#help-center-introduction)
- [Using FeedOps](https://kb.feedops.com/knowledge/using-feedops?hsLang=en#main-content)

    - [Google Free Product Listings](https://kb.feedops.com/knowledge/using-feedops?hsLang=en#google-free-product-listings)
    - [FeedOps Optimizations](https://kb.feedops.com/knowledge/using-feedops?hsLang=en#feedops-optimizations)
    - [Google Ads](https://kb.feedops.com/knowledge/using-feedops?hsLang=en#google-ads)
    - [eCommerce Store Connection](https://kb.feedops.com/knowledge/using-feedops?hsLang=en#ecommerce-store-connection)
    - [Google Analytics](https://kb.feedops.com/knowledge/using-feedops?hsLang=en#google-analytics)
    - [Google Merchant Center](https://kb.feedops.com/knowledge/using-feedops?hsLang=en#google-merchant-center)
    - [Facebook Catalog](https://kb.feedops.com/knowledge/using-feedops?hsLang=en#facebook-catalog)
    - [Microsoft Ads](https://kb.feedops.com/knowledge/using-feedops?hsLang=en#microsoft-ads)
- [Website Integration Help](https://kb.feedops.com/knowledge/website-integration-help?hsLang=en#main-content)

    - [BigCommerce](https://kb.feedops.com/knowledge/website-integration-help?hsLang=en#bigcommerce)
    - [Google Analytics](https://kb.feedops.com/knowledge/website-integration-help?hsLang=en#google-analytics)
    - [Magento](https://kb.feedops.com/knowledge/website-integration-help?hsLang=en#magento)
    - [Ecwid](https://kb.feedops.com/knowledge/website-integration-help?hsLang=en#ecwid)
    - [Shopify](https://kb.feedops.com/knowledge/website-integration-help?hsLang=en#shopify)
    - [Magento 2.X](https://kb.feedops.com/knowledge/website-integration-help?hsLang=en#magento-2-x)
    - [Neto](https://kb.feedops.com/knowledge/website-integration-help?hsLang=en#neto)
    - [OpenCart](https://kb.feedops.com/knowledge/website-integration-help?hsLang=en#opencart)
    - [Other](https://kb.feedops.com/knowledge/website-integration-help?hsLang=en#other)
    - [Google Merchant Center](https://kb.feedops.com/knowledge/website-integration-help?hsLang=en#google-merchant-center)
    - [WooCommerce](https://kb.feedops.com/knowledge/website-integration-help?hsLang=en#woocommerce)
    - [Salesforce Commerce Cloud](https://kb.feedops.com/knowledge/website-integration-help?hsLang=en#salesforce-commerce-cloud)
    - [Marketplacer](https://kb.feedops.com/knowledge/website-integration-help?hsLang=en#marketplacer)
    - [Tracking Conversions and Remarketing Events](https://kb.feedops.com/knowledge/website-integration-help?hsLang=en#tracking-conversions-and-remarketing-events)
- [Learning Center](https://kb.feedops.com/knowledge/learning-center?hsLang=en#main-content)

    - [Google Ads](https://kb.feedops.com/knowledge/learning-center?hsLang=en#google-ads)
    - [Google Merchant Center](https://kb.feedops.com/knowledge/learning-center?hsLang=en#google-merchant-center)
- [Muzaara Bing Shopping Feed](https://kb.feedops.com/knowledge/muzaara-bing-shopping-feed?hsLang=en#main-content)

    - [Platform](https://kb.feedops.com/knowledge/muzaara-bing-shopping-feed?hsLang=en#platform)

[![FeedOps ](https://kb.feedops.com/hs-fs/hubfs/60a5a09c9ca6b7064e3fac09_feedops-footer-logo.png?width=322&height=87&name=60a5a09c9ca6b7064e3fac09_feedops-footer-logo.png "FeedOps ")](http://feedops.com)

Copyright © 2026, FeedOps