AddFunc Head & Footer Code
by AddFunc · Analytics
Also makes 2 other plugins · 20.1K+ installs across the portfolio →
Easily add code to your head, footer and/or immediately after the opening body tag, site-wide and/or on any individual page/post.
Try it live opens a temporary test site in your browser, which can take about 20 seconds to load. Plugins that rely on outside services or a full server may not work completely there.
Health
A 86/100
no flags
Active installs
20K+
≈25K estimated
Momentum
+18%
downloads vs prior 30d
Biggest opportunity: Swap “per page” and “tracking code” for “body tag” and “footer”. “per page” isn't earning its slot: you're not in the first 24 results for its own search. “body tag” sits at #10 untagged, close enough for a declared tag to move it up. “tracking code” isn't earning its slot: it only gets you to #11. “footer” sits at #12 untagged, close enough for a declared tag to move it up. All five slots are taken, so one has to go.
86 health vs 67 average across 1,826 Analytics plugins
Install conversion
How it's measured →7.5%
of downloads still active
At least 20K of 267.7K lifetime downloads are still running, above its category: the median Analytics plugin keeps 1.2%, across 1,007 plugins.
Downloads count every update, not just first installs, so older and more frequently released plugins read lower. Compare against other Analytics plugins, not across the directory. wp.org reports active installs as the bottom of a band, so the real rate is this or higher.
This plugin shipped 2 releases in the last 12 months, and every existing install that updated counted as another download. wp.org publishes no split between first installs and updates, so we show the raw rate rather than guess at one.
Details
Recent review vibe
read from the latest 12 reviews to 2019-11-08Reviewers keep calling it simple and quick to set up, and they single out per-page code insertion and the priority setting as what makes it beat similar plugins.
Directory ranking optimization
How it's scored →How well this listing is tuned to rank in WordPress.org search, on the factors an owner controls. Not popularity, optimization.
Excellent listing optimization
Well tuned across the board
Updated 193 days ago, past the ~180 days where wp.org starts discounting
Tested up to WordPress 6.9.11, the current branch or newer
5.0★ over 25 reviews, smoothed to 4.40★
5 of 5 tags set · short description in place
Search visibility
How it's tracked →Directory searches this plugin turns up in, and which way each one is moving. WordPress.org publishes no history of search positions, so this starts the day we first tracked a keyword and never backfills.
35
Momentum
Losing ground
-0.5
Velocity
places per keyword, 28d
12%
Breadth
of keywords climbing, 28d
-0.4
Acceleration
recent half vs earlier
wp.org is where the directory puts the plugin for that search. On merit is where it would sit if results were ranked on rating, support and updates, without the install boost. The last column is how far the wp.org position moved, from our first reading in the last 90 days to the latest.
| Keyword | wp.org | On merit | wp.org move, 90 days |
|---|---|---|---|
| head code your tag | #2 | #3 | 0 |
| add to head your tag | #2 | #2 | 0 |
| head | #4 | #5 | 0 |
| footer code your tag | #7 | #10 | 0 |
| head to head | #3 | #3 | 0 |
| wp head | #3 | #4 | up 1 |
| tracking code your tag | #11 | #13 | 0 |
| footer | #12 | #16 | up 1 |
| body tag | #10 | #11 | 0 |
| code | #13 | #18 | down 1 |
| head tag | #5 | #7 | down 1 |
| body | #17 | #13 | up 2 |
| opening | #18 | #17 | down 2 |
| wide | #22 | #22 | — |
| page footer | #12 | #18 | 0 |
| post footer | #13 | #16 | down 3 |
| add tracking code | #13 | #14 | down 3 |
| post tracking code | #14 | #17 | up 1 |
| analytics code | #24 | #20 | down 2 |
| no code | #19 | #19 | 0 |
| per page your tag | Not in the top 24 | ||
58 searches this plugin appeared in over the last 90 days, 20 listed. 35 left out as unrelated or noise (years, numbers, stray words). 1 of its tags isn't in the top 24 for their own search.
What to do about it
- Swap “per page” and “tracking code” for “body tag” and “footer”. “per page” isn't earning its slot: you're not in the first 24 results for its own search. “body tag” sits at #10 untagged, close enough for a declared tag to move it up. “tracking code” isn't earning its slot: it only gets you to #11. “footer” sits at #12 untagged, close enough for a declared tag to move it up. All five slots are taken, so one has to go.
- One page off on “tracking code”. #11 puts you just past the first ten results, where almost all the clicks stop. The gap to close is small.
Daily downloads
Since 5 Oct 2022 · 1,489 days · wp.org + Plugin Pulse archive
30-day downloads
Rolling 30-day volume · peak 17K · peaks are release surges
Directory rank vs rivals
wp.org popularity rank over time · higher is better · when a rival's line climbs above yours, they've overtaken you
Health trend
Composite health score, snapshotted daily
Update activity
How busy the existing users are, measured as downloads in the last 30 days for every 1,000 active sites. A spike means a new release everyone's pulling; a long, slow decline means an aging user base that updates less.
Release cadence
Occasionally updatedHow often this plugin actually ships. A steady rhythm is the maintenance signal a single "last updated" date can't show.
2
releases in the last 12 months
6mo ago
latest release · v2.5 · 22 Apr 2026
11
tagged releases on record
Recent releases
What its installed base runs
via wordpress.orgShare of active installs on each version of this plugin · 52% run the current release. Green is the current release; a big slice on older versions is a user base that has stopped updating.
Estimated active installs
The public count shows “20K+”. Our estimate pins where the real number sits.
Crossed into this band 2.6 years ago; a band this size takes about a year or more to cross, which places it about 50% of the way through.
Install history since 28 Sep 2015
Recent reviews
All reviews on wp.org ↗- ★★★★★ black6677.0y ago
You saved my life man. This plugin is much better than any other similar plugins (including Insert Headers and Footer). Thanks a lot! Keep the good work!
Read on wp.org ↗ - ★★★★★ anderols7.8y ago
Thanks for this plugin – I just wanted to add the Google Adsense script in the header, and I did it in minutes…:-) Very easy to use.
Read on wp.org ↗ - ★★★★★ diegocanal7.8y ago
There are other similar plugins I’ve used but this one wins by far. Being able to set the priority is a very useful feature. Also a nice detail is that —apart from allowing the addition of code in wp_head() and wp_footer()— it allows to put code after the opening body tag too. Thanks @joerhoney! This topic was modified 7 years, 6 months ago by diegocanal.
Read on wp.org ↗ - ★★★★★ Nexusway7.9y ago
Exactly what I needed, and nothing extra in my face, perfect use of the intended design of Screen Options. Excellent for those Facebook App Meta-Tags! I have a child-theme setup with many specialized templates and child Menus (about 10), and user-restricted content, and etc. – This is what you are looking for 🙂
Read on wp.org ↗ - ★★★★★ hackman20308.6y ago
After testing various plugins with disappointment, this one helped me prevent my Google Adsense on certain pages and posts with ease. Thank you to the plugin developer for this work. Where can I donate please?
Read on wp.org ↗ - ★★★★★ Candlelite9.0y ago
The simplicity of this plugin is its power. Thank you for an excellent plugin which is devoid of useless frippery.
Read on wp.org ↗ - ★★★★★ cbejensen9.2y ago
Finally, a plug-in that adds scripts to the entire site or just a single page. Simple and gets the job done. Thanks!
Read on wp.org ↗ - ★★★★★ sovaptizza9.2y ago
This plugin does what I need. Thank you.
Read on wp.org ↗
Latest updates
via wp.org changelogRecent releases and news for this plugin
- — Version 2.5 22 Apr 2026 Fixes page specific fields by removing sanitization. Adds notice to warn users of security resks. 2.5
- — Version 2.4 28 Mar 2026 Fixes vulnerability: (Thanks to Muhammad Yudha – DJ / Wordfence) “Fix CVE-2026-2305: register_meta on init and sanitize meta” 2.4
- — Version 2.3 23 May 2019 Fixes a PHP notice, which appeared on the login dialog when WP_DEBUG was ON. (I think I actually got it this time.) 2.3
- — Version 2.2 23 Apr 2019 Fixes a PHP notice, which appeared on the login dialog when WP_DEBUG was ON. Edit: not fixed, just a different error. 2.2
- — Version 2.1 28 Nov 2018 Removes the metabox from post types which are not public. 2 19 Sep 2018 Adds… drumroll please… Body Start Code! Insert code immediately after the opening body tag! Fields for individual page/post code as well 2.1
- — Version 1.5.1 17 Sep 2018 Removes individual post output on various pages: archive author category tag home search 404 1.5.1
Security history
via Wordfence IntelligenceThe 1 disclosed vulnerability is patched in the current version (2.5). Sites still on an older version should update.
- Patched Medium · 6.4 AddFunc Head & Footer Code <= 2.3 - Authenticated (Contributor+) Stored Cross-Site Scripting via Custom Fields ↗2026-04-09 CVE-2026-2305 Improper Neutralization of Input During Web Page Generation Affects <= 2.3 Patched in 2.4
Vulnerability records provided by Wordfence Intelligence. Copyright 2012-2026 Defiant Inc. License and terms.
CVE records: Copyright 1999-2026 The MITRE Corporation. CVE terms of use.
Behavioral tests
via WP HiveAutomated install-time checks, tested on PHP 8.1.12 · WP 7.0.1
AI assistants
How it's measured →Whether ChatGPT and Claude name this plugin when asked the category question, and whether the readme gives them something to quote.
Not measured yet for this plugin’s topics. Its tracked searches are not among the measured topics. See the topics measured so far.
Readme readiness
4 of 8 pass · checked 28 Oct 2026Can an assistant quote this readme? Eight deterministic checks over the wp.org listing, no model involved.
- ✓ Says what it does "Easily add code to your head, footer and/or immediately after the opening body tag, site-wide and/or on any..."
- ✓ Has a FAQ 8 questions in the FAQ.
- ✓ FAQ asks real questions 8 of 8 read like questions a user would type.
- ! Names who it is for One audience phrase ("ideal for"); say who the plugin is for and what they use it for.
- ✓ Names what it works with Mentions Google Analytics.
- ! Headings and lists 0 headings and 0 lists; assistants quote headed sections and bullet lists, not paragraphs.
- ! Enough to quote 295 characters of description; under 1,000 there is little to quote.
- ! Tags match the text Only 1 of 5 tags appear in the text ("add to head", "footer code", "head code", "per page" missing).
Growth timeline
Install-tier crossings we have observed, and how long each tier took to outgrow
- 2024-03-13 30K+ → 20K+ down after 1 days in tier
- 2024-03-12 20K+ → 30K+ up after 2 days in tier
- 2024-03-10 30K+ → 20K+ down after 1549 days in tier
- 2019-12-13 10K+ → 30K+ up after 1468 days in tier
- 2015-12-06 7K+ → 10K+ up
Competes with
The plugins that solve the same job, ranked by shared tags then reach, closest match first. The letter on the right is each plugin's health grade (A best, F worst).
-
Embed Code – Headers & Footers by DesignBombs 4K+ installs · 4.3★ · 2 shared tags D - A Average Head & Footer Code 100+ installs · 4.1★ · 2 shared tags D
- G GTM Code Visibility 60+ installs · 3.6★ · 2 shared tags
-
Vanilla Bean – Meta Maid 10+ installs · 4.0★ · 2 shared tags B - G GA Code Visibility 10+ installs · 3.6★ · 2 shared tags
- B Background Per Page 600+ installs · 4.0★ · 1 shared tag D
Embed this report card
Drop a live Pulse card for AddFunc Head & Footer Code into a readme, a review or a deck. It updates itself.
<iframe src="https://plugins.wpmayor.com/embed/addfunc-head-footer-code" width="480" height="300" style="border:0" loading="lazy" title="AddFunc Head & Footer Code — Plugin Pulse"></iframe> AddFunc Head & Footer Code: 20K+ active installs, 5.0★ (25 reviews). Plugin Pulse (WP Mayor), as of 2026-11-01. https://plugins.wpmayor.com/plugin/addfunc-head-footer-code
Spotted a number that looks wrong? Report a data issue and we'll check it against the source.