This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Google Analytics Link (GAL)


Google Analytics Link (GAL) adds a direct link to Google Analytics for the page you are managing. The link appears in the Admin Bar (ToolBar), visiable only to those with an Admininstrator account.

The story behind our plugin is simple. A member of our management at M&S Consulting simply asked “Why can’t I quickly look directly at the Google Analytics for the page I am managing? If there is nothing that does this, please just create a plugin for it.” A few hours later, this plugin was born! You immediately get taken to Google Analytics, directly to the specific page’s traffic information by clicking a link.

The Google Analytics hyperlink is associated with a Google Analytics URL ID an Administrator sets up in the plugin’s settings page. See this below video and our [FAQ] for how to find your Google Analytics URL ID — it’s NOT the same as your Google Analytics “Tracking ID”.


  • Example links on a page
  • Setting Page


  1. Upload ‘google-analytics-link’ folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Enter the Google Analytics URL ID into the text box under settings.


Where is the Google Analytics hyperlink?

Once you are logged into WP as an Administrator, you can find the link at the top of your page or post in the Admin Bar (aka ToolBar), typically next to the “+ New” link. See the video for an example.

Where do I set the Google Analytics URL ID? And were do I get the ID?

You can set the Google ID from the plugin’s settings page. To get your Google Analytics URL ID, navigate to your web property in [Google Analytics] and review the URL in your browser. You should see something like: Your URL ID is the part that looks like the following: axxxxxxxxxxxxxxxxxxxxxx3048. You should put this into the GAL plugin settings page.

I got an “illegal state has occurred” as an error. What do I do?

There are a few reasons for this error, but the most common is if you click on the GAL link from the dashboard. If you are visiting the page as an Administrator, you will click the link from the Admin bar.

Contributors & Developers

“Google Analytics Link (GAL)” is open source software. The following people have contributed to this plugin.




  • Updated readme
  • Cleanup of naming
  • Adding video to Settings page to help admins locate the website’s Google Analytics URL ID


  • Updated readme
  • Link to Settings page


  • Moved link from bottom of page to Admin Bar
  • Updated Setting page to include instructions


  • Updated Plugin to only include one link.
  • Removed Logo from plugin


  • Initial release.