I spent a few days figuring out how to install FB pixel and track anything with it. Finally got it working, and want to share how to do that.
I’m tracking four standard events: Page views, Trial subscriptions, Checkout initiated, and Paying subscriptions
And three custom events: 20 second time on page, upgrade subscription to better plan, initiate upgrade (check for pricing)
Hopefully that will help to those like me
#1 Create FB Pixel (obviously) → how to do that: Facebook PIXEL Tutorial for BEGINNERS - Facebook PIXEL UPDATE - NEW Facebook INTERFACE - YouTube
#2 Create Google Tag Manager account → how to do that (first 20 minutes) Google Tag Manager Tutorial for Beginners (2020) - YouTube
#3 Insert GTM (Google Tag Manager) script into your app. Same video. Not need any plugins, very simple to do. Just copy paste two times:
#4 Setup GTM with FB Pixel to track simple page events or button clicks (don’t use Pixel and GTM partner integration) → how to do that: [Complete Training] Facebook Pixel Tracking with Google Tag Manager - YouTube
Here is the list of Facebook Pixel Standard Events: Specifications for Facebook Pixel Standard Events | Facebook Business Help Center
To make a custom event to track anything, just add ‘Custom’ after ‘track’ → 'fbq(‘trackCustom’, ‘UserAskedQuestion’);
Started trial (standard event):
Subscribed to a plan (standard event):
Upgraded existing plan (custom event):
Worked as a charm :slight_smile (FB Pixel manager screenshot):
I’m ready to answer any related questions.