Sign In

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

  1. Log in to Tebex Creator Panel
  2. Navigate to Integrations → Webhooks
  3. Copy your Webhook Secret (you'll need this)

Step 2: Enable Integration in Analyse

  1. Go to Project Settings → Integrations
  2. Find Tebex and click "Connect"
  3. Paste your webhook secret from Tebex
  4. Copy the webhook URL shown (includes your project ID)

Step 3: Configure Webhook in Tebex

  1. In Tebex, go to Integrations → Webhooks
  2. Click "Create Webhook"
  3. Paste the webhook URL from Analyse
  4. Select payment events:
    • payment.completed
    • payment.declined
    • payment.refunded
  5. 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:

  1. The username in the Tebex purchase must match a player in your project
  2. The player's first campaign attribution is used for revenue tracking

Creator Codes

Track affiliate sales with Tebex coupons:

  1. Create a coupon in Tebex (e.g., "NINJA")
  2. Create a matching creator code in Analyse
  3. 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:

FieldDescription
Transaction IDUnique Tebex ID
AmountPurchase total
CurrencyPayment currency
PlayerMinecraft username
PackagesItems purchased
CampaignAttributed source
CountryBuyer's country
Creator CodeCoupon used
StatusComplete, Refund, Chargeback

Troubleshooting

Purchases Not Appearing

  1. Check the webhook URL is correct in Tebex
  2. Verify the webhook secret matches in Analyse
  3. 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