# Check and Set Up Facebook Pixel and Google Remarketing

> Confirms your Facebook Pixel and Google Ads remarketing tag are on and use the right IDs, and fixes them if not.

- Job: [Marketing & promos](https://storeagent.ai/mcp-recipes/job/marketing/)
- What it does: Asks first: changes your store, only after you say yes
- Time saved: ~15 min vs doing it by hand
- Requires: StoreAgent (free plugin, MCP on every plan) + AdTribes
- Works in: Claude, ChatGPT, Cursor and any MCP client connected to the store through StoreAgent MCP
- Web page: https://storeagent.ai/mcp-recipes/ad-tracking-setup/

## The prompt

```text
Check my ad tracking setup. Tell me whether the Facebook Pixel is on and which pixel ID it uses, and whether Google Ads dynamic remarketing is on and which conversion ID it uses. My Facebook Pixel ID is [pixel ID] and my Google Ads conversion ID is [conversion ID]. If anything is off or uses a different ID, show me what you will change and wait for my OK before you update it.
```

## What happens when you paste it

You: Check my ad tracking setup…

Assistant: The Facebook Pixel is on with ID 1234567890. Google Ads remarketing is off and has no conversion ID. Calling: `adtribes/get-tracking-status`, `adtribes/set-facebook-pixel`, `adtribes/set-google-tracking`.

Assistant: This will make changes in WooCommerce. Do you want me to go ahead?

Assistant: Set Google Ads remarketing to conversion ID 987654321 and turned it on. The Facebook Pixel already matched your ID, so I left it as it is.

## Abilities this recipe calls

- **Get ad tracking status** (`adtribes/get-tracking-status`, read only, from AdTribes): Shows whether the Facebook Pixel and Google Ads remarketing are set up and on.
- **Set Facebook Pixel** (`adtribes/set-facebook-pixel`, asks first, from AdTribes): Sets the Facebook Pixel ID and turns the pixel on or off.
- **Set Google Ads remarketing** (`adtribes/set-google-tracking`, asks first, from AdTribes): Sets the Google Ads remarketing ID and turns the tag on or off.

## Variations

Add one of these to the end of the prompt. Swap anything in [brackets] for your own details.

- For variable products, send the variation ID to Facebook instead of the parent ID.
- Turn the Facebook Pixel off for now but keep the ID saved.

## Related recipes

- [Fix Google Shopping Feed Problems](https://storeagent.ai/mcp-recipes/feed-errors.md): Tells you exactly what is wrong with each feed's setup, and which products are being left out, in plain English.
- [Clear Slow Stock With a Limited-Time Coupon](https://storeagent.ai/mcp-recipes/slow-stock-coupon.md): Finds what is gathering dust and sets up a short, sharp coupon you can promote to move it.
- [Add Conversation Starters That Mention Your Current Sale](https://storeagent.ai/mcp-recipes/chat-proactive-starters.md): Writes short pop-up messages for the chat assistant that point shoppers to what is on sale right now.

---

Part of the StoreAgent WooCommerce MCP Recipes directory: https://storeagent.ai/mcp-recipes/ (index for LLMs: https://storeagent.ai/mcp-recipes/llms.txt). Get StoreAgent free: https://app.storeagent.ai/sign-up/
