Skip to main content

Integration setup

Tracker Integration​

To send data correctly to ZM apps, you need to set up the parameters being passed. Depending on your strategy, you can pass parameters either via a simple link or using naming.

  • In your traffic source settings, add parameters to send data. You can use any names, like sub1, subid1, or token1. These are optional for ZM apps to work.
  • Make sure to include a unique ID {exid}. This is required and should be the first parameter in the link.
Example link with parameters:

https://example.com?sub1={exid}&sub2={sub2}&sub3={sub3}

App Bundle in the link

You can automatically send the app’s bundle ID to the tracker. Just use the bundle macro in one of the parameters.

https://example.com?sub1={exid}&sub2={sub2}&sub3={sub3}&sub4={bundle}

The bundle parameter won't show in the final link but will be sent to the tracker.

Passing Parameters via Naming​

How to get your naming

If you haven’t created naming yet, here’s a detailed guide.

If you're using naming, you can add dynamic parameters into the link. This helps track where the traffic came from and which campaign it belongs to.

Example of such a link:

https://domain.com/{subX}?sub1={exid}&sub3={sub3}&sub4={sub4}&sub5={sub5}

where:

  • {subX} – a dynamic part of the link, replaced by the campaign ID or other label.
  • {exid} – a unique identifier.
  • {sub3}, {sub4}, {sub5} – extra parameters if you want to send more data.

Once your link is ready, you can set the campaign key in the naming.

Example:

rent://YOUR_NAMING_HERE/subX={campaignid}/sub3={sub3}/sub4={sub4}/sub5={sub5}

App Bundle in Naming

You can also pass app info to the tracker using the bundle macro. Just add bundle to both the tracking link and the naming.

Example:

Link:

https://example.com?sub1={exid}&sub2={sub2}&sub3={sub3}&sub4={bundle}

Naming:

rent://YOUR_NAMING_HERE/sub2={sub2}/sub3={sub3}/sub4={bundle}


Setting Up Postback​

  1. Add the postback URL in your tracker settings:
ZM apps postback URL:

https://tools.zm.app/pb/?exid={token}&action={status}

  1. Replace {token} with the macro that holds the exid.
    Depending on your tracker, this macro could be named sub1, click_id, or another parameter that holds the user ID.
Example:

If you're using sub1 for exid, the link would be:
https://tools.zm.app/pb/?exid={sub1}&action={status}

  1. Replace {status} with the conversion status. Currently, ZM apps accepts:
  • reg – for registration

    Postback example for registration:

    https://tools.zm.app/pb/?exid={token}&action=reg

  • dep – for deposit

    Postback example for deposit:

    https://tools.zm.app/pb/?exid={token}&action=dep

Make sure this postback URL is added to your traffic source or campaign settings.

Info

For better tracking, you can also send deposit amount and currency.

Parameters:

  • payout – amount paid
  • currency – currency used (USD, EUR, etc.)

Example postback with amount and currency:

https://tools.zm.app/pb/?exid=abc12345&action=dep&payout=1.05&currency=EUR

Integration Examples​

Settings may vary depending on the tracker. We’ve prepared guides for popular platforms:

Choose your tracker and follow the setup guide.

Direct integration with the partner network​

ZM apps can be connected to a partner network directly, without using a third-party tracker.

For the integration to work correctly, you need to pass the following parameters:

  • exid — a mandatory parameter. It should always contain the UUID of a specific event from the partner network (e.g., subid, clickid, aff_sub, etc.).
  • Additionally, you may pass payout, currency, and other parameters — as long as they are supported by the network.

To send conversions to ZM apps, specify our postback URL in the partner network:

https://tools.zm.app/pb/?exid={exid}&action={status}
  • {exid} is replaced with the UUID macro of a specific event from the partner network.
  • {status} is replaced with the event type:
    • reg — registration
    • dep — deposit
IMPORTANT

Each partner network has its own macros and naming conventions.
Before setting up, check with your manager which tokens should be used for exid and additional parameters.