Tracking Code for Google Analytics
Tracking Code For Google Analytics is a simple, lightweight WordPress plugin for inserting your Google Analytics Universal Analytics tracking code. The plugin does one thing and one thing only; prints the standard…
Considere uma alternativa
Tracking Code for Google Analyt… shows warning signs in 2026 — compare the alternatives below before installing. It runs on 100+ sites and was last updated 2 years ago, and scores 25/100 on our health check.
- Base de usuários pequenas (mais de 100 instalações ativas)
- Muito poucos comentários até agora
- Nenhuma atualização em 2 anos
- Testado apenas até WordPress 6.6 (mais recente é 7.1)
Como ele se acumula?
Lado a lado em instalações, atualizações, avaliações e suporteDownloads diários
Os picos de download geralmente seguem uma nova versão — cada site que atualiza automaticamente é um download.
Rankings
Where Tracking Code for Google An… stands todayWordPress.org Classificações de pesquisa
Posição ao vivo na pesquisa de plugins, top 100| Palavra chave | Posição |
|---|---|
| analytics | >100 |
| >100 | |
| tracking | >100 |
| tracking code | >100 |
| universal analytics | >100 |
Adoção da versão
Compartilhamento de sites ativos por lançamento.
About Tracking Code for Google Analytics
Do Readme oficial · v2.0.3Descrição
Tracking Code For Google Analytics is a simple, lightweight WordPress plugin for inserting your Google Analytics Universal Analytics tracking code. The plugin does one thing and one thing only; prints the standard Google Analytics tacking script to the <head> of your website. To insert your tracking ID, navigate to Settings > General and then scroll to the bottom of the page.
Composer
composer require claytoncollie/tracking-code-for-google-analytics
Filtros
If you want to set the tracking ID without using the wp-admin user interface, use the filter below.
add_filter(
'tracking_code_for_google_analytics_id',
/**
* Set Google Analytics tracking ID.
*
* @param string $tracking_id Tracking ID.
*
* @return string
*/
function ( string $tracking_id ) : string {
$tracking_id = 'UA-7654321';
return $tracking_id;
}
);
Definitions
You can also define the tracking ID in your wp-config.php file with the following snippet.
define( 'TRACKING_CODE_FOR_GOOGLE_ANALYTICS_ID', 'UA-7654321' );
Contributing
While the purpose of this plugin is to be very tightly scoped, issues and pull requests are welcome on GitHub. I do not guarantee that everything will be merged or support will be given.
Donate
If you like this plugin and would like to support my work, please consider a small donation via Coinbase.
Instalação
- Upload
tracking-code-for-google-analyticsto the/wp-content/plugins/directory - Ative o plugin através do menu 'Plugins' em WordPress
- Navigate to Settings > General > scroll to the bottom of the page
- Insert your tracking ID
- Save your changes
Log de Changes
2.0.3
- Fix readme markdown
- Bump patch version to deploy
2.0.2
- Fix readme markdown
- Bump patch version to deploy
2.0.1
- Patch version bump to deploy properly
2.0.0
- Major version. Possible breaking changes. Test locally before updating.
- Change callback names. Possible breaking change.
- Bump PHP required version to 7.2
- Add PHP Namespaces
- Add PHP parameter type hinting
- Add PHP return type hinting
- Add automated static analysis GitHub action
- Add automated code linting GitHub action
- Add automated acceptance tests GitHub action
- Add automated WordPress version checker GitHub action
- Add donation link to Coinbase
- Fix URLs in readme files
- Fix markdown syntax for changelog in readme.txt
- Ignore phpstan config from deployed plugin
- Ignore CONTRIBUTING.md from deployed plugin
1.1.0
- Add ability to define tracking in wp-config.php
- Update documentation
- Test with WordPress 6.0.0
1.0.1
- Update documentation
- Test with WordPress version 5.6.0
Para desenvolvedores
Este é o seu plugin? Mostre os números.
Adicione um crachá ao vivo ao seu site, Documentos ou Readme do GitHub. Ele é atualizado por conta própria - nenhuma conta necessária.
Best Tracking Code for Google Anal… alternatives
All analytics plugins →FAQ
Tracking Code for Google Analytics: quick answers
Respostas diretas, extraídas de dados ao vivo WordPress.org.
Fonte: WordPress.org
Is Tracking Code for Google Analyt… free?
Yes. Tracking Code for Google Analyt… is free to download and use from the official WordPress.org plugin directory.
Is Tracking Code for Google Analyt… safe to use in 2026?
Tracking Code for Google Analyt… shows warning signs in 2026 — compare the alternatives below before installing. It runs on 100+ sites and was last updated 2 years ago, and scores 25/100 on our health check.
How many websites use Tracking Code for Google Analyt…?
Tracking Code for Google Analyt… is active on 100+ WordPress websites and has been downloaded 5,910 times since it launched in October 2020. It was downloaded 144 times in the last 30 days.
Does Tracking Code for Google Analyt… work with WordPress 7.1?
Tracking Code for Google Analyt… is officially tested up to WordPress 6.6.0, while the latest release is 7.1.5. It may still work, but try it on a staging site first.
What PHP version does Tracking Code for Google Analyt… need?
Tracking Code for Google Analyt… requires PHP 7.2 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was Tracking Code for Google Analyt… last updated?
The latest version, 2.0.3, was released on July 5, 2024 (2 years ago).
Who makes Tracking Code for Google Analyt…?
Tracking Code for Google Analyt… is developed and maintained by Clayton Collie.
What are the best alternatives to Tracking Code for Google Analyt…?
The most popular alternatives to Tracking Code for Google Analyt… are Site Kit by Google (5M+ installs), MonsterInsights (2M+ installs) and WP Statistics (500K+ installs).
Alimentado por PageForge
Um modelo e uma planilha. Uma página real para cada pesquisa.
PageForge Transforma cada linha de um CSV em uma página WordPress com seu próprio título, URL, SEO campos e esquema, construído no layout que você já desenhou. Gratuito em WordPress.org.
- CSV e XLSX, mais Google Sheets em Profissional e Empresarial
- Seu próprio título, URL, SEO campos e esquema para cada página
- Funciona com o editor de blocos, Elementor, Divi e Avada
- Gratuito em WordPress.org, sem cartão de crédito
