Documentation
Comprehensive guides to help you implement and get the most out of theBizness.ai's UTM tracking and Stripe integration.
Quick Start
Get started with theBizness.ai in less than 5 minutes
Read GuideLearn how to implement and use UTM parameters
Read GuideConnect Stripe for revenue attribution
Read GuideSetup Guide
2. Add Your Website
After signing in, add your website to get a unique tracking code.
From your dashboard, click "Add Website" and enter your domain:
example.com
3. Install Tracking Script
Add our lightweight tracking script to your website's <head>
section.
Copy and paste this code into your website's <head>
tag:
<script
defer
data-website-id="your-website-id"
data-domain="your-domain.com"
src="https://thebizness.ai/js/script.js">
</script>
4. Connect Stripe (Optional)
For revenue attribution, connect your Stripe account to see which marketing campaigns generate actual paying customers.
From your dashboard, go to "Integrations" and click "Connect Stripe"
UTM Tracking Guide
What are UTM Parameters?
UTM parameters are tags added to URLs that help you track where your website traffic comes from. They allow you to identify which marketing campaigns, sources, and channels are driving visitors to your site.
The five standard UTM parameters:
- utm_source: Identifies the source of your traffic (e.g., google, facebook, newsletter)
- utm_medium: Identifies the marketing medium (e.g., cpc, social, email)
- utm_campaign: Identifies a specific campaign name (e.g., summer_sale, product_launch)
- utm_term: Identifies paid keywords (primarily for search campaigns)
- utm_content: Differentiates similar content or links within the same ad
Adding UTM Parameters to Your URLs
Add UTM parameters to the links you use in your marketing campaigns to track their performance.
Example URL with UTM parameters:
https://example.com/landing-page?utm_source=facebook&utm_medium=social&utm_campaign=summer_sale&utm_content=blue_button
UTM Best Practices
Be consistent with naming conventions
Use lowercase and consistent naming patterns (e.g., always use "google" not "Google" or "GOOGLE").
Avoid spaces in parameter values
Use underscores or hyphens instead of spaces (e.g., "summer_sale" not "summer sale").
Be specific with campaign names
Use descriptive campaign names that make reporting more meaningful.
Document your UTM strategy
Create a document to track your parameter naming conventions for consistency.
Stripe Integration Guide
Connecting Stripe
Connecting your Stripe account allows theBizness.ai to associate payments with the marketing campaigns that drove them, providing true revenue attribution.
To connect your Stripe account:
- Go to "Settings" in your theBizness.ai dashboard
- Click on "Integrations"
- Find Stripe and click "Connect"
- Log in to your Stripe account and authorize theBizness.ai
Server-Side Implementation
For the most accurate revenue attribution, implement our server-side integration to connect visitor IDs with Stripe payments.
Add the visitor and session IDs to your Stripe checkout session metadata:
// Node.js/Next.js example with Stripe
const session = await stripe.checkout.sessions.create({
line_items: [...],
mode: 'payment',
metadata: {
visitorId: cookies().get('thebizness_visitor_id')?.value,
sessionId: cookies().get('thebizness_session_id')?.value
}
});
Client-Side Tracking (Alternative)
If server-side integration isn't possible, you can also track payments client-side using our JavaScript API.
Track a payment event after a successful checkout:
window.thebizness('payment', {
email: '[email protected]',
amount: 99.99,
currency: 'USD',
plan: 'premium'
});
Additional Resources
Need Help?
Can't find what you're looking for or need assistance with implementation?
Contact Support