Copy link to clipboard
Copied
Hello,
My Facebook Conversion Codes (JAVASCRIPT) for Facebook Ads is breaking up into 2 parts when viewing under "view source" code, but looks fine from the backend of Business Catalyst. This break is causing the script to not function properly.
Our instructions were to paste the code into the <head></head> tags.
This was the code provided to me to install onto the backend:
<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('script')[0];
s.parentNode.insertBefore(fbds, s);
_fbq.loaded = true;
}
})();
window._fbq = window._fbq || [];
window._fbq.push(['track', '6038042986520', {'value':'0.00','currency':'USD'}]);
</script>
<noscript><img height="1" width="1" alt="" style="display:none" src="https://www.facebook.com/tr?ev=6038042986520&cd[value]=0.00&cd[currency]=USD&noscript=1" /></noscript>
Here's a screenshot of the "view source" code:
Here's how it looks on the backend in Business Catalyst:
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more