๐
How Publisher Identity Works
When you register on LootBazaar, Supabase creates a unique UUID for your account (e.g. 550e8400-e29b-41d4-a716-446655440000). This UUID is your permanent publisher identifier used for all tracking.
What Happens When You Generate a Link
- You paste a product URL (e.g. amazon.in/product/B09...) into the Link Generator.
- LootBazaar expands any shortened URLs and strips tracking garbage parameters.
- It calls the Cuelinks API with your UUID as the sub_id parameter.
- Cuelinks returns a tracking URL that contains your publisher ID.
- LootBazaar generates a 6-character unique short code and saves the mapping.
- Your final link is: lootbazaar.net/l/{shortCode}
How Clicks are Tracked
When someone clicks your short link (lootbazaar.net/l/{code}), the redirect route looks up the short code in the publisher_links table, increments the clicks_count column, and redirects the user to the Cuelinks tracking URL. Cuelinks then handles the final redirect to the store.
๐ You can see your click counts for each link in the Publisher Dashboard under "Top Performing Links".
How a Sale is Attributed to You
- User clicks your link โ Cuelinks records their cookie with your UUID as sub_id.
- User buys the product (within the cookie window, usually 30 days).
- Store confirms the order to Cuelinks.
- Cuelinks fires a POST request to LootBazaar's postback endpoint with your UUID, order details, and commission.
- LootBazaar credits the commission to your wallet.
What Data is Tracked Per Transaction
| Field | Description |
|---|---|
| publisher_id | Your unique UUID |
| cuelinks_order_id | Unique transaction ID from Cuelinks |
| store_name | Which store the purchase was made on |
| order_amount | The cart total of the order |
| total_commission | Raw commission Cuelinks calculated |
| publisher_share | Your earnings (currently 100% of total_commission) |
| status | pending / confirmed / cancelled |
Start Tracking Your Sales
Generate your first tracked link and see your analytics in real time.
Generate Link โ