Tagged: conversion, conversion tracking, facebook, pixel
-
AuthorPosts
-
December 17, 2014 at 8:33 pm #369717
Hi guys.
I feel dumb. All I can with websites is drag-n-drop. Still. But! I’d really like to connect a Facebook ad campaign to the webpage http://grote-schoonmaak.nl/zuid-holland/rotterdam-ijsselmonde/ using the conversion tracking pixel thingy. I should put the pixel-thingy in the code. But how do I do that, when my pages are all drag-n-drop Enfold-pages?
If anyone knows, I’d love to hear from you. I hope I’m not too off-topic here, sorry… Thanks!!
December 17, 2014 at 11:59 pm #369814Hey Remco!
What kind of code is it? Go ahead and paste it here.
You can try dragging over a codeblock element to your content and then paste the code inside.
Best regards,
Elliott- This reply was modified 9 years, 10 months ago by Elliott.
December 18, 2014 at 12:02 am #369816I did try that as a matter of fact, Elliot. Thank you.
And I’m not even sure how it shóuld work, but ik looks like it is measuring indeed. Pasting the code below:
<!– Facebook Conversion Code for LeadsPixel Emmen –>
<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’, ‘6025433469488’, {‘value’:’0.00′,’currency’:’EUR’}]);
</script>
<noscript></noscript>December 18, 2014 at 4:38 pm #370031Hey!
Please try adding following code to Functions.php file in Appearance > Editor
function add_custom_facebook(){ ?> <!– Facebook Conversion Code for LeadsPixel Emmen –> <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', '6025433469488', {'value':'0.00′,'currency':'EUR'}]); </script> <noscript></noscript> <?php } add_action('wp_footer', 'add_custom_facebook');
Cheers!
YigitMarch 11, 2016 at 2:52 am #596653HI Yigit, I realize this information is relatively old. Are there any new updates to this? Facebook says to install this code between <head> and </head>. What’s the best way to do that? Thank you!
<!– Facebook Pixel Code –>
<script>
!function(f,b,e,v,n,t,s){if(f.fbq)return;n=f.fbq=function(){n.callMethod?
n.callMethod.apply(n,arguments):n.queue.push(arguments)};if(!f._fbq)f._fbq=n;
n.push=n;n.loaded=!0;n.version=’2.0′;n.queue=[];t=b.createElement(e);t.async=!0;
t.src=v;s=b.getElementsByTagName(e)[0];s.parentNode.insertBefore(t,s)}(window,
document,’script’,’//connect.facebook.net/en_US/fbevents.js’);fbq(‘init’, ‘706682842808158’);
fbq(‘track’, “PageView”);</script>
<noscript><img height=”1″ width=”1″ style=”display:none”
src=”https://www.facebook.com/tr?id=706682842808158&ev=PageView&noscript=1″
/></noscript>
<!– End Facebook Pixel Code –>March 11, 2016 at 6:28 am #596700Hey!
Please add this in Enfold Options > Google Analytics Tracking Code
Regards,
Vinay KashyapMarch 11, 2016 at 8:24 pm #597024Thank you!!! I was hoping it would be that simple!
-
AuthorPosts
- The topic ‘Facebook Ads Conversion Tracking Pixel’ is closed to new replies.