🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Account Get it free
Custom JS icon
Actively maintained Tested with WP 7.1

Custom JS

Custom JS lets you add JavaScript (analytics, tag managers, chat widgets, pixels, your own scripts) to WordPress without editing theme files.

Active installs100+100+ tier
Downloads · 30d429▲ 4.1× vs prev. 30d
Rating—0 reviews
Health score68/100Good
All-time downloads4.8KSince Sep 2016
Support resolved—No recent threads
RequiresWP 4.6PHP 5.6+
Downloads · 7d76▲ +26.7% week over week
Our verdict

Solid choice

Custom JS is a solid plugin choice in 2026, with a few things worth checking first. It runs on 100+ sites and was last updated 4 weeks ago, and scores 68/100 on our health check.

  • Actively developed — last update 4 weeks ago
  • Tested with the latest WordPress (7.1)
  • Small user base (100+ active installs)
  • Very few reviews so far

How does it stack up?

Side-by-side on installs, updates, ratings & support

Daily downloads

255176Sep 4Oct 18Dec 2
Yesterday17
Daily average (1y)4
Peak day102Nov 4, 2026
Last 12 months1.3K

Download spikes usually follow a new release — each site that auto-updates counts as a download.

Rankings

Where Custom JS stands today

WordPress.org search rankings

Live position in the plugin search, top 100
KeywordPositionCompeting pluginsCategory
analytics >100 9,346 Best analytics plugins →
custom js #52 5,865 Best custom js plugins →
header footer code >100 2,805 Best header footer code plugins →
javascript >100 10,000 Best javascript plugins →
snippets >100 3,050 Best snippets plugins →

Version adoption

Share of active sites per release.

  • 1.1077.7%
  • 1.022.3%

About Custom JS

From the official readme · v2.0.0

Description

Custom JS lets you add JavaScript (analytics, tag managers, chat widgets, pixels, your own scripts) to WordPress without editing theme files.

Features

  • Head, Body and Footer code – including the new “after ” location (Google Tag Manager noscript etc.).
  • Unlimited snippets – named pieces of code you can switch on/off, duplicate and organise.
  • Conditions per snippet – front page, blog, posts, pages, archives, search, 404, specific IDs/slugs, URL rules with wildcards, exclusions.
  • Visitor targeting – everyone, logged-in, logged-out, non-admins, specific user roles, desktop or mobile.
  • Scheduling – start and end date/time for campaigns and promos.
  • External scripts – add a script by URL with async / defer / type=”module”.
  • Auto-wrap – paste plain JavaScript, the plugin adds the
  • Load jQuery on demand for snippets that need it.
  • Admin area and login page code.
  • Per-page code – a “Custom JS” box on the post/page edit screen, with an option to switch off the global code on that page.
  • Code editor with syntax highlighting, line numbers, linting and an optional dark theme. Ctrl+S / Cmd+S to save.
  • Revisions – every save is kept; view and restore older versions.
  • Import / Export to JSON – backups and moving between sites.
  • Safe mode – ?cjs_safe_mode=1 or define( 'CJS_SAFE_MODE', true ); disables all custom code if something breaks.
  • Kill switch, “do not load for admins” (keeps your visits out of analytics), HTML comment markers for debugging.
  • Secure – nonces on every action; on multisite only super admins can add code.
  • Developer filters: cjs_capability, cjs_front_allowed, cjs_snippet_should_run, cjs_snippet_code, cjs_output_{option}, cjs_metabox_post_types.

Free WordPress Themes by SEOS Themes

Custom JS is made by SEOS Themes – the team behind high quality, HTML5, responsive and mobile friendly WordPress themes, downloaded more than 2,000,000 times.

Blog, news & magazine, online shop, business, real estate, restaurant, photography, music, portfolio and many more – most of them completely free.

Browse all themes at seosthemes.com

Installation

Install via Plugins > Install New

  1. Search for “Custom JS”
  2. Click the “Install Now” link
  3. Click “Activate Plugin”

Via ZIP / FTP

  1. Unzip the ZIP file and drop the folder straight into your wp-content/plugins directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.

Changelog

Big update: snippets, conditions, code editor, revisions, import/export and safe mode. Your existing code is kept and works exactly as before.

2.0.0

  • New: “After ” location.
  • New: unlimited snippets with location, priority, on/off switch, duplicate and notes.
  • New: page, URL, user, role, device and schedule conditions for snippets.
  • New: external script snippets with async / defer / module.
  • New: admin area and login page code.
  • New: per-post / per-page code box, with option to disable global code on a page.
  • New: code editor with syntax highlighting, linting, dark theme and Ctrl+S save.
  • New: revisions with restore.
  • New: import / export JSON.
  • New: safe mode, kill switch, hide for admins / logged-in users, HTML comment markers.
  • New: optional auto-wrap of plain JavaScript in
  • New: option to delete data on uninstall (off by default).
  • Fix: translations now load with the correct text domain.
  • Security: nonce checks everywhere; on multisite only users with unfiltered_html can save code.
  • Fully backward compatible with 1.0 – existing code, admin URL and hook names are unchanged.

