What MTK Attribution captures
Every value the tag can record about a lead, in plain language, with example values. Each visit (session) is a touch: first-touch fields (mtk_first_*) freeze the visit that started the journey and never change; last-touch fields (mtk_last_*) refresh each new session to reflect the visit that closed it. For the exact signals behind each value, see the data source reference.
Attribution dimensions (first & last touch)
Each of these exists twice — a frozen first-touch field and a refreshed last-touch field — so you always see both the visit that created the lead and the one that converted it.
mtk_first_channel / mtk_last_channelThe normalized traffic bucket — the highest-level answer to “where did this lead come from?”. Derived from click IDs, UTMs, and the referrer (see the classification rules for the exact logic).
Example values: Paid Search, Paid Social, Organic Search, Organic Social, Email, Referral, Campaign, Direct
mtk_first_source / mtk_last_sourceThe platform or site behind the visit — from utm_sourcewhen the visit was tagged (normalized to canonical platform names by default, so Meta's fb/ig arrive as Facebook/Instagram and paid search reads Google Ads — or verbatim, per license), otherwise recognized from the referrer, otherwise the referring domain itself. Direct when there was no referrer at all.
Example values: Google Ads, Facebook, Instagram, Google, Twitter/X, partnersite.com, Direct
mtk_first_medium / mtk_last_mediumThe raw utm_medium value exactly as it arrived on the landing URL. Channel is the clean grouping derived from it — medium preserves what the link actually said.
Example values: cpc, paid_social, email, referral
mtk_first_campaign / mtk_last_campaignThe utm_campaign value — the campaign name or ID your tracking template passed.
Example values: spring-sale-2026, 21837465120
mtk_first_term / mtk_last_termThe utm_term value. With the recommended Google Ads template this is the bidded keyword ({keyword}).
Example values: emergency roof repair, crm software
mtk_first_content / mtk_last_contentThe utm_content value — typically the ad or creative identifier ({creative} on Google, {{ad.name}} on Meta).
Example values: 705912348811, video-testimonial-v2
mtk_first_ad_placement / mtk_last_ad_placementThe utm_placement value — where the ad showed, when your template passes it (e.g. {{placement}} on Meta).
Example values: Instagram_Stories, facebook_feed, g
mtk_first_landing_page / mtk_last_landing_pageThe path of the first page of the session — no domain, no query string.
Example values: /blog/how-to-winterize-your-roof, /pricing, /
mtk_first_landing_page_group / mtk_last_landing_page_groupThe first URL path segment of the landing page — collapses hundreds of landing paths into the section of the site the visitor entered through. Empty only for homepage landings.
Example values: blog, services, pricing
mtk_first_query / mtk_last_queryThe landing page's full query string, leading ? included — the raw UTMs and click IDs exactly as they arrived, useful for auditing what a link really carried.
Example values: ?utm_source=google&utm_medium=cpc&gclid=Cj0K…
Click IDs & Meta identifiers
Captured for feeding conversions back to the ad platforms — offline conversion imports and Conversions API matching.
mtk_gclidThe gclid from the last paidtouch — pairs with Google Ads offline conversion import. Sticky, so a lead who clicked the ad and came back direct weeks later still carries the ID that earned the credit.
Example values: Cj0KCQjw…
mtk_gbraid / mtk_wbraidGoogle's privacy-preserving iOS click IDs (gbraid web-to-app, wbraid app-to-web) — present instead of a gclid on much iOS traffic. Kept from the last paid touch, same as the gclid.
Example values: 0AAAAA…
mtk_msclkidThe msclkid from Microsoft / Bing Ads, kept from the last paid touch. Its presence alone classifies the visit as Paid Search / Bing.
Example values: a1b2c3…
mtk_fbclid / mtk_fbc / mtk_fbpThe live fbclidURL parameter and Meta's _fbc / _fbp cookies — the match keys Meta Conversions API wants with an offline or server-side event.
Example values: IwAR2…, fb.1.1723…, fb.1.1698…
Journey & conversion insights
Computed across the whole journey rather than a single touch — captured once, at submit.
mtk_journey_stringThe whole journey as a readable string — one entry per session, oldest first. The single best field for understanding multi-touch leads at a glance.
Example values: Paid Social/Facebook > Organic Search/Google > Direct/Direct
mtk_journey_jsonThe same journey as a JSON array (timestamp, channel, source, campaign per touch) for parsing downstream.
Example values: [{"t":1722946…,"channel":"Paid Social",…}]
mtk_session_countHow many sessions (touchpoints) the visitor made before converting.
Example values: 1, 4
mtk_pageview_countTotal pages viewed across all of those sessions.
Example values: 3, 27
mtk_first_referrer / mtk_last_referrerThe full referring URL of the visit that started the journey (first) and the converting session (last). Empty on direct arrivals.
Example values: https://www.google.com/
mtk_last_paid_touchThe most recent paidtouchpoint (Paid Search or Paid Social) anywhere in the journey — sticky, so it survives even journeys long enough to rotate old touches out. A lead that converted on a Direct visit still shows the ad that influenced it. Empty when the journey never had a paid touch — making “non-empty” a one-filter test for ad-influenced leads.
Example values: Paid Social/Facebook, Paid Search/Google Ads
mtk_time_since_last_paid_touchHow long before conversion that last paid click happened — e.g. the lead converted two days after the ad. Compare against a platform's attribution window to argue influence the platform no longer counts.
Example values: 2d 6h, 14m
mtk_paid_touch_countHow many paid touches the whole journey had — the frequency picture behind a conversion (three ad clicks before converting reads very differently than one).
Example values: 0, 1, 3
mtk_time_to_conversionFirst touch → submit, human-readable. How long the lead took to decide.
Example values: 12d 4h, 3h 41m, 6m
mtk_conversion_unix / mtk_conversion_datetimeSubmit time as Unix seconds (drops straight into Meta CAPI event_time) and as yyyy-MM-dd HH:mm:ss±HH:mm (the format Google Ads offline conversion import expects).
Example values: 1754462096, 2026-08-06 09:14:56-04:00
mtk_custom_conversion_timeSubmit time shaped for the client's CRM or spreadsheet — the format (US, international, Unix, or Google-style), month name, hours/minutes/seconds, and an optional timezone override are all configured per license in the dashboard.
Example values: 08/06/2026 09:14, 6 Aug 2026, 1754462096
mtk_attribution_summaryEvery other captured field rolled into one name: value | name: value string — for CRMs that only give you a single field to work with. Empty values are skipped.
Example values: mtk_first_channel: Paid Social | mtk_first_source: Facebook | mtk_last_channel: Organic Search | …
A worked example
A homeowner clicks a Facebook ad to a blog post, leaves, googles the company five days later, lands on the site, and submits the contact form. The lead arrives with (among others):
mtk_first_channelPaid Socialmtk_first_sourceFacebookmtk_first_campaignroof-replacement-springmtk_first_landing_page/blog/how-to-winterize-your-roofmtk_first_landing_page_groupblogmtk_last_channelOrganic Searchmtk_last_sourceGooglemtk_last_landing_page/contactmtk_last_landing_page_groupcontactmtk_journey_stringPaid Social/Facebook > Organic Search/Googlemtk_session_count2mtk_time_to_conversion5d 2hmtk_last_paid_touchPaid Social/Facebookmtk_time_since_last_paid_touch5d 2hmtk_paid_touch_count1Report on first touch to see what creates demand (the Facebook ad gets credit), last touch to see what closes it (the Google search), or the touch path for the full story.
Want richer campaign data in these fields? Set up the recommended UTM parameters on your ad platforms.
Capturing these values makes the site operator the data controller for them: disclose attribution tracking in the site's privacy policy and collect any visitor consent the region requires (GDPR, CCPA/CPRA, and similar). MTK sets no third-party cookies and does no cross-site tracking — it reads first-party cookies the site's own ad tags already set. Full detail in our privacy policy and terms.