> For the complete documentation index, see [llms.txt](https://help.littledata.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.littledata.io/integrations/microsoft-ads/installation.md).

# How to connect Shopify to Microsoft Ads

This guide shows you how to connect your Shopify store to the Microsoft Ads destination in the Littledata app. It takes about 10 minutes, most of it spent turning on Enhanced conversions in Microsoft Ads.

### Before you start

* You have the Littledata app installed on your Shopify store, with Shopify connected as a source.
* You can sign in to the Microsoft account that has access to your Microsoft Ads account.
* Your Microsoft Ads account has a UET tag. Littledata uses it for conversion tracking. If you don't have one, create it in Microsoft Ads: hover over **Conversions** in the left menu, choose **UET tag**, then click **Create**.
* You can edit conversion goals in that Microsoft Ads account.

### Connect Microsoft Ads

{% stepper %}
{% step %}

#### Add the destination

Open the Littledata app and click **Add destination**. The **Destinations** page opens.
{% endstep %}

{% step %}

#### Choose Microsoft Ads

Under **Available in your plan**, find **Microsoft Ads** and click **Connect**. The setup opens on the **Connect your store to Microsoft Ads** screen.
{% endstep %}

{% step %}

#### Read the overview

Read the short overview, then click **Continue**.
{% endstep %}

{% step %}

#### Choose your tracking preferences

On **Set up your tracking**, pick one option and click **Continue**:

* **Use best practices** (recommended): uses the Shopify order name as the order identifier and creates all four conversion goals. You can change this later.
* **Customize your tracking**: lets you choose the order identifier and the conversion goals yourself. Go to the next step.

If you picked **Use best practices**, skip to **Connect your Microsoft account**.
{% endstep %}

{% step %}

#### Customize your tracking (optional)

On the **Order identifiers** screen, choose **Shopify Order Name** or **Checkout Token**, then click **Continue**.

On the **Conversion goals** screen, tick the goals you want Littledata to create in Microsoft Ads, then click **Continue**. We recommend keeping all four selected:

* Purchase - Littledata
* New Customer Purchase - Littledata
* Returning Customer Purchase - Littledata
* First Recurring Purchase - Littledata
  {% endstep %}

{% step %}

#### Connect your Microsoft account

On **Connect your Microsoft account**, click **Connect**. Microsoft's sign-in page opens in a new tab. Sign in with the Microsoft account that manages your ads account. If you use several Microsoft accounts, check which one is shown before you approve access. Then go back to the Littledata app tab.

You'll see **Choose your account** and your Microsoft email address in place of **No account connected**.
{% endstep %}

{% step %}

#### Choose your account and UET tag

Open the **Choose your account** list and pick your Microsoft Ads account. If it's missing, click **Refresh accounts**.

Then open the **Select a UET tag** list under **Select UET Tag**, choose the tag you want to use, and click **Continue**.
{% endstep %}

{% step %}

#### Check the goal status

The **Enable Enhanced Conversions** screen lists each conversion goal Littledata created, with a status badge. A goal marked **Not enabled** still needs Enhanced conversions turned on. If every goal shows **Enabled**, skip to **Finish the connection**.
{% endstep %}

{% step %}

#### Open the goal in Microsoft Ads

Next to a goal marked **Not enabled**, click **Enable in Microsoft Ads**. That goal's page opens in Microsoft Ads in a new tab. Check that the goal name at the top ends in "- Littledata".

Always use this link. Don't search the **Conversion goals** list yourself: your own website goals often have similar names (for example "Purchase"), and it's easy to edit the wrong one.

If Microsoft Ads asks you to sign in or opens a different account, sign in with the Microsoft account you connected, then click **Enable in Microsoft Ads** again.
{% endstep %}

{% step %}

#### Turn on Enhanced conversions

On the goal's page, find the **Enhanced conversions** setting. If the page is split into several sections, click **Save and next** until you reach it.

Select **Turn on Enhanced conversions**. Tick the box to accept Microsoft's terms for enhanced conversions. Then save the goal (click **Save**, or **Save and next** until you finish).

Leave the goal type, revenue and other settings as Littledata set them.

{% hint style="info" %}
Enhanced conversions only applies to the goal you're editing. There's no account-wide switch, so you need to do this for each goal.
{% endhint %}
{% endstep %}

{% step %}

#### Repeat for every goal

Go back to the Littledata app tab and repeat the last two steps for each goal still marked **Not enabled**.
{% endstep %}

{% step %}

#### Finish the connection

In the Littledata app, click **Check again**. When every goal is enabled, you'll see a green **Enhanced Conversions are enabled** message. Click **Continue**.

Littledata then adds tracking to your store. When it's done, you'll see **You're connected! Here's where to go next.**

{% hint style="info" %}
If **Check again** still shows a goal as **Not enabled**, wait a minute and try again. If it still doesn't change, open that goal in Microsoft Ads and make sure you saved it after turning on Enhanced conversions.
{% endhint %}
{% endstep %}
{% endstepper %}

### Check that it works

{% stepper %}
{% step %}

#### Check the Littledata app

Open the Littledata app home page. The **Microsoft Ads** card shows **Connected**.
{% endstep %}

{% step %}

#### Check Microsoft Ads

In Microsoft Ads, hover over **Conversions** in the left menu and choose **Conversion goals**. You'll see the Littledata goals you selected, for example **Purchase - Littledata**.

A dash (-) in the **UET tag ID** and **Tracking status** columns is normal for these goals. They're offline conversion goals, so they don't rely on the UET tag status. Conversions show up after your store gets new orders from Microsoft Ads traffic.
{% endstep %}
{% endstepper %}

### Related articles

* [Microsoft Ads](https://help.littledata.io/integrations/microsoft-ads)
