How to install the Facebook Retargeting Pixel with GTM (2018): Part 1
Articles Blog

How to install the Facebook Retargeting Pixel with GTM (2018): Part 1

41 thoughts on “How to install the Facebook Retargeting Pixel with GTM (2018): Part 1

  1. Hello, thanks for the tutorials, they really help me. But I'm a little confused. I installed my pixel completely different with a certain code named: window.google_tag_manager[{{Container ID}}].onHtmlSuccess({{HTML ID}}); That's the only one I have..

    But I see you installed pixel base code and then also one for all pages?

  2. Hi ,thank you..your videos are really helpful
    But i have a question.
    Whats the real difference between cpc ( cost per click) and cpa( cost per action)
    Do money is charged on specific action ….like on purchase, leads..
    Or cpa is just a elaboration of cpc,in which its tells u more in detail about conversion happened .

  3. What about the firing setting? FB suggests to fire the base tag "once per page" instead of "once per event".

  4. I am new to this, does this tag fire only when a person gets to your website by clicking on any of your FB ads? If so how do you track the clicks on the individual FB ads to measure their performance? Do you need pixel code installed for each one? Or does it fire whenever your website is visited by someone and tells FB?

  5. Hi, Julian!
    How can I set up cross domain tracking in GTM for a FB Pixel? Is it the same process as for a GA tracking code?

  6. Are there any ways to filter out the traffic coming from certain IP addresses, or any other types of traffic filters in FBA? Thanks

  7. Hi, Julian, thanks for the vids, you have been a great help, but I seem to have encountered something strange:
    1) In the preview console I can see that my tag fire
    2) But the Pixel Helper does not how information about the tags, it shows only pageview trigger with an error saying: facebook_pixel_did_not_load_description
    3) When I open Facebook Pixel, there is no data gathered, BUT!
    4) When I open Facebook Analytics, I can see the list of tags fired, although some frequencies seem to be incomplete. (I am also trying your other video with "Add To Cart" tag

    Where could be the problem with the Facebook Helper?

  8. I setup everything according to your steps but atlast in extension it shows the " ERROR in PageView i.e, The Facebook pixel code on this page didn't load, so no information was sent to Facebook.. I am unable to understand why i getting that, even when bothof the tags FB Pixel Base Code and FB Pageview fires on page load/refreshing window..

  9. Super. Awesome. Video. Good pacing and explanation. I have a lot of FB experience but hadn't added the pixel with GTM before. Worked 100%!

  10. Hi Julian, what is the main importance to set the tag priority "99" to be fired first, before ohter tags (ex. linkedIn marketing solutions or GA) ? Thanks !!

  11. Hi Julian, thank you for your video. Can you share with me the benefits of installing the facebook pixel on GTM, if I already have both on my website? Does it get me more accurate conversions tracking eg. view on mobile & convert on desktop?

  12. Should the base without the page view code have 'once per event' selected or 'once per page' ? The last gtm fb pixel tutorial you said to select 'once per page'

  13. Hi Julian, thanks for the tutorial. I see in your video that you get alot of "gtm-msr.appspot" referrals.

    In a previous video you provided a workaround to this issue. Can we still use that technique and is it still needed?

  14. I've subscribed. I am a newby and this was very very helpful. Thank you. I am going for part 2 now. Thumbs Up!

  15. Hi, I have follow your steps but when I go to Pixel Event helper it says "The Facebook pixel code on this page didn't load, so no information was sent to Facebook.Learn more" This is very weird because when I follow your instructions and show the preview mode, it told me the pixels where being fired… It looks like if there was a problem when communicating the events with Facebook.

  16. Quick question – When I copy the HTML from facebook and go to put it in GTM, I have one extra line of code that isn't showing on your video. Do I need it? And what does it do? I attached the code below. The code in question is the middle one.

    fbq('init', 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx');
    fbq('set','agent','tmgoogletagmanager', 'xxxxxxxxxxxxxxx');
    fbq('track', "ViewContent");

  17. Hi Julian, how would you distinguish between properties while inserting a pixel using GTM? e.g. I want my FB pixel to only fire on my main website, not my demo website

  18. If Facobook Pixel Helper comes back with an error. You need to de-activate AdBlock as guys mentioned below. But if that didn't help try going to:
    1. Chrome's settings
    2. Privacy and Security
    3. Scroll down until you see Send a "Do Not Track" request with your browsing traffic
    4. Tick the box.
    This worked for me, hope you'll find this helpful.
    EDIT: Also try removing any third party VPN extensions. They were messing with GTM and Pixel too.

  19. Hi Julian, I must say you almost open a treasure box through your videos.

    Just one question – If we run multiple conversion based campaigns on Facebook with multiple landing pages on the website.

    So, do we need to create multiple triggers and tags for this?

    Thanks in advance.

  20. Is there a reason why you wouldn't keep the Pageview event in the base code tracking since that is pretty standard anyway? Just curious…

  21. Does it work for you? I implemented this but after 24 hrs, pixels isn't picking up anything anymore. Pixels in website seems okay, the helper is not showing any issues, no ad blocker in my chrome, GTM is firing the pixels in every page. But I still get 6 total page view from the same day I installed it like 25 days ago. Hmm does it mean that this method doesn't work anymore due to updates? Or am I missing one final step?


  22. I use Google Sites for hosting and this just doesn't seem to work. Can anyone confirm if you can use Facebook Pixels with a site hosted by Google? Or am I stuck with Google Analytics?

  23. Hi Julian, great content as usual! Quick question, I'm currently trying to deploy a FB pixel on an eCommerce website (subdomain!!). For some reason, it does not return any event to FB events manager. Any thoughts? Thanks

  24. Hello Julian,

    Great content available here, but i am still facing problem to create new variables for Facebook Conversion i.e, purchase event. Please guide me through for setup successful event on Google Tag Manager.


  25. Is it possible to fire Facebook pixel only if visitor have landed to a certain page via a Google Ad? Other visits at that page will not be counted.

Leave a Reply

Your email address will not be published. Required fields are marked *

Back To Top