WP Manifestindependent plugin directory
manifest / analytics / wsuwp-plugin-analytics

WSU Analytics

Provides tracking scripts and GA ID management for WSU WordPress sites.

★ 2stars
1.3.4latest · 3 years ago

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/washingtonstateuniversity/wsuwp-plugin-analytics/archive/refs/heads/master.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

WSU Analytics is a WordPress plugin that provides tracking through Google Analytics for WSU WordPress sites using Google Tag Manager.

This plugin is activated globally on the WSUWP Platform but can be used on any individual WordPress site at WSU. See the filters at the bottom of this page for providing your own application level analytics. If you have any questions about implementation, please reach out to Web Communication.

Analytics Settings

The settings page for WSU Analytics can be found in your dashboard under "Settings -> Analytics". The following options are available.

Site Verification

  • A Google Site Verification entry is available to verify your site with Google for access to additional information. Use the meta tag instructions to find your Google Site Verification id.
    • In this example <meta name="google-site-verification" content="rPLtSyh-8YGAAT9US7ogfbu32nSPzfoXfxyZrn6t1zA" />, you would copy the characters from the content="" section of the tag.
  • A Bing Site Verification entry is available to similarly verify your site with Bing.
    • As with the Google example, copy the characters from the content="" section in the meta tag.

Google Analytics

Traffic and associated events will be tracked automatically at the global (WSU) and app (WordPress) platforms. Additional settings are provided to track specific site data and to improve the data tracked globally.

  • Google Analytics ID - The Google Analytics UA ID used to track analytics for your individual site.
  • Campus - The campus, if any, a site is associated with.
  • College - The college, if any, a site is associated with.
  • Unit Type - The type of unit this site is associated with.
  • Parent Unit - A parent entity for the unit the site is associated with.
  • Unit - The unit the site is associated with.

For global administrators, options are provided to turn on and off global, application, and site analytics to aid in troubleshooting.

If a theme has decided to extend or override the default events provided by WSU Analytics, an option will appear to either extend or override. See the filters below for more advanced functionality.

Extending Analytics

Filters are available in the WSU Analytics plugin to extend functionality.

  • wsu_analytics_app_analytics_id - Empty string by default. Provide a valid GA ID to track traffic at an application level.
  • wsu_analytics_local_debug - False by default. Return true if you'd like to override how WSU Analytics handles local environments.

Releases

Newest 25 of 39 recorded releases.

Tag
Published
1.3.4 latest
Jan 31, 2023 3 years ago
Jan 31, 2023 3 years ago
Jan 27, 2023 3 years ago
Jan 24, 2023 3 years ago
Jan 24, 2023 3 years ago
Jan 27, 2021 5 years ago
Dec 7, 2020 5 years ago
Sep 15, 2017 9 years ago
Sep 6, 2017 9 years ago
Dec 19, 2016 9 years ago
Dec 15, 2016 9 years ago
Dec 7, 2016 9 years ago
Jun 1, 2016 10 years ago
May 17, 2016 10 years ago
Apr 13, 2016 10 years ago
Apr 13, 2016 10 years ago
Apr 13, 2016 10 years ago
Apr 13, 2016 10 years ago
Apr 12, 2016 10 years ago
Mar 1, 2016 10 years ago
Nov 10, 2015 11 years ago
May 30, 2015 11 years ago
May 30, 2015 11 years ago
May 30, 2015 11 years ago
May 18, 2015 11 years ago
All releases on GitHub →

These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.