All networks
MG

MGID tracking tokens & macros

On MGID, your spend is spread across thousands of publisher widgets, and the network already passes a click id back to your tracker on every visit. Append the macros below to your destination URL and ValidVisit attributes every click to the exact widget that served it, then scores that traffic 0-100 for quality.

Verified 2026-06-24Confirmed against the network's official documentation. MGID official docs

MGID fills the curly-brace macros at click time, so attribution is just a matter of which tokens you append. The required {click_id} gives each visit a unique, network-issued identifier that ValidVisit ties back to MGID, while {widget_id} is the token that actually names the publisher widget your click came from. Add {campaign_id} (required) to separate campaigns and {teaser_id} if you also want to see which creative pulled the click. These are plain URL parameters, so MGID's macros resolve to real values automatically once the link goes live.

Granularity at the {widget_id} level is what makes the data actionable: instead of an average across the whole campaign, you see a 0-100 quality score for each individual widget, so the invalid traffic and bots hiding inside one or two bad widgets stop dragging down the rest. ValidVisit only reports and scores after the click arrives, it never blocks or auto-excludes anything. When a widget scores poorly you act in MGID yourself, opening the campaign's Widgets tab and using Stop / Block widget to shut off the worst sub-sources (or blacklist the whole site).

Campaign ID *campaign
MGID macro
{campaign_id}
ValidVisit param
vv_campaign_id
Example
55501
Teaser (Creative)creative
MGID macro
{teaser_id}
ValidVisit param
vv_creative_id
Example
99012
Widget (Publisher)publisher
MGID macro
{widget_id}
ValidVisit param
vv_publisher_id
Example
33044
Click ID *click
MGID macro
{click_id}
ValidVisit param
vv_click_id
Example
ck_77

* required for MGID attribution.

Ready-to-use tracking URL
https://yoursite.com/landing?utm_source=mgid&utm_medium=native&vv_campaign_id={campaign_id}&vv_creative_id={teaser_id}&vv_publisher_id={widget_id}&vv_click_id={click_id}
Found a bad widget? Exclude it in MGID

ValidVisit scores each widget_id; stop the bad widgets in MGID's Widgets tab (or blacklist the whole site).

campaign Widgets tab → Stop / Block widget
Step-by-step →

MGID tracking token FAQs

Which token tells me which publisher the traffic came from?

{widget_id}. MGID widgets are the publisher placements your ads run on, so {widget_id} is the token ValidVisit scores when you want to judge a sub-source. {teaser_id} identifies the creative and {campaign_id} the campaign, but the widget is the unit you act on.

Do I need a funnel hop or click tracker to use these?

No. These are ordinary URL parameters appended to your destination link. MGID substitutes the real values into the curly-brace macros at click time, so {click_id} and {widget_id} arrive populated without any extra hop.

Where do I act once ValidVisit flags a bad widget?

In MGID, not in ValidVisit. ValidVisit only reports the score; you open the campaign's Widgets tab and choose Stop / Block widget for the widgets scoring poorly, or blacklist the whole site if needed.

Track MGID clicks — and catch the fake ones.

See which MGID publishers and placements send real, converting traffic vs. bots.

Just your email · no card · unsubscribe anytime · privacy policy

Free trial at launch · lock in early-access pricing

One script · raw IP never stored · GDPR legitimate-interest basis