Facebook Ads Advanced Matching for Form Leads Part 1.1. GTM Client Side setup
Analytics Engine Analytics Engine
53 subscribers
16 views
1

 Published On Sep 17, 2024

a. Requirement
i. GTM Client Side installed
ii. GTM Publisher access
iii. FB Base pixel activated under the Events Manager
iv. Optional: FB Pixel Helper installed plugin
v. FB Events Manager and access to the production pixel
vi. A Lead Form (Wordpress Elementor)

b. Steps
i. Set FB Base Pixel and PageView Event
1. Add the FB Base Pixel
a. Copy it from Github:
https://github.com/jjbernalgarcia/adv...
b. Add the code in a Custom HTML Tag
c. Set the All Pages trigger

ii. Add FB Lead Event
1. Copy it from Github:
https://github.com/jbernalgarcia/adva...
2. Add the code in a Custom HTML Tag
3. Test the form and determine what is the best trigger

iii. Setup an Advanced Matching
1. Create a User-Provided data variable and set automatic collection
2. Custom HTML User-provided First Party Session Cookie - Tag
a. Copy the code from Github:
https://github.com/jbernalgarcia/user...
3. Create the GTM First party Variable Email from the Session Cookie
4. Create the GTM First party Variable Phone from the Session Cookie

iv. Audit + Debugging
1. Go to FB Events Manager and activate the test for client-side events
2. Activate GTM Client side Tag Assistant
3. Test the conversions
4. Identify the PageView, Lead, and Advanced Matching setup

show more

Share/Embed