← All platforms
Install guide
Elementor
Elementor names form fields form_fields[id], which you can't change, so — like Gravity Forms — you populate hidden fields with a [mtk:…] token in the Default Value. The tag replaces it on load and at submit. Needs Elementor Pro (the Form widget is a Pro feature).
1
Add the tag to your site
Add the loader to your site's <head> on every page. Easiest routes:
- GTM — a Custom HTML tag firing on all pages (if the container is already installed), or
- a headers plugin — e.g. WPCode or Insert Headers and Footers → Header, or
- your theme's header (Appearance → Theme File Editor or a child theme's
header.php).
<script src="https://attr.boggsmtk.com/v1/tag.js?k=YOUR_LICENSE_KEY"></script>
Swap YOUR_LICENSE_KEYfor the client's key from the dashboard.
2
Edit the form and add a Hidden field
Edit the page with Elementor, click the Form widget, then in the left panel open Content → Form Fields and click + Add Item. On the new field, set Type to Hidden.
3
Paste the token into Default Value
On that hidden field:
- Set Default Value to the token, e.g.
[mtk:last.channel]. - Give the Label anything you like (e.g.
mtk_lt_channel) — it's only for your reference.
Add one hidden field per value you want to capture. Then click Update to save the page.
Where the tokens come from:Dashboard → the client's license → Tag config → Field map → the Token column (copy button on each). To verify, submit a test and check the entry under Elementor → Submissions.