cloudflare_web_analytics_create
Create a Web Analytics RUM site to collect privacy-first, cookie-free analytics for a hostname. Optionally link to a zone for automatic beacon injection.
Instructions
Create/enable a Web Analytics (RUM) site. Enables privacy-first, cookie-free analytics beacon auto-injection for the specified hostname.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | Hostname to enable analytics on (e.g., 'example.com') | |
| zone_tag | No | Optional zone ID to link the site to (enables auto-inject at the edge). 32-char hex. | |
| auto_install | No | Auto-inject the beacon script at the edge (default: true) |