Google Tag Manager (GTM) template for tracking ad clicks and conversions on your site. Sends events to the Magfi analytics backend.
- Page View
- Purchase
- Lead
- Sign Up
- Add to Cart
- Custom Events
- Click ID (
mgfclid) parsing and cookie persistence - Cross-session tracking with persistent visitor ID
- First-touch and last-touch attribution
- Google Consent Mode v2 support
- Import
template.tplinto GTM Template Editor - Create a new tag using the Magfi Pixel template
- Enter your Tracking ID
- Select the event type and configure triggers
| Cookie | Duration | Purpose |
|---|---|---|
mgfcid |
30 days | Session ID |
mgfcid_cid |
30 days | Click ID persistence |
mgfcid_uid |
365 days | Persistent visitor ID |
mgfcid_fcid |
365 days | First-touch click ID |
Apache 2.0