# setup_ecommerce_funnel

ONE STEP: install the FULL GA4 ecommerce funnel in a WEB container. Per funnel event (default view_item, add_to_cart, view_cart, begin_checkout, add_shipping_info, add_payment_info, purchase) it creates a Custom Event trigger plus a GA4 event tag with

Agent View of the PolicyLayer registry record for `setup_ecommerce_funnel`. HTML page: https://policylayer.com/tools/io-github-samarthanalytics-sj-samarth-gtm-mcp/setup-ecommerce-funnel

## Facts

- Tool: `setup_ecommerce_funnel`
- Server: Samarth Gtm Mcp (`samarth-gtm-mcp`) — https://policylayer.com/tools/io-github-samarthanalytics-sj-samarth-gtm-mcp.md
- Install: `npx -y samarth-gtm-mcp`
- Homepage: https://github.com/samarthanalytics-sj/samarth-analytics-mcp
- Risk category: Write (Medium risk)
- Registry record: grade F, identity unverified
- Server rate-limited: no
- Parameters: 0
- Recommended policy verdict: Rate-limited

## Example call (MCP tools/call, JSON-RPC 2.0)

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "setup_ecommerce_funnel",
    "arguments": {}
  }
}
```

## Why setup_ecommerce_funnel is rated Medium

Creates and modifies GA4 configuration and event tracking infrastructure reversibly within a container.

From the tool's own definition: "install, creates Custom Event trigger, GA4 event tag"

## Use case

AI agents use setup_ecommerce_funnel to create or update resources in Samarth Gtm Mcp, usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your Samarth Gtm Mcp environment.

## Recommended policy (PolicyLayer)

Verdict: **Rate-limited**. Enforced by the PolicyLayer MCP gateway (https://policylayer.com/mcp-gateway) before a call reaches Samarth Gtm Mcp:

```json
{
  "version": "1",
  "default": "deny",
  "tools": {
    "setup_ecommerce_funnel": {
      "limits": [
        {
          "counter": "setup_ecommerce_funnel_rate",
          "window": "minute",
          "max": 30,
          "scope": "grant"
        }
      ]
    }
  }
}
```

## Other tools on Samarth Gtm Mcp (235)

- `built_in_variables_disable` — Destructive — https://policylayer.com/tools/io-github-samarthanalytics-sj-samarth-gtm-mcp/built-in-variables-disable.md
- `delete_ga4_account` — Destructive — https://policylayer.com/tools/io-github-samarthanalytics-sj-samarth-gtm-mcp/delete-ga4-account.md
- `delete_ga4_property` — Destructive — https://policylayer.com/tools/io-github-samarthanalytics-sj-samarth-gtm-mcp/delete-ga4-property.md
- `delete_gtm_client` — Destructive — https://policylayer.com/tools/io-github-samarthanalytics-sj-samarth-gtm-mcp/delete-gtm-client.md
- `delete_gtm_folder` — Destructive — https://policylayer.com/tools/io-github-samarthanalytics-sj-samarth-gtm-mcp/delete-gtm-folder.md
- `delete_gtm_tag` — Destructive — https://policylayer.com/tools/io-github-samarthanalytics-sj-samarth-gtm-mcp/delete-gtm-tag.md
- `delete_gtm_trigger` — Destructive — https://policylayer.com/tools/io-github-samarthanalytics-sj-samarth-gtm-mcp/delete-gtm-trigger.md
- `delete_gtm_variable` — Destructive — https://policylayer.com/tools/io-github-samarthanalytics-sj-samarth-gtm-mcp/delete-gtm-variable.md
- `delete_unused_gtm_triggers` — Destructive — https://policylayer.com/tools/io-github-samarthanalytics-sj-samarth-gtm-mcp/delete-unused-gtm-triggers.md
- `delete_unused_gtm_variables` — Destructive — https://policylayer.com/tools/io-github-samarthanalytics-sj-samarth-gtm-mcp/delete-unused-gtm-variables.md
- `environments_delete` — Destructive — https://policylayer.com/tools/io-github-samarthanalytics-sj-samarth-gtm-mcp/environments-delete.md
- `folders_delete` — Destructive — https://policylayer.com/tools/io-github-samarthanalytics-sj-samarth-gtm-mcp/folders-delete.md
- `forget_memory` — Destructive — https://policylayer.com/tools/io-github-samarthanalytics-sj-samarth-gtm-mcp/forget-memory.md
- `ga4_delete_account` — Destructive — https://policylayer.com/tools/io-github-samarthanalytics-sj-samarth-gtm-mcp/ga4-delete-account.md
- `ga4_delete_property` — Destructive — https://policylayer.com/tools/io-github-samarthanalytics-sj-samarth-gtm-mcp/ga4-delete-property.md
- `tags_delete` — Destructive — https://policylayer.com/tools/io-github-samarthanalytics-sj-samarth-gtm-mcp/tags-delete.md
- `triggers_delete` — Destructive — https://policylayer.com/tools/io-github-samarthanalytics-sj-samarth-gtm-mcp/triggers-delete.md
- `user_permissions_delete` — Destructive — https://policylayer.com/tools/io-github-samarthanalytics-sj-samarth-gtm-mcp/user-permissions-delete.md
- `variables_delete` — Destructive — https://policylayer.com/tools/io-github-samarthanalytics-sj-samarth-gtm-mcp/variables-delete.md
- `versions_delete` — Destructive — https://policylayer.com/tools/io-github-samarthanalytics-sj-samarth-gtm-mcp/versions-delete.md
- `consent_compliance_audit` — Execute — https://policylayer.com/tools/io-github-samarthanalytics-sj-samarth-gtm-mcp/consent-compliance-audit.md
- `consent_scenario_capture` — Execute — https://policylayer.com/tools/io-github-samarthanalytics-sj-samarth-gtm-mcp/consent-scenario-capture.md
- `environments_reauthorize` — Execute — https://policylayer.com/tools/io-github-samarthanalytics-sj-samarth-gtm-mcp/environments-reauthorize.md
- `run_ga4_report` — Execute — https://policylayer.com/tools/io-github-samarthanalytics-sj-samarth-gtm-mcp/run-ga4-report.md
- `runtime_synthetic_test` — Execute — https://policylayer.com/tools/io-github-samarthanalytics-sj-samarth-gtm-mcp/runtime-synthetic-test.md
- `site_crawl` — Execute — https://policylayer.com/tools/io-github-samarthanalytics-sj-samarth-gtm-mcp/site-crawl.md
- `suggest_tags_from_url` — Execute — https://policylayer.com/tools/io-github-samarthanalytics-sj-samarth-gtm-mcp/suggest-tags-from-url.md
- `versions_publish` — Execute — https://policylayer.com/tools/io-github-samarthanalytics-sj-samarth-gtm-mcp/versions-publish.md
- `workspace_create_version_and_publish` — Execute — https://policylayer.com/tools/io-github-samarthanalytics-sj-samarth-gtm-mcp/workspace-create-version-and-publish.md
- `update_google_ads_campaign_budget` — Financial — https://policylayer.com/tools/io-github-samarthanalytics-sj-samarth-gtm-mcp/update-google-ads-campaign-budget.md
- …and 205 more: https://policylayer.com/tools/io-github-samarthanalytics-sj-samarth-gtm-mcp.md

## For agents

This record is a snapshot. Live verdicts and the full registry:

- Check every server in your MCP config at once: `npx -y policylayer stack`
- Vet a server before you add it: install the mcp-precheck skill — `npx skills add https://policylayer.com` (skill text: https://policylayer.com/skill.md)
- Query the registry over MCP: endpoint `https://api.policylayer.com/mcp` — tools `check_mcp_server`, `check_mcp_stack`, `check_tool`, `search_registry`, `get_change_events`

---

Source: the PolicyLayer MCP registry — one continuously verified record per MCP server. Full record: https://policylayer.com/registry?q=io-github-samarthanalytics-sj-samarth-gtm-mcp · API: https://policylayer.com/registry/api · Policy library: https://policylayer.com/policies/io-github-samarthanalytics-sj-samarth-gtm-mcp
