Skip to content
This repository was archived by the owner on Apr 2, 2024. It is now read-only.

[EOL] Wordpress plugin that adds Google Analtyics (UA) tracking code and tracks click events for External, Mailto, and documents.

License

Notifications You must be signed in to change notification settings

umdigital/mc-google-analytics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Google Analytics Tracker

Provides easy way to add google analytics tracking with just your tracking ID. No need to connect to your google account.

NOTICE

This plugin only works for Universal Analytics and not GA4. For GA4 use the offical Google Site Kit plugin.

Filters

mc_ga_show_tracking_code

This will allow the tracking to be enabled (true, default) or disabled (false).

Example to disable tracking via filter. This must happen before wp_head is called.

add_filter( 'mc_ga_show_tracking_code', function( $status ){
    return false;
});

About

[EOL] Wordpress plugin that adds Google Analtyics (UA) tracking code and tracks click events for External, Mailto, and documents.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published