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

# Meta catalog ads (dynamic website URL) URL parameters

> Add Cometly's Meta catalog ads URL parameters in the Tracking section of the ad, so clicks on products from your catalog feed are tracked.

URL parameters are short tags added to the end of a link that tell Cometly which source and which ad a click came from. On a Meta catalog ad that pulls a dynamic website URL from your catalog in Commerce Manager, you cannot add the URL parameters directly to the Website URL the way you can on a single image or video ad. Instead, they go in the **URL parameters** box in the **Tracking** section at the bottom of the ad.

Setting up Meta catalog ads URL parameters this way means every product link in the ad carries them. Cometly can then tie the leads and sales from your catalog ads back to the exact ad that produced them, next to your other Meta ads.

## Add URL parameters to a Meta catalog ad

1. In Meta Ads Manager, open the catalog ad and scroll to the **Tracking** section at the bottom of the ad.

2. Find the **URL parameters** box:

   ![Meta Ads Manager ad editor with an arrow on the URL parameters box in the Tracking section, holding Cometly's parameters](https://mintcdn.com/cometly/BM7eSn6-ecx8ZzBx/images/guides/url-parameters/meta-catalog-ads/01.webp?fit=max\&auto=format\&n=BM7eSn6-ecx8ZzBx\&q=85\&s=0b622efd84ba5072bbdd68e90f621292)

3. Paste the Cometly Meta Ads parameters into that box:

   ```text theme={null}
   comet_source={{site_source_name}}&comet_ad_id={{ad.id}}&comet_placement={{placement}}
   ```

   You can also copy them in Cometly under **Setup**, step 4 **Add URL parameters to your ads**, with **Meta Ads** selected.

4. Publish the ad.

When your products sync with Meta automatically, the website URLs are updated inside Meta to include these URL parameters. Once the ad is published, Cometly tracks it.

> [!NOTE]
>
> When you update the parameters in the **URL parameters** box, your ads go back into review for a short time. Updating URL parameters is not considered a significant ad edit, so learning is not reset on your ads. See [Meta's article on significant edits](https://www.facebook.com/business/help/316478108955072?id=561906377587030) for what does reset learning.

## Check it worked

In the Cometly Ads Manager, select your Meta ad account, open the **Columns** menu and choose the preset **Tracking Status**. On the **Ads** tab, the **URL Params** column shows the parameters the catalog ad carries, and the **Tracking Status** column shows **Normal**. Allow up to 1 hour for the next data refresh before the change appears.

## Frequently asked questions

### What if my Meta catalog ad already has UTM parameters in the URL parameters box?

Keep them, and append the Cometly parameters after them with an `&` sign. See [Set up URL parameters](https://docs.cometly.com/getting-started/url-parameters.md) for an example.

### Why does Cometly show a UTM Setup Error on my catalog ad?

The red **UTM Setup Error** dot means an active ad is missing the Cometly URL parameters or has them set up incorrectly. If you just added them, the error can stay until the next data refresh, which takes up to 1 hour. If it is still there after that, follow [Fix UTM Setup Errors](https://docs.cometly.com/support/troubleshooting/url-parameters/utm-setup-errors.md).

## Next steps

* [Set up URL parameters on your other ads and platforms](https://docs.cometly.com/getting-started/url-parameters.md)
* [Add URL parameters to Meta carousel ads](https://docs.cometly.com/guides/url-parameters/meta-carousel-ads.md)
* [Add URL parameters to Meta ads that use an existing post](https://docs.cometly.com/guides/url-parameters/meta-existing-post-ads.md)
* [Fix UTM Setup Errors in the Ads Manager](https://docs.cometly.com/support/troubleshooting/url-parameters/utm-setup-errors.md)
* [Test your Meta ads tracking](https://docs.cometly.com/support/troubleshooting/reporting/test-meta-ads-tracking.md)

Still have questions or need a hand? We're happy to help. Reach our team at [support@cometly.com](mailto:support@cometly.com).


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