Before you start
Have these ready. You don't need all of them on day one, and you can add the rest later.
- Your TikTok login, if you post videos for your brand yourself.
- The TikTok handles of your creators, for example
@adaglows. - A login to where your website is edited (Webflow, Framer, WordPress, Shopify, Wix, or your developer). You'll paste one line there.
- A login to where you take payments: Stripe, Paddle, Polar, Lemon Squeezy, or RevenueCat for phone apps.
Words we use
| Tracking link | A short link made for one video, like go.vidledger.com/ada-cream. Creators put it in their bio or caption. Each tap is counted for that video. |
|---|---|
| Code | A short word like ADA03 that belongs to one video. Creators say it in the video. When a buyer types it at checkout, the sale goes to that video. |
| Snippet | One line you paste into your website once. It remembers which video sent each visitor for 30 days. |
| Webhook | A message your payment platform sends us whenever someone pays or gets a refund. You set it up once by copying a web address from VidLedger into your payment platform. |
| Workspace | Your brand's space in VidLedger, with its own videos, creators and numbers. You can have more than one. |
1. Make your account
Sign up
Go to vidledger.vercel.app/signup and sign up with your email or with Google.
Answer two quick questions
Type your app or business name and your website or app store link. Then pick who posts your videos:
- Creators I pay: you work with UGC creators or influencers.
- My own TikTok accounts: you post on your brand's TikTok yourself.
Pick both if you do both. Your answer only changes which steps we show you.
Open the Setup page
In the app, click Setup in the top menu (on a phone, it's in the menu at the top right). It shows a checklist with a green tick next to each step you finish. This guide follows the same order.
2. Connect your TikTok
Skip this if only creators post for you.
Click “Connect TikTok”
Go to Creators and open your own account. Under Connect your TikTok, press Connect TikTok. TikTok opens and asks you to log in and allow VidLedger to read your public videos.
Allow access
Press Authorize. VidLedger can only read. It never posts, comments, or changes anything on your account.
Your videos arrive
Your posts from the last 30 days appear on the Videos page with their views. Each new post gets its own link and code by itself, and views update every day. You never type views in.
3. Add your creators
Add a creator
Go to Creators, press Add and choose Someone I pay. Type their TikTok handle (for example @adaglows) and press Find on TikTok. We check the account exists and show its photo so you know it's the right person. Name, city and rates are optional.
Send them their invite link
VidLedger gives you a link to send the creator by text, email or DM. When they open it, they make a free account and prove the TikTok is theirs. They paste a short code into their TikTok bio for a moment, we spot it within seconds, and they can remove it straight after.
Set how you pay them (optional)
Open a creator and choose how you pay. You can combine these:
- a flat fee per video,
- an amount per 1,000 views, with an optional cap,
- a commission (a % of the revenue their videos bring in), for a set number of months or forever,
- an amount per new paying customer,
- a bonus when a video reaches a number of views.
VidLedger then works out what each creator has earned so you don't need a spreadsheet.
4. Create tracking links
Every video gets its own link and its own code. That is how VidLedger knows which video made the money.
Click “New tracking link”
It's the dark button at the top of every page.
Fill in the form
- Creator: who made the video.
- TikTok video link: if it's posted already, paste its link and we fill in the title and cover. If it isn't posted yet, leave it empty. You'll get the link and code to put in the video, and the post joins up by itself once it's live.
- Where should people land? Your website or a landing page.
- Creator fee and code are optional. We make a code for you if you leave it empty.
Give the link and code to the creator
The creator puts the link in their bio (or uses their VidLedger link-in-bio page) and says the code in the video, for example "use code ADA03 for 20% off". Taps start counting straight away.
5. Add the snippet to your site
This lets VidLedger remember which video each visitor came from and pass it on to your checkout, so the payment lands on the right video. You paste it once and never touch it again. If someone else looks after your website, send them this section.
Copy your snippet
Go to Setup → Website tab and press Copy. It looks like this, with your own key:
<script src="https://vidledger.vercel.app/v1.js" data-key="vl_pub_..." defer></script>Paste it into your website's “head”
Where to paste it on common website builders:
| Webflow | Site settings → Custom code → Head code → paste → Save → Publish. |
|---|---|
| Framer | Site settings → General → Custom code → “Start of <head> tag” → paste → Publish. |
| WordPress | Install a free plugin such as “WPCode”, add a new header snippet, paste, and set it to show on the whole site. |
| Shopify | Online Store → Themes → ⋯ → Edit code → theme.liquid → paste just above </head> → Save. |
| Wix | Settings → Custom code → Add custom code → paste → “Head” → All pages → Apply. |
| Squarespace | Settings → Advanced → Code injection → Header → paste → Save. |
| Your own code | Paste it in the <head> of your main layout file. |
Open your website once
Visit your own site in a browser. Setup turns green and says the snippet is running. That's the check.
Free sign-ups are counted too
Nothing to add. When someone who came from a video fills in your sign-up form (an email and a password), the snippet counts a sign-up for that video. VidLedger only receives a scrambled fingerprint of the email, never the email itself or the password.
Sign up with Google, Apple or a magic link? Those happen on Google's or Apple's page and on your server, where the snippet can't see them. Your developer pastes the code for your login tool below, once. From then on every new account is counted under your own user id, whichever way people sign up. Logins never count, and nobody is counted twice.
// Add once, next to where you create your Supabase client (browser side) supabase.auth.onAuthStateChange((event, session) => { const user = session?.user; if (!user || (event !== "SIGNED_IN" && event !== "INITIAL_SESSION")) return; // only accounts made in the last 10 minutes, so logins never count const isNew = Date.now() - new Date(user.created_at).getTime() < 10 * 60 * 1000; if (isNew) (window.vlq = window.vlq || []).push(["identify", user.id]); });
6. Connect your payments
Go to Settings → Payments and pick where you take money: Stripe, Paddle, Polar, Lemon Squeezy, RevenueCat or Something else. You only need the one you use. Payments, renewals and refunds are then written next to the video that sent the customer.
Stripe
Add a webhook in Stripe
In Stripe go to Developers → Webhooks → Add endpoint. Copy the Endpoint URL from the Stripe tab in VidLedger's Settings → Payments and paste it in.
Tick three events
Choose checkout.session.completed, invoice.paid and charge.refunded, then save the endpoint.
Copy the secret back
Open the endpoint, reveal its signing secret (it starts with whsec_), paste it into VidLedger and press Save. VidLedger only reads payments, renewals and refunds. It never charges your customers or moves your money.
Paddle
Make a webhook in Paddle
In Paddle go to Developer tools → Notifications → New destination and choose type webhook.
Paste our address and tick the events
Copy the Endpoint URL from the Paddle tab in VidLedger's Settings → Payments into Paddle. Tick these events: transaction.completed, adjustment.created, adjustment.updated. Save.
Copy the secret back
Open the destination you just made, copy its secret key (it starts with pdl_ntfset_) and paste it into VidLedger. Press Save.
Polar
In Polar go to Settings → Webhooks → Add Endpoint, format Raw. Paste the Endpoint URL from VidLedger's Polar tab, tick order.paid and order.refunded, and save. Polar shows a secret: paste it into VidLedger.
Lemon Squeezy
In Lemon Squeezy go to Settings → Webhooks → +. Paste the Endpoint URL from VidLedger's Lemon Squeezy tab and tick order_created, order_refunded and subscription_payment_success. Lemon Squeezy asks you to make up a signing secret: type any long random text, then type the same text into VidLedger.
RevenueCat (iPhone and Android apps)
In RevenueCat go to Integrations → Webhooks. Copy the Webhook URL and the Authorization header from VidLedger's RevenueCat tab into RevenueCat and save.
7. Check it works
- Open one of your tracking links on your phone. Within a minute the tap shows on that video.
- Make a test purchase (Stripe's and Paddle's test modes work) or wait for a real one.
- The sale appears on Overview and in that video's panel, and the last step on Setup turns green. You're set up.
Using VidLedger day to day
- Overview: revenue, views, taps, sign-ups, paying customers and return for the dates you choose, with your best videos.
- Videos: every video as a card. Click one to see its revenue by day since posting, its funnel, and its link and code. Sort by most revenue to find the post worth boosting with Spark Ads.
- Creators: each creator's videos, earnings, return and verification status.
- Campaigns: a board with columns for briefed, filming, in review and posted. Late videos turn red and you can send a reminder in one tap.
- Reports: a shareable report for a creator or campaign, also as a PDF.
- Link in bio: a simple page for your TikTok bio that keeps every link tracked.
Views update by themselves every day. If a number ever looks wrong, open the video and use “Number looks wrong? Correct it”.
Paying creators
Go to Payouts. Based on each creator's pay settings (flat fee, views, commission, per customer, bonus), VidLedger shows what you owe for the month. Check it, change the amount if you agreed something different, then press Approve and send. Add a note like “Paid on the 1st by PayPal” to keep a record. You pay the creator the way you normally do. VidLedger keeps the numbers and the history.
For creators
Creators use VidLedger free, forever.
- Open the invite link a brand sent you, or sign up and choose “I'm a creator”.
- Prove your TikTok is yours by putting the short code in your bio for a moment.
- Say the brand's code in your video and put your link in your bio. Your views, taps and sales fill in by themselves.
- Share your public page (vidledger.vercel.app/c/yourhandle) with new brands. It shows real, verified results that nobody can edit, which is stronger proof than a screenshot.
For developers
Everything above works without code. If you want more control:
- Sign-ups: email and password sign-up forms are counted on their own. For Google or Apple sign-in, or to use your own user ids, call
vidledger.identify(userId)after a sign-up; it never counts the same person twice. Adddata-auto="off"to the script tag to turn the automatic count off. - Paddle.js: pass
customData: vidledger.customData()toPaddle.Checkout.open. - Polar API checkouts: add
metadata: { vl_click, vl_code }, or setexternal_customer_idto your user id. - Subdomains: add
data-domain=".yourapp.com"to the script tag to share the click betweenwww.andapp.. - Server-side conversions: make a server key in Settings → Payments → Something else, then send a
POSTto/api/v1/conversionswith the amount, currency, customer, and theclick_idorcode. The key is shown once, so keep it on your server.
Code for each platform is in the developers section of the home page.
Problems and fixes
Setup says the snippet isn't running
Make sure you pasted it in the head on every page, published your site (many builders need a Publish click), and then opened the live site once, not the editor preview.
Taps show, but no sales
Either payments aren't connected yet (step 6), or the snippet isn't on the page where checkout starts. Also check that the buyer used the video's link or code.
A creator can't verify
The code must be in the TikTok bio, not the name, and saved. If they have more than one TikTok account on their phone, they need to switch to the right one before editing the bio.
A video's views look wrong
Views refresh once a day, so a brand-new post can lag for up to a day. If it still looks wrong, open the video and correct it.
I use a payment platform that isn't listed
Choose Something else in Settings → Payments to make a server key, and send sales from your server (see For developers).