DCO Insert Analytics Code
Allows you to insert analytics code before or after or before
Betrachten Sie eine Alternative
DCO Insert Analytics Code shows warning signs in 2026 — compare the alternatives below before installing. It runs on 4K+ sites, is rated 5/5 and was last updated 5 years ago, and scores 41/100 on our health check.
- Momentum – Downloads um 55,9% gegenüber den letzten 30 Tagen
- Kein Update in 5 Jahren
- Nur getestet bis WordPress 5.8 (letzter IS 7.1)
Wie stapelt es sich?
Side-by-side bei Installationen, Updates, Bewertungen und SupportTägliche Downloads
Download-Spitzen folgen normalerweise einer neuen Version - jede Website, die automatisch aktualisiert wird, gilt als Download.
Ranglisten
Where DCO Insert Analytics Code stands todayWordPress.org Ranglisten suchen
Live-Position in der Plugin-Suche, Top 100| Stichwort | Position |
|---|---|
| analytics | >100 |
| Google Analytics | >100 |
| metrika | #28 |
| yandex metrica | #37 |
Versionsübernahme
Anteil aktiver Sites pro Release.
Bewertungsaufschlüsselung
★★★★★★★★★★ 5 from 8 reviews
About DCO Insert Analytics Code
From the official readme · v1.1.3Beschreibung
DCO Insert Analytics Code is a WordPress plugin is intended for insert analytics code(or any custom code) before </head> or after <body> or before </body>
Verwendung
After installation and activation, you can insert the necessary code to the respective fields on the plugin settings page.
GitHub
Einstellungen
- Before </head> code
- After <body> code
- Before </body> code
Filters list
dco_iac_get_options
Filter for hardcoding override plugin settings. You won’t be able to edit them on the settings page anymore when using this filter.
dco_iac_insert_before_head
Filter to change the code is inserted before </head>
dco_iac_insert_before_head_show
Filter to change show the code is inserted before </head>
dco_iac_insert_after_body
Filter to change the code is inserted after <body>
dco_iac_insert_after_body_show
Filter to change show the code is inserted after <body>
dco_iac_insert_before_body
Filter to change the code is inserted before </body>
dco_iac_insert_before_body_show
Filter to change show the code is inserted before </body>
dco_iac_disable_do_shortcode
Filter to disable shortcode processing in inserted codes
Examples of using filters
Hardcoding override plugin settings
/*
* $current - current plugin settings
*
* $options - plugin settings from database
*
* $default - default plugin settings
*/
function custom_get_options($current, $options, $default) {
$array = array(
'before_head' => '<!-- before </head> -->',
'before_head_show' => '0',
'after_body' => '<!-- after <body> -->',
'after_body_show' => '1',
'before_body' => '<!-- before </body> -->',
'before_body_show' => '2'
);
return $array;
}
add_filter('dco_iac_get_options', 'custom_get_options', 10, 3);
Change before </head> code
/*
* $code - value from "before </head>" setting
*/
function custom_before_head_code( $code ) {
return $code . '<!-- before <head> -->' . "\n";
}
add_filter( 'dco_iac_insert_before_head', 'custom_before_head_code' );
Change before </body> code show
/*
* $value - value from "before </body> show" setting
*/
function custom_before_head_code( $value ) {
return '2';
}
add_filter( 'dco_iac_insert_before_body_show', 'custom_before_body_show' );
Disable shortcode processing in insert codes
add_filter('dco_iac_disable_do_shortcode', '__return_true');
Installation
- Upload
dco-insert-analytics-codefolder to the/wp-content/plugins/directory - Aktivieren Sie das Plugin über das „Plugins“-Menü in WordPress
Änderungsprotokoll
1.1.3
- Add settings link to Plugins page
- Correct plugin description
1.1.2
- Constant
DCO_IAC_DO_SHORTCODEreplaced withdco_iac_disable_do_shortcodefilter. Useadd_filter('dco_iac_disable_do_shortcode', '__return_true');to disable shortcodes support.
1.1.1
- Added feature to hide the code
- Added shortcodes support (add constant
define('DCO_IAC_DO_SHORTCODE', false);to wp-config.php for disable)
1.1.0
- Fixed Text Domain
- Added the ability to adjust the show code for logged / not logged users
- Restricted direct access to plugin files
1.0.0
- Erste Freigabe
Für Entwickler
Ist das dein Plugin? Zeigen Sie die Zahlen.
Fügen Sie Ihrer Website, Docs oder GitHub Readme ein Live-Badge hinzu. Es wird von selbst aktualisiert - kein Konto erforderlich.
Best DCO Insert Analytics Code alternatives
All analytics plugins →Fragen und Antworten
DCO Insert Analytics Code: quick answers
Gerade Antworten, gezogen von Live WordPress.org Daten.
Quelle: WordPress.org
Is DCO Insert Analytics Code free?
Yes. DCO Insert Analytics Code is free to download and use from the official WordPress.org plugin directory.
Is DCO Insert Analytics Code safe to use in 2026?
DCO Insert Analytics Code shows warning signs in 2026 — compare the alternatives below before installing. It runs on 4K+ sites, is rated 5/5 and was last updated 5 years ago, and scores 41/100 on our health check.
How many websites use DCO Insert Analytics Code?
DCO Insert Analytics Code is active on 4K+ WordPress websites and has been downloaded 40,395 times since it launched in January 2016. It was downloaded 505 times in the last 30 days.
Does DCO Insert Analytics Code work with WordPress 7.1?
DCO Insert Analytics Code is officially tested up to WordPress 5.8.20, while the latest release is 7.1.5. It may still work, but try it on a staging site first.
What PHP version does DCO Insert Analytics Code need?
DCO Insert Analytics Code requires PHP 5.3 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was DCO Insert Analytics Code last updated?
The latest version, 1.1.3, was released on July 28, 2021 (5 years ago).
Who makes DCO Insert Analytics Code?
DCO Insert Analytics Code is developed and maintained by Denis Yanchevskiy.
What are the best alternatives to DCO Insert Analytics Code?
The most popular alternatives to DCO Insert Analytics Code are Site Kit by Google (5M+ installs), MonsterInsights (2M+ installs) and WP Statistics (500K+ installs).
Angetrieben von PageForge
Eine Vorlage und eine Tabelle. Eine echte Seite für jede Suche.
PageForge Verwandelt jede Zeile eines CSV in eine WordPress-Seite mit eigenem Titel, URL, SEO Felder und Schema entworfen. Kostenlos auf WordPress.org.
- CSV und XLSX, plus Google Sheets auf Beruf und Unternehmen
- seinen eigenen Titel, URL, SEO Felder und Schema für jede Seite
- Arbeitet mit dem Blockeditor, Elementor, Divi und Avada
- Kostenlos auf WordPress.org, keine Kreditkarte


