Advertisement
Jawad_Khan

FB - Base Pixel - Without Pageview

Dec 18th, 2023
39
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.69 KB | None | 0 0
  1. <!-- Facebook Pixel Code -->
  2. <script>
  3. !function(f,b,e,v,n,t,s)
  4. {if(f.fbq)return;n=f.fbq=function(){n.callMethod?
  5. n.callMethod.apply(n,arguments):n.queue.push(arguments)};
  6. if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';
  7. n.queue=[];t=b.createElement(e);t.async=!0;
  8. t.src=v;s=b.getElementsByTagName(e)[0];
  9. s.parentNode.insertBefore(t,s)}(window, document,'script',
  10. 'https://connect.facebook.net/en_US/fbevents.js');
  11. fbq('init', '{your-pixel-id-goes-here}');
  12. </script>
  13. <noscript>
  14. <img height="1" width="1" style="display:none"
  15. src="https://www.facebook.com/tr?id={your-pixel-id-goes-here}&ev=PageView&noscript=1"/>
  16. </noscript>
  17. <!-- End Facebook Pixel Code -->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement