#105 by installs
Header Footer Code Manager
Easily add tracking code snippets, conversion pixels, or other scripts required by third party services for analytics, marketing, or chat features.
- Installs
- 600,000+
- Rating
- 4.9 (309)
- Updated
- 4 months ago
Header and Footer Scripts plugin allows you to add scripts to WordPress site's and just before closing tag.
| Last updated | February 1, 2026Updated in the last year |
|---|---|
| Tested up to | WordPress 6.9.11Older than WordPress 7.1.4, the current release |
| Needs WordPress | 4.6 or newer |
| Needs PHP | 5.6 or newer |
| First published | February 20, 2014 |
| Support, last two months | 0 of 1 threads resolved (0%) |
4.6 / 5 from 58 reviews
| 5 stars | 48 |
|---|---|
| 4 stars | 1 |
| 3 stars | 4 |
| 2 stars | 3 |
| 1 star | 2 |
An essential WordPress plugin to easily insert scripts and styles (like Google Analytics, CSS, etc.) into your website’s header and footer.
Looking for a way to add Google Analytics, Facebook Pixel, or custom tracking code to your website’s header or footer?
Header and Footer Scripts is a simple yet powerful plugin that lets you inject code—such as Google Analytics, custom CSS, Facebook Pixel, and chat widgets—directly into your site’s header (<head>) or footer.
No bloat, no ads. This lightweight plugin simply does what it says: inserts code into your header and footer efficiently.
All you have to do is add the appropriate HTML code.
Don’t forget to wrap your code with proper tags.
<script type="text/javascript"> YOUR JS CODE HERE </script>
Or for CSS:
<style type="text/css"> YOUR CSS CODE HERE </style>
Why use this plugin:
The plugin should be compatible with WooCommerce.
What it does not offer
The opening of the plugin's own description. The full text, installation notes and changelog are on its WordPress.org page.
A. I couldn’t handle wp.org forums on regular basis. You are suggested to visit GitHub Wiki for more updated plugin documentation and troubleshoot your problem.
A. Nope, There is none. If you need more feature send us feedback or feature request.

![This box will appear below the compose box on posts and pages. If not please refer to [our docs][4] if it's not there.](https://ps.w.org/header-and-footer-scripts/assets/Screenshot-2.png?rev=861488)
#105 by installs
Easily add tracking code snippets, conversion pixels, or other scripts required by third party services for analytics, marketing, or chat features.
#204 by installs
Include inline javascript, stylesheets, CSS code or anything you want in Header and Footer areas of your WordPress with ease.
#211 by installs
Head and Footer plugin lets you to add HTML code to the head and footer sections of your site pages, inside posts... and more!
#302 by installs
Easy add site-wide, category and article specific custom code before the closing </head> and </body>, or after opening <body> tag.
Easily add code snippets in WordPress. Insert header & footer scripts, add PHP code snippets with conditional logic, insert ads pixel code, and more.
#219 by installs
Creates functionality to duplicate any and all post types, including taxonomies & custom fields. Perfect for developers and content creators.
Read from the WordPress.org plugin API on , when WordPress 7.1.4 was the current release. WordPress.org rounds active installs into buckets. These are the directory's figures, not my verdict, and I haven't tested this plugin. The author takes donations at their donate page.