> 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.
* 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

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 and 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 edit page opens in Microsoft Ads in a new tab.
{% endstep %}

{% step %}

### Turn on Enhanced conversions

In Microsoft Ads, click **Save and next** until you reach the **Enhanced conversions** section (titled **Set up Enhanced conversions**). Select **Turn on Enhanced conversions**.

Under **Enable Enhanced conversions for this goal**, tick the box to agree to Microsoft's terms. Then click **Save and next** until you finish the goal.
{% 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.**
{% endstep %}
{% endstepper %}

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

### 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, open your conversion goals. You'll see the Littledata goals you selected, for example **Purchase - Littledata**. Conversions show up there after your store gets new orders from Microsoft Ads traffic.
{% endstep %}
{% endstepper %}

### Related articles

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