# Track clicks in Google Analytics

> Analytics settings changed by asking.

- **Area**: Recommendations
- **Status**: In the MCP guide
- **Canonical page**: https://helloretail.com/en/agentic-playbooks/recommendations/track-clicks-in-google-analytics/
- **Part of**: [Agentic Playbooks](https://helloretail.com/en/agentic-playbooks/)

## The prompt

```text
Send recommendation clicks to GA4 with event category 'recoms'.
```

An example. Swap in your own products, brands and dates.

## What the assistant does

Analytics settings changed by asking.

## Run it

1. Connect the Hello Retail MCP server to an AI assistant that supports MCP. Setup guide: https://helloretail.com/en/mcp/#connect
2. Paste the prompt and change the names to match the shop.
3. Every MCP tool that edits something asks for permission first, and the audit log records each change.

More Recommendations plays: https://helloretail.com/en/agentic-playbooks/#recommendations
