Skip to main content
If you cannot host JavaScript on your pages or need to record clicks from a backend service, you can create clicks by making a server-side HTTP request directly to your Everflow tracking domain. This returns a transaction ID that you can use for conversion attribution, just like the JavaScript SDK.
This method is for click tracking only. It does not apply to impression tracking or smart link tracking.

When to use server-side clicks

  • Your environment does not support JavaScript (email, SMS, native apps, server-to-server flows)
  • You need to record clicks from a backend service before redirecting the user
  • You want full control over when and how clicks are created

Creating a click

Make a GET request to your tracking domain’s /clk endpoint to receive a JSON response instead of a redirect:

Required parameters

Optional parameters

You can append any of the standard Everflow tracking parameters to the click URL. Common ones include: For the full list of supported parameters and macros, see the Parameters & Macros guide.

Response

Examples

Python

cURL

PHP

Using the transaction ID

Once you have the transaction_id, pass it when firing a conversion to attribute it back to this click. You can fire conversions via the JavaScript SDK, the Network API, or a server-side postback.