wpsnoop: fix Google Universal Analytics plugin conflicts, errors & issues

When the plugin Google Universal Analytics conflicts or throws a PHP error we hope wpsnoop can help you to fix the issue quickly.


Discover which shortcodes wp-options PHP functions database tables and files are created by Google Universal Analytics, plus learn which plugins and/or themes could be in conflict with Google Universal Analytics.


Troubleshooting theme and plugin conflicts is easier when you know what Google Universal Analytics leaves behind after uninstalling it from a WordPress installation, there is a list down below for your convenience.

Expert advice is recommended if you are not technically proficient with PHP, MySQL etc. View support options for Google Universal Analytics

Get professional support for Google Universal Analytics here

When you need professional help with WordPress: get help here


What does Google Universal Analytics version 2.4.3 add to WordPress? Answers Here.

This is an automatically generated report - it is possible for Google Universal Analytics to perform differently in your installation, previous versions before 2.4.3 may have created a different set of shortcodes, used different function names or could have created entirely different database tables to store settings and operate. This is not an exhaustive list but shows how version 2.4.3 of Google Universal Analytics behaves when installed and removed on a clean installation of WordPress.

We have not tested individual shortcodes, features or settings of this plugin but instead have concentrated on the potential for obvious errors and conflicts which can occur, if you need help with the plugin in your local installation you can get WordPress help and support for Google Universal Analytics by clicking here.

Our testing covered the free version of this plugin there may or may not be a paid version or premium version available for purchase that unlocks additional features and could behave in a slightly or very different manner.

Which new files does Google Universal Analytics add to WordPress?

This section will populate with a table showing an icon, size and filepath.

Type & Path Size Conflicts
wp-content/plugins/google-universal-analytics/ 807.12kB No known conflicts with other themes or plugins.
wp-content/plugins/google-universal-analytics/assets/ 1.74kB No known conflicts with other themes or plugins.
wp-content/plugins/google-universal-analytics/assets/gua-main.css 628.00B No known conflicts with other themes or plugins.
wp-content/plugins/google-universal-analytics/assets/gua-main.js 1.13kB No known conflicts with other themes or plugins.
wp-content/plugins/google-universal-analytics/bootstrap/ 714.23kB No known conflicts with other themes or plugins.
wp-content/plugins/google-universal-analytics/bootstrap/css/ 531.93kB No known conflicts with other themes or plugins.
wp-content/plugins/google-universal-analytics/bootstrap/css/bootstrap-switch.min.css 4.78kB No known conflicts with other themes or plugins.
wp-content/plugins/google-universal-analytics/bootstrap/css/bootstrap-theme.css 14.92kB No known conflicts with other themes or plugins.
wp-content/plugins/google-universal-analytics/bootstrap/css/bootstrap-theme.css.map 37.49kB No known conflicts with other themes or plugins.
wp-content/plugins/google-universal-analytics/bootstrap/css/bootstrap-theme.min.css 12.88kB No known conflicts with other themes or plugins.
wp-content/plugins/google-universal-analytics/bootstrap/css/bootstrap.css 124.03kB No known conflicts with other themes or plugins.
wp-content/plugins/google-universal-analytics/bootstrap/css/bootstrap.css.map 240.20kB No known conflicts with other themes or plugins.
wp-content/plugins/google-universal-analytics/bootstrap/css/bootstrap.min.css 97.63kB No known conflicts with other themes or plugins.
wp-content/plugins/google-universal-analytics/bootstrap/fonts/ 144.84kB No known conflicts with other themes or plugins.
wp-content/plugins/google-universal-analytics/bootstrap/fonts/glyphicons-halflings-regular.eot 19.86kB No known conflicts with other themes or plugins.
wp-content/plugins/google-universal-analytics/bootstrap/fonts/glyphicons-halflings-regular.svg 61.90kB No known conflicts with other themes or plugins.
wp-content/plugins/google-universal-analytics/bootstrap/fonts/glyphicons-halflings-regular.ttf 40.31kB No known conflicts with other themes or plugins.
wp-content/plugins/google-universal-analytics/bootstrap/fonts/glyphicons-halflings-regular.woff 22.77kB No known conflicts with other themes or plugins.
wp-content/plugins/google-universal-analytics/bootstrap/js/ 37.46kB No known conflicts with other themes or plugins.
wp-content/plugins/google-universal-analytics/bootstrap/js/bootstrap-switch.min.js 9.02kB No known conflicts with other themes or plugins.
wp-content/plugins/google-universal-analytics/bootstrap/js/bootstrap.min.js 28.44kB No known conflicts with other themes or plugins.
wp-content/plugins/google-universal-analytics/classic/ 7.72kB No known conflicts with other themes or plugins.
wp-content/plugins/google-universal-analytics/classic/classic-analytics.php 4.05kB No known conflicts with other themes or plugins.
wp-content/plugins/google-universal-analytics/classic/custom-analytics.php 3.67kB No known conflicts with other themes or plugins.
wp-content/plugins/google-universal-analytics/googleanalytics.php 12.03kB No known conflicts with other themes or plugins.
wp-content/plugins/google-universal-analytics/langs/ 12.03kB No known conflicts with other themes or plugins.
wp-content/plugins/google-universal-analytics/langs/gua-es_ES.mo 2.42kB No known conflicts with other themes or plugins.
wp-content/plugins/google-universal-analytics/langs/gua-es_ES.pot 3.49kB No known conflicts with other themes or plugins.
wp-content/plugins/google-universal-analytics/langs/gua-lt_LT.mo 2.52kB No known conflicts with other themes or plugins.
wp-content/plugins/google-universal-analytics/langs/gua-lt_LT.pot 3.60kB No known conflicts with other themes or plugins.
wp-content/plugins/google-universal-analytics/options.php 6.27kB No known conflicts with other themes or plugins.
wp-content/plugins/google-universal-analytics/readme.txt 6.58kB No known conflicts with other themes or plugins.
wp-content/plugins/google-universal-analytics/screenshot-1.png 17.94kB No known conflicts with other themes or plugins.
wp-content/plugins/google-universal-analytics/screenshot-2.png 25.93kB No known conflicts with other themes or plugins.
wp-content/plugins/google-universal-analytics/tracking-code.php 2.65kB No known conflicts with other themes or plugins.

