Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #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!!

    #369814

    Hey 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.
    #369816

    I 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>

    #370031

    Hey!

    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!
    Yigit

    #596653

    HI 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&#8243;
    /></noscript>
    <!– End Facebook Pixel Code –>

    #596700

    Hey!

    Please add this in Enfold Options > Google Analytics Tracking Code

    Regards,
    Vinay Kashyap

    #597024

    Thank you!!! I was hoping it would be that simple!

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Facebook Ads Conversion Tracking Pixel’ is closed to new replies.