Facebook Custom Audience pixel on SinglePageApplication SPA
I have a SinglePageApplication built with AngularJs. I want too add Facebook Custom Audience tracking pixel globally and update it manually every time user changes page (url). Is it possible and if so, how? Reference: https://developers.facebook.com/docs/reference/ads-api/custom-audience-website-faq/ I managed to resolve this by loading _fbq object: <script> (function() { var _fbq = window._fbq || (window._fbq = []); if (!_fbq.loaded) { var fbds = document.createElement('script'); fbds.async = true; fbds.src = '//connect.facebook.net/en_US/fbds.js'; var s = document.getElementsByTagName(