Which new shortcodes does Google Universal Analytics add to WordPress?

Which new database tables are created by the WordPress plugin Google Universal Analytics?

Which new options are added to the wp-options table by Google Universal Analytics?

What new PHP functions does Google Universal Analytics declare when it is active?

Function   Conflicts Common Errors
myplugin_load_textdomain 15 conflicts Fatal error: Cannot redeclare myplugin_load_textdomain()
register_plugin_settings 5 conflicts Fatal error: Cannot redeclare register_plugin_settings()
activate_google_universal_analytics 0 conflicts Fatal error: Cannot redeclare activate_google_universal_analytics()
admin_menu_google_universal_analytics 0 conflicts Fatal error: Cannot redeclare admin_menu_google_universal_analytics()
classic_analytics_page_google_universal_analytics 0 conflicts Fatal error: Cannot redeclare classic_analytics_page_google_universal_analytics()
custom_analytics_page_google_universal_analytics 0 conflicts Fatal error: Cannot redeclare custom_analytics_page_google_universal_analytics()
deactive_google_universal_analytics 0 conflicts Fatal error: Cannot redeclare deactive_google_universal_analytics()
display_google_universal_analytics_code 0 conflicts Fatal error: Cannot redeclare display_google_universal_analytics_code()
google_classic_analytics 0 conflicts Fatal error: Cannot redeclare google_classic_analytics()
google_custom_analytics 0 conflicts Fatal error: Cannot redeclare google_custom_analytics()
google_universal_analytics 0 conflicts Fatal error: Cannot redeclare google_universal_analytics()
google_universal_analytics_scripts 0 conflicts Fatal error: Cannot redeclare google_universal_analytics_scripts()
options_page_google_universal_analytics 0 conflicts Fatal error: Cannot redeclare options_page_google_universal_analytics()
register_plugin_settings1 0 conflicts Fatal error: Cannot redeclare register_plugin_settings1()
register_plugin_settings2 0 conflicts Fatal error: Cannot redeclare register_plugin_settings2()

Using Google Universal Analytics from the command line with WP-CLI

The following commands are provided for convenience and should only be used if you understand how WP-CLI works. These commands refer to a single WordPress instance and may need to be modified if you are working with a Multisite installation.


How to install Google Universal Analytics from the command line with WP-CLI

Navigate to the root of your WordPress installation and type the following command:

wp plugin install google-universal-analytics


How to activate Google Universal Analytics from the command line with WP-CLI

To immediately activate Google Universal Analytics after WP-CLI downloads the latest version you can use the following command:

wp plugin install google-universal-analytics --activate


How to reinstall Google Universal Analytics from the command line with WP-CLI

To force a reinstallation of Google Universal Analytics which overwrites the current plugin without asking for confirmation you can use the following command:

wp plugin install google-universal-analytics --force


How to update Google Universal Analytics to the latest version from the command line with WP-CLI

wp plugin update google-universal-analytics


How to delete Google Universal Analytics from the command line with WP-CLI

wp plugin delete google-universal-analytics

Where can you download earlier versions of Google Universal Analytics?

Whenever possible you should use the latest version of plugins and themes, however if you have recently updated and discovered that you need to install an earlier version you may be able to download other versions of Google Universal Analytics from the WordPress repository by visiting this link.

Please note that installing earlier versions of a theme or plugin is not generally a recommended course of action for most users and could re-introduce security, stability or other issues in Google Universal Analytics

About our testing enviroment

Tests were conducted using Apache 2.4.29, PHP 7.2 on Ubuntu 18.04, MySQL 5.7.33 and WordPress 5.9

It is very possible that different versions of PHP such as PHP 8.0, PHP 7.4, or PHP 7.3 could behave differently with Google Universal Analytics. Different versions of WordPress could implement the features of this plugin in slightly different ways as well.