Google Tag Manager - Custom Templates guide

Guide to creating a tag template using the Custom Templates feature of Google Tag Manager. The example will be based on the Facebook pixel. NOTE! At 38:51, there's a mistake. The fbq('set', 'autoConfig', false, id) and the surrounding if-block should be run *before* the fbq('init', id) command. This has been fixed in the Template file (see Gist link below) and the respective article (see link below). In addition to the learning resources listed below, you can find the FULL, FEATURE-READY Facebook Pixel Template I have created in this GitHub repository (yes yes, I know I said on the video I won't do Facebook's work for them, but I couldn't resist): https://github.com/sahava/GoogleTagMa... LEARNING RESOURCES: Custom Templates Guide For Google Tag Manager: https://www.simoahava.com/analytics/c... #GTMTips: Create Facebook Pixel Custom Tag Template: https://www.simoahava.com/analytics/c... The Facebook Pixel Template export file: https://gist.github.com/sahava/212fdb... Facebook's pixel implementation guide:   / implementation