Skip to content

Conversions

Conversions

Measure what matters — leads, purchases, signups — right next to your click stats.

How it works

  1. You enable conversions for a link.
  2. ShortKit generates a click id (clid) for each visitor and appends it to your target URL automatically.
  3. On the first page after the redirect (entry page), you place a tiny snippet that saves the clid.
  4. On the “thank you” page, a second snippet sends the event (lead/purchase).
  5. Alternatively, your backend can send a server‑to‑server postback with the clid.

Enable conversions (per link)

  • Dashboard → Link → Rules & Settings → toggle “Track conversions”.
  • Target URL behavior:
    • Default: ShortKit appends ?clid=<id> (or &clid=) — nothing else to set up.

    • Using a custom param with {clickid}: place the macro in your target to inject the click id into your own field. Example:

      https://shop.example.com/checkout?cid={clickid}

      In this case ShortKit will NOT append clid again. If you use a custom param (e.g., cid), set that name in the entry snippet below.

Two snippets (JS SDK) Place one snippet on the entry page, and another on the “thank you” page.

Entry page (stores clid):

<script src="https://cdn.shortkit.io/sdk/shortkit.min.js"
data-shortkit
data-event="init"
data-clid-param="clid"></script>

If you used a custom param with {clickid}, set it here (for example cid):

<script src="https://cdn.shortkit.io/sdk/shortkit.min.js"
data-shortkit data-event="init" data-clid-param="cid"></script>

Thank‑you page (sends the event):

<script src="https://cdn.shortkit.io/sdk/shortkit.min.js" data-shortkit data-event="init"></script>
<script>
// Lead (no amount)
ShortKit('track', { event: 'lead' });
// Purchase (recommended to include order_id)
// ShortKit('track', {
// event: 'purchase',
// order_id: 'ORDER-123',
// amount: 49.90,
// currency: 'USD'
// });
</script>

Required vs optional

  • JS SDK: no required fields in the call itself (event defaults to lead).
    Recommended: provide order_id for purchases; add amount and currency if applicable.
  • Server postback: clid is required. Other fields are optional.

Server‑to‑server postback GET example:

GET https://track.shortkit.io/c
?clid=abcd1234...
&event=purchase
&order_id=ORDER-123
&amount=49.90
&currency=USD

POST JSON example:

POST https://track.shortkit.io/c
Content-Type: application/json
{
"clid": "abcd1234...",
"event": "purchase",
"order_id": "ORDER-123",
"amount": 49.90,
"currency": "USD"
}

Reporting

  • See conversions in the link’s Analytics: totals, by country, device, browser/OS, and by target URL.
  • CR% and revenue roll up into your daily summaries.

Duplicates & reliability

  • We deduplicate repeated events in the same session and only count new ones in aggregates.
  • Offline visitors? The JS snippet queues events and sends when back online.

Testing tips

  • Open your link, complete the flow, and watch “thank you” in DevTools → Network for track.shortkit.io/c.
  • Use a distinct order_id when testing purchases.

Plan notes

  • Conversions are available on Pro plans.