Guides · 4 min
Macros and tags
How a link tells your analytics where the click came from.
01
Macros in the destination
A destination can contain {click_id}, {variant}, {campaign_id}, {link_id}, {flow_id} and {variant_id}. direqo fills them on every opening.
Every fact of the visitor works by its key too: {device} (desktop, mobile, tablet), {language} and {os} (ios, android, windows, macos, linux) from the browser, and the ones from the IP databases such as {country}. So does any tag or query parameter by its own name, such as {source}. When one name is taken twice, direqo's own macros come first, then the facts, then your tags, then query parameters. A name nobody fills stays empty.
02
Tags on addresses
An address carries tags such as source=tiktok or creative=v2. They show in the numbers per address and fill the macros of the same name.
In a link's Addresses, add tags to the query for a ready address to copy, such as ?source=tiktok, or make a separate address per source with its own slug.
03
The {variant} letter
{variant} expands to the letter shown in the app, A or B, so your analytics report reads the same way as your link.