Tebex Integration
Connect your Tebex store to track revenue and attribute purchases to campaigns.
Overview
The Tebex integration enables:
- Automatic revenue tracking
- Purchase attribution to campaigns
- Creator code tracking
- Revenue analytics per source
Setup Guide
Step 1: Get Your Webhook Secret from Tebex
- Log in to Tebex Creator Panel
- Navigate to Integrations → Webhooks
- Copy your Webhook Secret (you'll need this)
Step 2: Enable Integration in Analyse
- Go to Project Settings → Integrations
- Find Tebex and click "Connect"
- Paste your webhook secret from Tebex
- Copy the webhook URL shown (includes your project ID)
Step 3: Configure Webhook in Tebex
- In Tebex, go to Integrations → Webhooks
- Click "Create Webhook"
- Paste the webhook URL from Analyse
- Select payment events:
payment.completedpayment.declinedpayment.refunded
- Click "Save"
Step 4: Test the Connection
Tebex will send a validation webhook automatically. Check your Analyse integration to confirm it's connected.
How Attribution Works
1
Player joins via youtube.myserver.net
2
Attributed to "YouTube" campaign
3
Player visits your Tebex store
4
Completes purchase
5
Tebex sends webhook to Analyse
6
Analyse matches player by username
7
Purchase linked to "YouTube" campaign
Matching Players
Purchases are matched to players by Minecraft username:
- The username in the Tebex purchase must match a player in your project
- The player's first campaign attribution is used for revenue tracking
Creator Codes
Track affiliate sales with Tebex coupons:
- Create a coupon in Tebex (e.g., "NINJA")
- Create a matching creator code in Analyse
- When someone uses the coupon, Analyse tracks the attribution
The creator code from the purchase is automatically extracted and linked.
Data Tracked
Each purchase includes:
| Field | Description |
|---|---|
| Transaction ID | Unique Tebex ID |
| Amount | Purchase total |
| Currency | Payment currency |
| Player | Minecraft username |
| Packages | Items purchased |
| Campaign | Attributed source |
| Country | Buyer's country |
| Creator Code | Coupon used |
| Status | Complete, Refund, Chargeback |
Troubleshooting
Purchases Not Appearing
- Check the webhook URL is correct in Tebex
- Verify the webhook secret matches in Analyse
- Check Tebex webhook delivery logs for errors
Revenue Not Attributed
- Player must have joined your server before purchasing
- Player username in Tebex must match their Minecraft username
- Player must have been attributed to a campaign