Integrations
Connect Headstream to Stripe, your site and your AI tools.
- Claude Code
Let Claude Code install Headstream from one prompt, then add the MCP server so it can read your reports and act on fixes. Exact prompt and commands inside.
- Cursor
Let Cursor's agent install Headstream from one prompt, then add the MCP server with a short config file so it can read your reports. Steps and config inside.
- Google Tag Manager
Install Headstream through Google Tag Manager with a Custom HTML tag that loads the script. Includes the exact tag code, trigger settings and a duplicate check.
- Next.js
Install Headstream in a Next.js app with one script tag in your root layout. Route changes are tracked automatically. Steps for the App and Pages routers.
- React
Add Headstream to a React single-page app with a script tag in index.html. Pushed routes count as pageviews, with no router code. Setup steps and examples.
- Ruby on Rails
Install Headstream in a Rails app with one script tag in your application layout. Turbo navigation is tracked automatically. Includes identify and CSP steps.
- Shopify storefront
Add Headstream to your Shopify theme for traffic and event reports. It covers storefront pages only, with no checkout or order revenue. See the limits here.
- Stripe (beta)
Connect Stripe to Headstream with read-only access to import your history, then see revenue by channel. Connecting Stripe is in beta. Setup steps inside.
- TracerKit
Load Headstream through TracerKit as a script tag with a data attribute. Your tracking config stays outside your repo. Field values and setup steps inside.
- Webflow
Add Headstream to a Webflow site through the custom code setting. Webflow forms are read on submit, and it's one script tag. Setup steps for your site.
- WordPress
Add Headstream to WordPress with a short function in your child theme or a header code plugin. Forms with email fields are captured on submit. Setup steps.