Suggest a feature
×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Javascript
Posted by: user5f44c
Added: Jun 14, 2021 12:58 PM
Views: 229
Tags: no tags
  1. if(!window.fbq){
  2.  
  3. !function(f,b,e,v,n,t,s){if(f.fbq)return;n=f.fbq=function(){n.callMethod?
  4. n.callMethod.apply(n,arguments):n.queue.push(arguments)};if(!f._fbq)f._fbq=n;
  5. n.push=n;n.loaded=!0;n.version='2.0';n.queue=[];t=b.createElement(e);t.async=!0;
  6. t.src=v;s=b.getElementsByTagName(e)[0];s.parentNode.insertBefore(t,s)}(window,
  7. document,'script','//connect.facebook.net/en_US/fbevents.js');
  8.  
  9. fbq('init', '306776956581114');
  10. };
  11.  
  12.  fbq('trackCustom', "Lead - {{DLV eventLabel}}");</script>