Facebook extension loading | Community
Skip to main content
Level 4
November 8, 2018
Solved

Facebook extension loading

  • November 8, 2018
  • 1 reply
  • 2298 views

Hi,

seems that when you add the Facebook extension to your lib, but you do not express an explicit use of the pixel through one of the standard action choices (e.g. add action "Extension = Facebook Pixel", "Action Type = Send Page View"), the Facebook pixel code is not loaded.

We encountered this problem on one of our sites, where we configure the extension with it's pixel ID, but where we have custom javascript code to make the "fbq" calls. The pixel code is not loaded, and thus facebook pixels are not fired...

What is the reasoning behind this except maybe for some lib code optimalisation?

Stefan

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Stewart_Schilling

Optimization is exactly why.

https://medium.com/launch-by-adobe/optimizing-javascript-through-scope-hoisting-47c132ef27e4

1 reply

Stewart_Schilling
Community Advisor
Stewart_SchillingCommunity AdvisorAccepted solution
Community Advisor
November 9, 2018