=== Analytics Insights - Google Analytics, AMP Analytics, Stats === Contributors: deconf Donate link: https://deconf.com/donate/ Tags: google analytics, stats Requires at least: 3.5 Tested up to: 5.8 Stable tag: 5.4.2.1 Requires PHP: 5.2.4 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Connects Google Analytics with your WordPress site. Displays stats and gives insights to help you understand your users and site content on a whole new level! == Description == Analytics Insights is a plugin for Google Analytics that enables site tracking using the latest Google Analytics tracking code. It allows you to view key Google Analytics stats in your WordPress Dashboard. In addition to a set of general Google Analytics stats, insights like in-depth Page reports and in-depth Post reports are available. The Google Analytics tracking code is fully customizable through options and hooks, allowing advanced data collection like custom dimensions and events. = Google Analytics Real-Time Stats = Google Analytics reports, in real-time, in your dashboard screen: - Real-time number of visitors - Real-time acquisition channels - Real-time traffic sources details = Google Analytics Reports and Insights = The Google Analytics insights and reports you need on your dashboard and on the site's frontend: - Sessions, organic searches, page views, bounce rate analytics stats - Locations, pages, referrers, keywords, 404 errors analytics stats - Traffic channels, social networks, traffic mediums, search engines analytics stats - Device categories, browsers, operating systems, screen resolutions, mobile brands analytics stats = Google Analytics Tracking = Installs the latest Google Analytics tracking code and allows full code customization: - Universal Google Analytics (analytics.js) tracking code - Global Site Tag (gtag.js) tracking code - Accelerated Mobile Pages (AMP) support for Google Analytics - Cross domain tracking - Ecommerce support for Google Analytics - User privacy oriented features and much more With Analytics Insights you can easily track events like downloads, page scrolling depth, outbound links, emails. In addition, you can track custom event categories, actions, and labels using annotated HTML elements. Custom dimensions tracking of authors, publication date, categories, tags is also possible with Analytics Insights. = Google Tag Manager Tracking = As an alternative to Google Analytics tracking code, you can use Google Tag Manager for tracking: - Google Tag Manager code - Data Layer variables: authors, publication date, categories, tags, user type - Accelerated Mobile Pages (AMP) support for Google Tag Manager = Accelerated Mobile Pages (AMP) features = - Google Tag Manager basic tracking - Google Analytics basic tracking - Automatically removes amp/ from Google Analytics tracking page URL - Events tracking, custom dimensions tracking, annotated HTML elements tracking = Analytics Insights on Multisite = This plugin is fully compatible with multisite network installs, allowing three setup modes: - Mode 1: network activated using multiple Google Analytics accounts - Mode 2: network activated using a single Google Analytics account - Mode 3: network deactivated using multiple Google Analytics accounts = Further reading = * Homepage of [Analytics Insights](https://deconf.com/analytics-insights-for-wordpress/) * Other [WordPress Plugins](https://deconf.com/wordpress/) by same author == Installation == 1. Upload the full analytics-insights directory into your wp-content/plugins directory. 2. In WordPress select Plugins from your sidebar menu and activate the Analytics Insights plugin. 3. Open the plugin configuration page, which is located under Analytics Insights menu. 4. Authorize the plugin to connect to Google Analytics using the Authorize Plugin button. 5. Go back to the plugin configuration page, which is located under Analytics Insights menu to update/set your settings. 6. Go to Analytics Insights -> Tracking Code to configure/enable/disable tracking. == Frequently Asked Questions == = Do I have to insert the Google Analytics tracking code manually? = No, once the plugin is authorized and a default domain is selected the Google Analytics tracking code is automatically inserted in all webpages. = Some settings are missing in the video tutorial = We are constantly improving Analytics Insights, sometimes the video tutorial may be a little outdated. = How can I suggest a new feature, contribute or report a bug? = You can submit pull requests, feature requests, and bug reports on [our GitHub repository](https://github.com/deconf/analytics-insights). = Documentation, Tutorials, and FAQ = For documentation, tutorials, FAQ and videos check out: [Analytics Insights documentation](https://deconf.com/analytics-insights-for-wordpress/). == Screenshots == 1. Blue Color 2. Real-Time Analytics 3. Analytics reports per Posts/Pages 4. Geo Map 5. Top Pages, Top Referrers, and Top Searches 6. Traffic Overview 7. Statistics per page on Frontend 8. Cities on the region map 9. Analytics Insights Widget == License == Analytics Insights it's released under the GPLv2, you can use it free of charge on your personal or commercial website. == Upgrade Notice == == Changelog == [AIWP v5.4 release notes](https://deconf.com/analytics-insights-for-wordpress/) = 5.4.2 (2021.09.10) = * Bug Fixes: * fixes uaid issue for universal analytics = 5.4.1 (2021.09.09) = * Security Fixes: * sanitizing, escaping, and validating additional data * Enhancements: * new translations for multiple languages * replacing Cheating huh? with a more helpful feedback * Bug Fixes: * fixes multisite/network mode random token resets = 5.4 (2021.08.30) = * Enhancements: * capability to filter and search within displayed tables * automatically authorize users with Google Analytics, without copy/pasting the access codes * improvements on UX for reports and stats switching (no more charts reloading) * removed automatic updates * settings page optimization * refactoring code on the settings page * removed a duplicate option in Tracking Code * Bug Fixes: * CSS fix for on/off buttons on Analytics Insights settings = 5.3.2 = * Bug Fixes: * fixes for user opt-out feature * Enhancements: * use aiwp_useroptout shortcode to easily generate opt-out buttons and links, [more details](https://deconf.com/google-analytics-gdpr-and-user-data-privacy-compliance) * adding aiwp_gtag_commands and aiwp_gtag_script_path hooks to allow further gtag (Global Site Tag) code customization * adds opt-out and DNT support for Google Tag Manager = 5.3.1.1 = * Bug Fixes: * avoid universal analytics tracking issues by not clearing the profiles list on automatic token resets = 5.3.1 = * Bug Fixes: * fixing PHP notices on frontend stats when upgrading from a version lower than v4.8.0.1 = 5.3 = * Enhancements: * adds full support for Global Site Tag (gtag.js) * remove Scroll Depth functionality, since this is now available as a trigger on Google Tag Manager * adds custom dimensions support for AMP pages with Google Tag Manager tracking * adds support for button submits * Bug Fixes: * form submit analytics events were not following the non-interaction settings = 5.2.3.1 = * Bug Fixes: * fixing a small reporting issue on dashboard stats = 5.2.3 = * Enhancements: * add Google Analytics user opt-out support * add option to exclude Google Analytics tracking for users sending the Do Not Track header * add System tab to Errors & Debug screen * check to avoid using a redeemed Google Analytics access code * Bug Fixes: * remove a debugging message for analytics reports * cURL options were overwritten during regular Analytics API calls = 5.2.2 = * Enhancements: * more informative alerts and suggestions on the authorization screen * disable autocomplete for the access code input field to avoid reuse of the same unique Google Analytics authorization code * AIWP Endpoint improvements * Error reporting improvements * introducing the aiwp_maps_api_key filter * Bug Fixes: * use the theme color palette for the frontend stats widget = 5.2.1 = * Enhancements: * avoid submitting empty error reports from Google Analytics API * Bug Fixes: * fixes a bug for custom PHP cURL options = 5.2 = * Enhancements: * improvements on Google Analytics API exponential backoff system * introduces a new authentication method with endpoints for Google Analytics * multiple updates of plugin's options * code cleanup * improvements on error reporting system * option to report errors to developer * move the upgrade notice from the Dashboard to Insights Analytics settings page * enable PHP cURL proxy support using WordPress settings, props by [Joe Hobson](https://github.com/joehobson) * hide unusable options based on Analytics Insights settings * Bug Fixes: * some thrown errors were not displayed on Errors & Debug screen * analytics icon disappears from post list after quick edit, props by [karex](https://github.com/karex) * fix for inline SVG links, props by [Andrew Minion](https://github.com/macbookandrew) * fixes a bug on affiliate events tracking The full changelog is [available here](https://deconf.com/changelog-analytics-insights/).