Conversion tracking
Add a conversion pixel to any short link
A tracking pixel for links is a tiny 1×1 image you load when a sale happens. Point an img tag at GET /c?s=SLUG&e=purchase&v=499&cur=INR and directinapp records one conversion — with its rupee value — against the link that drove it. No SDK, no cookie, no code beyond one line of HTML.
What is a tracking pixel for links?
A tracking pixel is a 1×1 image you load when a sale happens. Point an img tag at GET /c?s=SLUG&e=purchase&v=499&cur=INR and directinapp records one conversion — with its rupee value — against that link. No SDK, no cookie, just one line of HTML the customer never sees; the pixel carries no other metadata.
Why it matters
One line of HTML, no SDK
The pixel is a plain 1×1 GIF at /c on your thank-you page — <img src="https://api.directinapp.com/c?s=SLUG&e=purchase&v=499&cur=INR" width="1" height="1" alt="" />. Paste it, replace the slug, done. Nothing to install, and your customer never sees it.
Rupees, not just a hit
The pixel isn't only a counter. Pass v for the amount and cur for a 3-letter currency (INR by default) and every fire carries its real value, so your Conversions tab shows ₹ earned per link and a conversion rate against the link's actual clicks — not a bare tally.
Fires on every link, every plan
Ingestion is always on. The pixel is recorded on free-tier links too — so it keeps recording on free-tier links while you decide. Only VIEWING the reports needs the Business tier (a non-Business account gets a friendly upgrade prompt), and it's free for early birds this launch month.
Set it up
Three steps, no developer
Copy your link's slug
In directinapp, open the link you want to measure and copy its slug — the short code at the end of the URL. That slug is the s= value in the pixel (a link id works too, as l=).
Paste the 1×1 pixel on your thank-you page
On the page a buyer sees right after paying, drop: <img src="https://api.directinapp.com/c?s=YOUR_SLUG&e=purchase&v=499&cur=INR" width="1" height="1" alt="" />. Set e to your event name, v to the amount in rupees, cur to INR. v and cur are optional — keep them to know the rupees, not just the clicks. Reuse the same tag in a GA4 / Google Tag Manager Custom HTML tag if you'd rather fire it from your existing Purchase event.
Test once, then read it in Business
Run one real purchase so the pixel fires, then open the Conversions tab to see the count, ₹ value, rate, per-event breakdown and a feed of every sale. Recording is free and always on; upgrade to Business (or grab the free early-bird month) when you want to see the numbers — nothing recorded in the meantime is lost.
Frequently asked questions
What is a tracking pixel for links (a conversion pixel)?+
It's a 1×1 GIF you load the moment a sale happens. In directinapp you point an <img> tag at GET /c?s=SLUG&e=purchase&v=499&cur=INR — s is your link's slug (or l for a link id), e is the event name, v is the amount and cur is the 3-letter currency (INR by default). When the buyer's thank-you page loads that pixel, directinapp records one conversion against that link, with its ₹ value. The image is invisible, so the customer sees nothing.
How do I fire the pixel — do I need to write code?+
No. Paste one <img> tag on your thank-you / order-confirmed page and replace the slug — that's the whole setup. If you already run Google Tag Manager or GA4, drop the same tag into a Custom HTML tag and trigger it off your existing Purchase event. A hosted JavaScript SDK that auto-fires named events is on the roadmap; today you place the pixel yourself, which works right now on any page you control.
Can the pixel carry an order number or extra details?+
No — the pixel carries NO metadata. It only sends what's in the URL: slug (or link id), event name, value and currency. If you need to attach an orderId or other fields, use the server postback instead: POST /conversions with a JSON body that includes a metadata object. The postback is also more reliable, since it fires from your server even if the buyer closes the browser.
I sell in rupees but also take some dollar payments — will the totals mix?+
No. Set cur per fire (INR, USD, EUR, GBP or AED) and directinapp keeps each currency on its own line — ₹ INR up front, $ USD, and so on — never blind-summing across currencies into one meaningless number. Your conversion rate is shown as a percentage of the real clicks on that link.
Do I need the Business plan just to use the pixel?+
You can start firing the pixel today on any link, including free-tier links — ingestion is always on for every plan. What needs the Business tier is VIEWING the conversion reports; a non-Business account gets a 402 upgrade prompt when it opens them. So paste the pixel now, and upgrade — or take the free early-bird Business month this launch — when you want to read the numbers. Business is ₹999/mo or ₹9,999/yr (+ GST).
Can the pixel tell me which visitor or click made the sale?+
Not today, and we won't pretend otherwise. Attribution is per-LINK: a fire is tied to the short link (by slug or id), so you know which link drove N sales worth ₹X — not which individual click or visitor. Because of that, the feed's 'source' and 'where' columns are effectively empty. Per-visitor / per-click attribution (a dia_clid click id) is on the roadmap, but it isn't live yet.
More on conversion tracking
directinapp Business
The full conversion-tracking product — pricing, setup and a live demo.
Conversion tracking
Conversion tracking is measuring the real outcomes a link drives — a sale, a signup, a lead — not just the clicks. You tell your analytics tool "this counts as a conversion, worth this much," and it ties that outcome back to the link that earned it. directinapp does this per link today: fire a pixel or a postback when a sale happens, and see the count, the rupee value and the conversion rate for that exact link.
Instagram sales tracking
Yes — you can track sales and signups from an Instagram bio link or reel. Put your store or checkout behind a directinapp link, fire our pixel on your payment success page, and the Business report shows the count, rupee value and conversion rate that link drove. Because a bio or reel is one link, attribution is per-link — you know the link earned the sales, not which follower.
vs Linktree
Linktree tells you a link got clicked. directinapp tells you it drove 12 purchases worth Rs 5,988. On any link you can fire our tracking pixel or server postback with a sale value, and the Business tier shows conversion count, total value and conversion rate per link, per currency (INR/USD/EUR/GBP/AED). Today attribution is per-link, and payment-webhook auto-capture is on the roadmap.
Server postbacks
A server postback records a conversion by sending a POST /conversions call from your backend to directinapp. You send JSON with the link's slug, an event name, value and currency, and the dashboard shows counts, total value and conversion rate per link. It is shipped and works today. Signed, HMAC-verified postbacks are on the roadmap.
Lead tracking
Yes — you can track leads and signups from any directinapp link today. Fire a "lead" or "signup" event from your form's thank-you page with our pixel or postback, and each link shows its lead count, conversion rate, and a per-event breakdown. Attribution is per-link today; per-visitor is on the roadmap.
Razorpay tracking
Yes — you can track Razorpay sales from your directinapp links today. Drop the directinapp pixel or server postback onto your Razorpay success page, and every paid order shows up against the link that drove it: order count, total rupees, and conversion rate. It's manual (you fire the pixel on success); automatic webhook capture is on the roadmap.
Stop losing clicks at the browser
Create your first smart link in under a minute and see where every tap really goes.
Start freeNo credit card required · 7-day free trial