> ## Documentation Index
> Fetch the complete documentation index at: https://docs.upstackdata.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Complete How-To Guide for Onboarding MGID in Upstack Data

> Connect MGID to Upstack Data: find your Client ID, add the destination, and create the pixel and postback goals in MGID Ads.

> [!NOTE]
>
> **New to Upstack?** Follow the [getting started guide](https://docs.upstackdata.com/quickstart/install-on-shopify.md) first.

> [!TIP]
>
> * Copy your **Client ID** from your MGID postback link.
> * Add the **MGID** destination in Upstack.
> * Create the pixel and postback goals in MGID Ads.

## What do I need before I start?

* An Upstack Data account ([sign up](https://app.upstackdata.com))
* Access to your MGID Ads account

## How do I connect MGID to Upstack?

**1. Find your Client ID**

In MGID Ads, open a campaign, go to **Conversion tracking → Tracking settings → Postback**, choose **Manual setup** and click **Get Postback URL**. Copy the number after `https://a.mgid.com/postback/`.

Full walkthrough: [How to Find your MGID Client ID](https://docs.upstackdata.com/destinations/catalog/mgid/how-to-find-mgid-client-id.md)

**2. Add the MGID destination**

In Upstack, open **Destinations**, click **New Destination**, then click **Connect** next to **MGID**. Enter your **Client ID**, leave **Tracking Method** on **Browser + Server**, turn on **Send Revenue Value**, and click **Create Destination**.

Full walkthrough: [How to Configure MGID Destination in Upstack Data](https://docs.upstackdata.com/destinations/catalog/mgid/how-to-configure-mgid-destination-in-upstack-data.md)

**3. Create the goals in MGID**

MGID only counts goals you create in your campaign. Create the postback goals `upstackcheckout` and `upstackpurchase`, and a pixel goal for each pixel event you want MGID to count.

Full walkthrough: [How to Create MGID Goals in MGID Ads](https://docs.upstackdata.com/destinations/catalog/mgid/how-to-create-mgid-goals.md)

> [!NOTE]
>
> If you get stuck, contact our [support team](https://docs.upstackdata.com/troubleshooting/support.md) with your MGID **Client ID**.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.