Tracking Code for Google Analytics WordPress Plugin Skip to content
Tracking Code for Google Analytics icon

WordPress plugin

Tracking Code for Google Analytics

Simple, lightweight solution for inserting your Google Analytics Universal tracking code.

By Clayton Collie100+ active installs
Active installs
100+
Version
2.0.3
Last updated
Jul 5, 2024
Tested up to
WordPress 6.6.0
Requires
WP 5.0 · PHP 7.2

Health check

Is Tracking Code for Google Analytics safe to rely on?

Our reading of the public WordPress.org data: maintenance, compatibility, ratings and support.

No update in over a year

Last updated on July 5, 2024. It may not be compatible with current WordPress or PHP, and unfixed issues are a security risk.

Not yet tested with the latest WordPress

Tested up to WordPress 6.6.0. It often still works, but check on staging first.

Requires PHP 7.2 or newer

Check your hosting PHP version before installing. Modern PHP is faster and receives security fixes.

Rank tracker

Where Tracking Code for Google Analytics ranks in WordPress.org search

Its position in WordPress.org plugin search for its tags and name, refreshed weekly so you can see how its visibility changes.

WordPress.org search positions for Tracking Code for Google Analytics
KeywordPositionChangeTrendCurrent #1
analytics
google
tracking
tracking code
universal analytics

Checked against the top 100 WordPress.org search results.

Overview

What Tracking Code for Google Analytics does

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 require claytoncollie/tracking-code-for-google-analytics

If you want to set the tracking ID without using the wp-admin user interface, use the filter below.

'tracking_code_for_google_analytics_id',

* Set Google Analytics tracking ID.

* @param string $tracking_id Tracking ID.

function ( string $tracking_id ) : string {

Description from the author's listing. Read the full listing on WordPress.org

FAQ

Tracking Code for Google Analytics: questions and answers

What is Tracking Code for Google Analytics?

Tracking Code for Google Analytics is a WordPress plugin by Clayton Collie. Simple, lightweight solution for inserting your Google Analytics Universal tracking code.

Is Tracking Code for Google Analytics free?

Tracking Code for Google Analytics is listed in the WordPress.org plugin directory, so the version there is free to download and use. Some authors also sell paid add-ons or a premium edition with more features and support.

How many websites use Tracking Code for Google Analytics?

WordPress.org reports 100+ active installations of Tracking Code for Google Analytics. That figure counts sites running the WordPress.org version and is rounded down by WordPress.org.

Is Tracking Code for Google Analytics still maintained?

Tracking Code for Google Analytics was last updated on July 5, 2024. The current version is 2.0.3. Check the changelog on WordPress.org and test updates on a staging site before applying them to a live site.

What does Tracking Code for Google Analytics require?

Tracking Code for Google Analytics requires WordPress 5.0 or newer and PHP 7.2 or newer. It has been tested up to WordPress 6.6.0.

Can Codefreex set up or customize Tracking Code for Google Analytics?

Yes. Codefreex installs, configures and customizes WordPress plugins including Tracking Code for Google Analytics, fixes conflicts and performance problems, and builds custom features when a plugin does not do exactly what you need. Send your site URL for a free review.

Free expert review

Need Tracking Code for Google Analytics set up, customized or fixed?

Tell us about your site and what you need this plugin to do. A senior WordPress developer replies within one business day with a plan and a quote.

Built this plugin yourself? We help WordPress product teams with development, support load and growth. Talk to us