Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #421509

    Hi, I have no clue where to insert my tracking pixel so that every page of my site has this code. Can you help? Thanks. :)

    #421668

    Hey!

    Try adding this at the very end of your theme / child theme functions.php file:

    function add_code_to_all_pages() {
    ?>
    PUT CODE HERE
    <?php
    }
    add_action('wp_footer', 'add_code_to_all_pages');
    

    Cheers!
    Josue

    #435739

    Hi, I want to do thesame. I go to appearance->editor->functions.php and added code from above replay with my tracking code from FB but it doesnt work. FB Pixel Helper (choreme plugin) cant find code…

    What I do wrong?

    Printcreen:
    http://screencast.com/t/77RUeBSy
    http://screencast.com/t/yccOctHkAZ

    Edit:
    FB Pixel Helper cant find code only on main site. Every other site have code… What is wrong?

    #435749

    Hey!

    Empty your WP Super Cache cache.

    Best regards,
    Josue

    #435827

    Nice, done. Thank you!

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Facebook Retargeting Pixel’ is closed to new replies.