Video tutorial · Meta (Facebook) Ads

Meta Ads Advanced Matching for form leads with Google Tag Manager (parts 1 and 2)

23 min · 2 partsSeptember 2024By John BernalWatch on YouTube
In shortA two-part tutorial to send form leads to Meta with Advanced Matching using Google Tag Manager. When a form only sends 'a lead happened', ad platforms can't tell which ad brought it. Sending the email and phone (with consent) lets them match the lead to a real person. You set up the base pixel and Lead event, save the email and phone from the form in a first-party session cookie, and debug it in Events Manager.

What you need before you start

Steps covered in the video

  1. Add the Meta base pixel and PageView in a Custom HTML tag, firing on all pages.
  2. Add the Lead event and test the form to pick the best trigger.
  3. Create a User-Provided Data variable with automatic collection.
  4. Add the tag that saves the form's email and phone in a first-party session cookie.
  5. Create GTM variables that read email and phone from that cookie.
  6. Test in Events Manager and Tag Assistant: PageView, Lead and Advanced Matching.

Resources

Recorded in September 2024. Some screens may look different today.

JB
John Bernal

Tracking and analytics consultant with 10+ years setting up GA4, Google Tag Manager, server-side tracking and ad platform conversions. Stape partner, Top Rated Plus on Upwork. About AnalyticsEngine

Related videos

Rather have someone set it up and keep it working?

Tracking & Analytics Ops is $500 a month per website. I set up your tracking, check it every day, fix what breaks and answer your analytics questions. AI does the daily checks; I make every decision.