# Undo a Tracking Settings Change

> Compares your tracking settings now with an earlier backup, shows what changed and rolls back after you confirm.

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

## The prompt

```text
My ad tracking changed recently and I want to see what happened. List my Pixel Manager settings backups, newest first. Compare my current settings with the backup from before the change and list every setting that differs, old value and new value. Then ask me if I want to restore that backup. Do not restore anything until I confirm.
```

## What happens when you paste it

You: My ad tracking changed recently and I want to see what happened…

Assistant: 12 backups. Compared with the backup from 3 days ago, 3 settings differ: the Meta pixel ID changed, consent mode was switched off and the GA4 measurement ID was cleared. Calling: `pmw/list-settings-backups`, `pmw/get-settings-backup`, `pmw/export-settings`, `pmw/restore-settings-backup`.

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

Assistant: You confirmed the restore. Settings are back to the backup from 3 days ago, and today's settings are saved as their own backup in case you need them.

## Abilities this recipe calls

- **List settings backups** (`pmw/list-settings-backups`, read only, from Pixel Manager): Lists the automatic Pixel Manager settings backups, newest first.
- **Read a settings backup** (`pmw/get-settings-backup`, read only, from Pixel Manager): Shows the tracking settings stored in one backup, so you can compare it with what runs now.
- **Read current tracking settings** (`pmw/export-settings`, read only, from Pixel Manager): Shows the full set of Pixel Manager settings in use now, with secrets hidden.
- **Restore a settings backup** (`pmw/restore-settings-backup`, asks first, from Pixel Manager): Rolls the Pixel Manager settings back to an earlier backup. The current settings are kept as their own backup.

## Variations

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

- Only show changes to Google Ads settings.
- Compare against the backup from last Monday instead.

## Related recipes

- [Add a Gift Message Option to My Products](https://storeagent.ai/mcp-recipes/ppom-gift-message-group.md): Describe the gift options you want in plain words and get a PPOM field group built, tested and saved after you approve it.
- [Can I Switch to the Block Checkout?](https://storeagent.ai/mcp-recipes/booster-block-checkout-ready.md): Find out which of your Booster modules work with the WooCommerce block checkout, and which still need the classic one.
- [Check Your Cart Recovery Setup](https://storeagent.ai/mcp-recipes/cart-recovery-settings-check.md): Reviews every cart recovery setting against your recent results and suggests changes, then makes only the ones you approve.

---

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/
