# Add UTM Tracking to Every Product Feed

> Tags the product links in your feeds so Google Analytics shows which channel and country drove each sale.

- 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: ~25 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/feed-utm-tagging/

## The prompt

```text
List my product feeds and show the current UTM settings for each one: on or off, source, medium and campaign. Propose one consistent scheme: source is the channel name, medium is cpc, and campaign is [campaign name] plus the country code. Show me the before and after for every feed and wait for my OK. Then apply the changes, and use one bulk update where feeds share the same values.
```

## What happens when you paste it

You: List my product feeds and show the current UTM settings for each one: on or off, source, medium and campaign…

Assistant: 7 feeds. 4 have UTM tagging on with mixed sources: google, GoogleShopping and gs. 3 have it off. Calling: `adtribes/list-feeds`, `adtribes/get-feed`, `adtribes/set-utm-tagging`, `adtribes/bulk-update-feeds`.

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

Assistant: UTM tagging is now on for all 7 feeds. For example, Google Shopping AU uses source google_shopping, medium cpc and campaign shopping_au. The new links appear after each feed refreshes.

## Abilities this recipe calls

- **List product feeds** (`adtribes/list-feeds`, read only, from AdTribes): Lists your product feeds with channel, country, status, last run, product count and file link.
- **Get feed settings** (`adtribes/get-feed`, read only, from AdTribes): Shows the full setup of one feed: mappings, filters, rules and tracking settings.
- **Set feed UTM tags** (`adtribes/set-utm-tagging`, asks first, from AdTribes): Sets the UTM tracking tags added to product links in a feed.
- **Bulk update feeds** (`adtribes/bulk-update-feeds`, asks first, from AdTribes): Applies the same country, format, schedule, status or UTM change to many feeds.

## Variations

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

- Turn UTM tagging off on the [feed name] feed.
- Use [source value] as the UTM source for all Facebook feeds.

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