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

# How to Create MGID Goals in MGID Ads

> Create the MGID postback and pixel goals that Upstack Data sends, in your MGID Ads campaign.

> [!TIP]
>
> * In MGID Ads, open the campaign and go to **Conversion tracking**.
> * Create the postback goals `upstackcheckout` and `upstackpurchase`.
> * If your Tracking Method includes **Browser**, turn on **Pixel** and create a goal for each pixel event you want MGID to count.
> * Save the campaign.

## Which goals do I create?

The goals in [Which events does Upstack send to MGID?](https://docs.upstackdata.com/destinations/catalog/mgid.md#which-events-does-upstack-send-to-mgid), with exactly those names. MGID only counts goals you create in your campaign. You can't rename Upstack's goals.

## How do I create the postback goals?

Only if your Tracking Method includes **Server**.

1. In MGID Ads, open the campaign.
2. Go to **Conversion tracking**, then the **Tracking settings** tab, and select **Postback**.
3. Add a new conversion goal named `upstackpurchase`.
4. Add a second goal named `upstackcheckout`.
5. Save the campaign.

You don't paste the postback link anywhere. Upstack builds it from your Client ID.

## How do I create the pixel goals?

Only if your Tracking Method includes **Browser**.

1. In MGID Ads, open the campaign.
2. Go to **Conversion tracking** and turn on **Pixel**.
3. Add a conversion goal and enter the event name, for example `purchase`.
4. Repeat for each pixel goal you want MGID to count.
5. Save the campaign.

You don't paste the pixel code on your store: Upstack loads it.


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