1.0

  • Initial release of plugin

Full changelog on WordPress.org →

Screenshots

Admin Panel view of submitted form data.
Admin Panel view of submitted form data.

For developers

Is this your plugin? Show off the numbers.

Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.

Active installs badge Rating badge Health score badge

Best Custom JS alternatives

All analytics plugins →
Alternatives
Rank Plugin Active installs Rating Updated Health
1 Site Kit by Google – Analytics, Search Console, AdSense, Speed Site Kit by Google Site Kit is a one-stop solution for WordPress users to use everything Google has to offer… by Google 5M+ ★★★★★★★★★★ 4.2 (1K) 2 days ago 92
2 MonsterInsights – Google Analytics Dashboard for WordPress (Website Stats Made Easy) MonsterInsights The best free Google Analytics plugin for WordPress. See how visitors find and use your… by chriscct7 2M+ ★★★★★★★★★★ 4.5 (3.2K) 3 months ago 89
3 WP Statistics – Simple, privacy-friendly Google Analytics alternative WP Statistics Cookieless, privacy-friendly WordPress analytics. Clear graphs and visitor data kept on… by VeronaLabs 500K+ ★★★★★★★★★★ 4.1 (763) 2 days ago 90
4 GA Google Analytics – Connect Google Analytics to WordPress GA Google Analytics – Connect Google Analytics to WordPress Adds Google Analytics tracking code to your WordPress site. Supports many tracking features. by Jeff Starr 400K+ ★★★★★★★★★★ 4.9 (159) 4 days ago 97
5 ExactMetrics – Google Analytics Dashboard for WordPress (Website Stats Plugin) ExactMetrics Connects Google Analytics with your WordPress site. Displays stats to help you understand… by Syed Balkhi 200K+ ★★★★★★★★★★ 2.5 (1.5K) 3 months ago 80
6 Head, Footer and Post Injections Head, Footer and Post Injections Head and Footer plugin lets you to add HTML code to the head and footer sections of your… by Stefano Lissa 200K+ ★★★★★★★★★★ 4.9 (735) 8 months ago 53
7 Burst Statistics – Simple WordPress Analytics (Google Analytics Alternative) Burst Statistics Simple, lightweight WordPress analytics with privacy-friendly visitor tracking. Cookieless… by Burst Statistics B.V. 200K+ ★★★★★★★★★★ 4.9 (194) 2 days ago 94
8 HubSpot All-In-One Marketing – Forms, Popups, Live Chat HubSpot All-In-One Marketing – Forms, Popups, Live Chat The CRM, Sales, and Marketing WordPress plugin to grow your business better. Capture and… by HubSpot 200K+ ★★★★★★★★★★ 4.3 (207) 6 days ago 81
9 UserFeedback – Create Interactive Feedback Form, User Surveys, and Polls in Seconds UserFeedback Ultimate user feedback plugin to ask questions, surveys, polls, from your website in seconds by Syed Balkhi 200K+ ★★★★★★★★★★ 4.8 (311) 3 months ago 82
10 Post Views Counter Post Views Counter Count and display post views, track site-wide visits, and see what content works – inside… by dFactory 100K+ ★★★★★★★★★★ 4.9 (1.2K) 1 week ago 96

FAQ

Custom JS: quick answers

Straight answers, pulled from live WordPress.org data.

Source: WordPress.org

Is Custom JS free?

Yes. Custom JS is free to download and use from the official WordPress.org plugin directory.

Is Custom JS safe to use in 2026?

Custom JS is a solid plugin choice in 2026, with a few things worth checking first. It runs on 100+ sites and was last updated 4 weeks ago, and scores 68/100 on our health check.

How many websites use Custom JS?

Custom JS is active on 100+ WordPress websites and has been downloaded 4,849 times since it launched in September 2016. It was downloaded 429 times in the last 30 days.

Does Custom JS work with WordPress 7.1?

Yes. The developer has tested Custom JS up to WordPress 7.1.5, the latest release. It requires WordPress 4.6 or newer.

What PHP version does Custom JS need?

Custom JS requires PHP 5.6 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.

When was Custom JS last updated?

The latest version, 2.0.0, was released on November 3, 2026 (4 weeks ago).

Who makes Custom JS?

Custom JS is developed and maintained by seosbg.

What are the best alternatives to Custom JS?

The most popular alternatives to Custom JS are Site Kit by Google (5M+ installs), MonsterInsights (2M+ installs) and WP Statistics (500K+ installs).

Powered by PageForge

One template and a spreadsheet. A real page for every search.

PageForge turns each row of a CSV into a WordPress page with its own title, URL, SEO fields and schema, built on the layout you already designed. Free on WordPress.org.

  • CSV and XLSX, plus Google Sheets on Professional and Enterprise
  • Its own title, URL, SEO fields and schema for every page
  • Works with the block editor, Elementor, Divi and Avada
  • Free on WordPress.org, no credit card

↑↓ to move↵ to open