We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Where do I find my headers to add a Facebook tracking pixel?

How Do I?

Jamie I's avatar
Jamie I
4 posts
8 years ago
Jamie I's avatar Jamie I

I started a new job and we’re all content managers, but no one has experience with the Expression Engine back end so we’re trying to piece everything together as it arises (scary). Currently, I’m trying to add the new Facebook tracking pixel, but I can’t find the “header” where everyone tells me to add it. Help?

       
Jeremy S.'s avatar
Jeremy S.
353 posts
8 years ago
Jeremy S.'s avatar Jeremy S.

Since EE lets you do things a multitude of different ways, there is no one place to find it. The likely places would be within the Templates, the Snippets or the Global Variables. Beyond that, without seeing the backend, or knowing how the site was constructed, it’s hard to say. Where have you looked?

       
Jamie I's avatar
Jamie I
4 posts
8 years ago
Jamie I's avatar Jamie I

Thanks for the direction on where to look! It looks like it’s under embeds, but it looks like there’s 10 different headers. How do I know which is being used and where?

       
Jeremy S.'s avatar
Jeremy S.
353 posts
8 years ago
Jeremy S.'s avatar Jeremy S.

Embeds meaning a folder under ‘Templates Manager’ named that, correct? BTW which version of EE you using?

10 headers? I’d need to see, but that doesn’t sound like the original developer really understood how ExpressionEngine works. To see what header embeds are used where, you’ll need to check the template code for what’s referenced. You’ll be looking for something like:

{embed="embeds/(header template name here)"} near the top of the template.

For example to find the home page, it should be the index template of the default group. Within Templates Manager, look for the ‘Group’ name that has an asterix (*) in front of the name. Often named *site or *default.

In most cases there should be only 1 header, especially for public facing pages, but in your case you may need to repeat the process through all the templates.

In time, you may want to hire someone who knows EE well to review your setup and maybe even create some documentation for you. Don’t let a poor implementation by a dev discourage you/your organization. EE is an amazing and powerful tool with superior security to other popular CMS’s out there (cough WordPress).

       
Jamie I's avatar
Jamie I
4 posts
8 years ago
Jamie I's avatar Jamie I

Correct on the embeds location. It looks like some of these are old or tests and the others I’m guessing were perhaps used on different parts of our site for tracking. They all appear the same, so I can only assume there’s something embedded that makes them different.

Thank you again for your help! I find EE mostly easy to use, I’m just in new waters here. I’ll figure it out though (with help from people like you). 😊

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.