0
Welcome Guest! Login
0 items Join Now

SOLVED Adding Facebook Pixel to a Metropolois Magento site

    • jamesboon's Avatar
    • jamesboon
    • Sr. Rocketeer
    • Posts: 140
    • Thanks: 0

    SOLVED Adding Facebook Pixel to a Metropolois Magento site

    Posted 8 years 6 months ago
    • Hi, I need to add the Facebook Pixel code to a Magento site that uses your Metropolis theme.
      All I need to know is which file to add the code to, as the file structure is different to the tutorials I have found online.
      Thanks,
      James
    • Last Edit: 8 years 6 months ago by jamesboon.
    • Matt's Avatar
    • Matt
    • Preeminent Rocketeer
    • Posts: 22058
    • Thanks: 3191
    • messin' with stuff

    Re: SOLVED Adding Facebook Pixel to a Metropolois Magento site

    Posted 8 years 6 months ago
    • Nothing special about our file structure... I'd say go with what you've found online... we don't override any of the checkout pages which is presumably where you want to place the tracking pixel
    • SEARCH the forum first! These boards are rich in knowledge and vast in topics. This includes searching just the 'Solved' forums, using Google, and using ChatGPT :woohoo:
    • jamesboon's Avatar
    • jamesboon
    • Sr. Rocketeer
    • Posts: 140
    • Thanks: 0

    Re: SOLVED Adding Facebook Pixel to a Metropolois Magento site

    Posted 8 years 6 months ago
    • Matt wrote:
      Nothing special about our file structure... I'd say go with what you've found online... we don't override any of the checkout pages which is presumably where you want to place the tracking pixel

      Thanks, the online tutorials I have seen have a different file structure to what I see with Metropolis.
      Can you let me know the pat to the file I need, I can put the code in but am unable to find the file.
      Thanks,
      James
    • Matt's Avatar
    • Matt
    • Preeminent Rocketeer
    • Posts: 22058
    • Thanks: 3191
    • messin' with stuff

    Re: SOLVED Adding Facebook Pixel to a Metropolois Magento site

    Posted 8 years 6 months ago
    • Where do you want the pixel?
    • The following users have thanked you: jamesboon

    • SEARCH the forum first! These boards are rich in knowledge and vast in topics. This includes searching just the 'Solved' forums, using Google, and using ChatGPT :woohoo:
    • jamesboon's Avatar
    • jamesboon
    • Sr. Rocketeer
    • Posts: 140
    • Thanks: 0

    Re: SOLVED Adding Facebook Pixel to a Metropolois Magento site

    Posted 8 years 6 months ago
    • Hi they'd like to track all pages, so maybe in a header?
      I am really unsure
      Thanks
      James
    • Matt's Avatar
    • Matt
    • Preeminent Rocketeer
    • Posts: 22058
    • Thanks: 3191
    • messin' with stuff

    Re: SOLVED Adding Facebook Pixel to a Metropolois Magento site

    Posted 8 years 6 months ago
    • If the tracking pixel is inside a <script> or <meta> tag and you want it on all pages you can just add it to:

      System > Configuration > General > Design > HTML Head > Miscellaneous Scripts
    • Last Edit: 8 years 6 months ago by Matt.
    • The following users have thanked you: jamesboon

    • SEARCH the forum first! These boards are rich in knowledge and vast in topics. This includes searching just the 'Solved' forums, using Google, and using ChatGPT :woohoo:
    • jamesboon's Avatar
    • jamesboon
    • Sr. Rocketeer
    • Posts: 140
    • Thanks: 0

    Re: SOLVED Adding Facebook Pixel to a Metropolois Magento site

    Posted 8 years 6 months ago
    • This message contains only secure information that is visible to Matt, moderators and administrators
    • jamesboon's Avatar
    • jamesboon
    • Sr. Rocketeer
    • Posts: 140
    • Thanks: 0

    Re: SOLVED Adding Facebook Pixel to a Metropolois Magento site

    Posted 8 years 6 months ago
    • This message contains only secure information that is visible to jamesboon, moderators and administrators
    • Matt's Avatar
    • Matt
    • Preeminent Rocketeer
    • Posts: 22058
    • Thanks: 3191
    • messin' with stuff

    Re: SOLVED Adding Facebook Pixel to a Metropolois Magento site

    Posted 8 years 6 months ago
    • I'm no FB Pixel expert, but I see that script loading in your <head> currently... so looks good I reckon...

      technically that <noscript> tag isn't allowed in the <head> with XHTML DocType -- but I think it'll still fire, even if it's not strictly valid... it's a fallback in case the user isn't running javascript... but if the user isn't running javascript Magento is just going to break all over anyways...
    • Last Edit: 8 years 6 months ago by Matt.
    • SEARCH the forum first! These boards are rich in knowledge and vast in topics. This includes searching just the 'Solved' forums, using Google, and using ChatGPT :woohoo:
    • Matt's Avatar
    • Matt
    • Preeminent Rocketeer
    • Posts: 22058
    • Thanks: 3191
    • messin' with stuff

    Re: SOLVED Adding Facebook Pixel to a Metropolois Magento site

    Posted 8 years 6 months ago
    • eh, I'd say go ahead and remove the <noscript>...</noscript> portion just to keep it valid
    • The following users have thanked you: jamesboon

    • SEARCH the forum first! These boards are rich in knowledge and vast in topics. This includes searching just the 'Solved' forums, using Google, and using ChatGPT :woohoo:

Time to create page: 0.055 seconds