Install the Motif tracker
One deferred script. The id in the tag is public. Revenue still comes from Stripe Connect, not from this file.
Default snippet
<script defer src="https://collect.motiftrace.com/m.js" data-website-id="WEBSITE_ID"></script>
- src is https://collect.motiftrace.com/m.js unless this website has an active tracking host.
- data-website-id is the UUID from Websites. Required. Without it the script no-ops.
- defer keeps the tag off the critical path.
What the tracker sends
Pageviews, identify, custom milestones, and a checkout join when Stripe's session_id is on the success page. URLs keep only the path plus allowlisted attribution parameters (utm_*, gclid, and the other click ids). The tracker never accepts a payment amount.
Localhost
The tracker is silent on localhost, 127.*, ::1, *.local, and *.localhost unless the tag includes data-allow-localhost. That flag is for your own debugging, not for production.