Documentation menu: Overview
Documentation
Everything you need to integrate theBizness.ai analytics into your website and start making data-driven decisions.
Install in about 2 minutes
Paste this in the head of every page, with the two values from your dashboard Setup page. Then open your site and reload your dashboard: you are the first visitor.
<script
defer
data-website-id="your-website-id"
data-domain="yourdomain.com"
src="https://thebizness.ai/js/script.js">
</script>Rather not touch code? Paste a prompt into your AI coding agent. Pick your platform below, or see how to check it works.
Quick start
Add your website
Install the tracking script
Connect revenue sources
Track conversions
Installation guides
Choose your platform
Step-by-step guides for six frameworks. The universal script works on any website that can add a script tag, and short instructions for Shopify, Webflow, Framer, Wix, Squarespace, Ghost, plain HTML and Google Tag Manager are on the installation page.
Short instructions
Features and guides
UTM parameter tracking
Revenue attribution
Conversion tracking
Up-to-date analytics
Customer journeys
API access
API reference
Integrate with your applications
Send pageviews, custom events, conversions and purchases from your own website or server with our public tracking endpoints.
Popular endpoints
/api/eventsRecord a pageview
/api/events/eventRecord a custom event
/api/conversionsRecord a conversion or purchase
/api/conversions/checkLegacy: check a page URL against your conversion rules
Authentication
Browser requests are accepted only from your registered domain and its subdomains, checked with the Origin or Referer header. Other origins get a 403 and nothing is stored.
Send your website's ingest secret as a Bearer token from your backend. Sales reported this way are recorded as verified revenue. Keep the secret out of browser code.
Advanced topics
Privacy and data protection
- Privacy mode hides customer names and emails
- First-party cookies only, no third-party cookies
- Consent decisions stay with you
Custom domains and proxying
- Fewer requests blocked by ad blockers
- Requests go to your own domain
- Serve the script through your own domain via a proxy
- Share visitors across your subdomains with data-cookie-domain
Need help?
Can't find what you're looking for? Our support team is here to help you get the most out of theBizness.ai.
14-day free trial. No card required.