=== Google Analytics Dashboard for WP by ExactMetrics (formerly GADWP) ===
Contributors: chriscct7, smub
Donate link: http://www.wpbeginner.com/wpbeginner-needs-your-help/
Tags: analytics,google analytics,google analytics dashboard,google analytics plugin,google analytics widget,gtag
Requires at least: 3.8.0
Tested up to: 5.6
Stable tag: 6.6.0
Requires PHP: 5.2
License: GPL v3

Connects Google Analytics with your WordPress site. Displays stats to help you understand your users and site content on a whole new level!

== Description ==
The <a href="https://exactmetrics.com/?utm_source=wprepo&utm_medium=link&utm_campaign=liteversion" rel="friend" title="ExactMetrics">ExactMetrics</a> Google Analytics for WordPress plugin helps you properly setup all the powerful Google Analytics tracking features without writing any code or hiring a developer.

More importantly, over 1 million users love ExactMetrics because of our signature Google Analytics Dashboard that helps you view key Google Analytics stats right inside your WordPress dashboard.

Our goal at ExactMetrics is to help you grow your business faster with data-driven decisions.

This is why we built the most comprehensive Google Analytics plugin for WordPress, so you can setup all the powerful tracking features that website owners otherwise miss out on when simply pasting the analytics code in WordPress.

We go beyond the simple analytics script and add the advanced event tracking, so you can see all important user behavior in WordPress with just a few clicks (without hiring a developer).

Basically, we made the same advanced Google analytics setup that big enterprise companies used to pay thousands of dollars for, available to every small business owner without the high costs.

This is why even the large companies like Microsoft, Quickbooks, Pizza Hut, Delta, Pepsi, Coldwell Bankers, and many others are using Exact Metrics to properly setup Google Analytics and see the custom analytics reports in WordPress.

> <strong>ExactMetrics Pro</strong><br />
> This plugin is the lite version of ExactMetrics Pro plugin that comes with all the Google analytics tracking features you will ever need including events tracking, ecommerce tracking, custom dimensions tracking, form conversion tracking, affiliate link tracking, and tons more. <a href="https://exactmetrics.com/?utm_source=wprepo&utm_medium=link&utm_campaign=liteversion" rel="friend" title="ExactMetrics">Click here to purchase the best premium Google Analytics plugin for WordPress now!</a>

We are on a mission to level the playing field for small businesses, so they can grow their business faster with data-driven decisions.

https://www.youtube.com/watch?v=4GZ-IgZssao

See what one business owner is saying about ExactMetrics:

> This is absolutely, positively, one of the TOP plugins to install on your WP site. There is no better way to quickly gauge traffic for spikes, surges, and consistency. I installed this on over a dozen WordPress installations and counting, thank you for an outstanding app!<br>
> Daniel Monaghan

= Full ExactMetrics Feature List =

* Accurate Tracking - Properly setup all powerful Google Analytics features with just a few clicks (without hiring a developer)
* Easy Google Analytics Dashboard - See your Google analytics reports right inside your WordPress dashboard with actionable insights.
* Real-time Stats - See who is viewing your website, what they're doing, where they're coming from, how they found your site, and more.
* Ecommerce Tracking - Setup Google Analytics Enhanced eCommerce tracking for WooCommerce, Easy Digital Downloads, & MemberPress (with 1-click).
* GDPR / CCPA Compliant - Automatically make Google Analytics compliant with GDPR, CCPA, and other privacy regulations.
* Affiliate Link Tracking - Automatically track clicks on your affiliate links with our enhanced link attribution.
* Ad Tracking - Automatically track clicks on Google AdSense banner ads inside Google Analytics.
* File Download Tracking - Track every file download with just one-click.
* Outbound link tracking - Track your outbound link clicks inside Google Analytics.
* Custom Dimensions Tracking – Enable Google analytics custom dimensions tracking for WordPress events.
* Email Summaries - Get a weekly report of your website’s traffic directly in your inbox without having to login to your site.
* Author Tracking – See author stats and discover who’s the most popular author on your site.
* Google Analytics for AMP – Add proper Google Analytics tracking for Google AMP.
* Form Conversion Tracking – Track conversions for your WordPress forms. Works with all popular plugins including WPForms, Contact Form 7, Gravity Forms, Formidable Forms, default WordPress comment form, and more.
* Performance Addon - Adjust Google Analytics speed & sample rate, along with other advanced performance features.
* Google Optimize Addon - Enable A/B Testing with Google Optimize and connect it with Google Analytics.
* Custom Events Tracking - Track custom button, menu links, and banner clicks with Google Analytics.
* Contextual Insights - Get tips on how to improve your site's traffic and engagement based on real traffic data.
* Referral Tracking - See your top traffic referrals so you can unlock new opportunities.
* Page level insights - Get detailed insights for each post, page, and products, so you can see the most popular areas and sections of your site.
* Headline Analyzer - Get instant feedback on your post titles directly from the WordPress editor to improve SEO and get more clicks.
* Popular post tracking - See which pages, posts, and products are the most popular with Google Analytics.
* Scroll Depth tracking - See how far users scroll on your website with automatic scroll tracking in Google Analytics.

= Custom Analytics Reports =

* Overview Report - See the most important Google Analytics data in an easy to understand report, right inside your WordPress dashboard (Save 5 minutes each day).
* Publisher Report - See exactly which content gets the most visit, which affiliate links are performing the best, what new partnership opportunities you should pursue, and more.
* Ecommerce Report - See all your important online store metrics in one place such as total revenue, conversion rate, average order value, top products, top conversion sources, and more.
* Search Console Report - See how well your website is ranking in Google, so you can optimize your SEO to grow your traffic.
* Forms Report - See your conversion stats for various contact forms and lead forms on your website to improve conversions.
* Custom Dimensions Report - See useful stats like most popular authors, best publication times, popular categories, tags, Yoast focus keywords, SEO score, etc.
* Real Time Report - see who is online on your website in real-time, right inside your WordPress dashboard.
* Customizable Google Analytics Dashboard Widget - Our dashboard widget allows you to have quick access to your most important stats at the moment you login to your WordPress dashboard.
* Page Insights in Admin Bar - Easily view analytics for each individual page and post from the ExactMetrics menu in WordPress admin bar while browsing your website.
* Email Summaries - Get the most important metrics delivered to you and/or your client's email inboxes weekly with our brandable Email Summaries, allowing you to keep up to date on your website's Google Analytics results even without needing to login to the Google Analytics dashboard.
* PDF Exports - Easily take your ExactMetrics reports with you or send them to clients or colleagues by exporting all ExactMetrics reports as a brandable PDF.
* Site Speed Report - helps you improve your website’s performance by displaying key metrics and actionable tips to improve those based on WordPress-specific solutions.
* Popular Posts - Display popular posts in your post content automatically or using Gutenberg blocks and shortcodes. Show off your top posts to your visitors using sidebar widgets, Gutenberg blocks or shortcodes

= Integrations =

* WooCommerce Google Analytics - Automatically setup Google analytics enhanced eCommerce tracking for WooCommerce.
* Easy Digital Downloads Google Analytics - Automatically setup Google analytics enhanced eCommerce tracking for EDD.
* MemberPress Google Analytics - Automatically setup Google analytics enhanced eCommerce tracking for MemberPress.
* WPForms Google Analytics - Automatically setup form conversion tracking for WPForms.
* Formidable Forms Google Analytics - Automatically setup form conversion tracking for Formidable Forms.
* Gravity Forms Google Analytics - Automatically setup form conversion tracking for Gravity Forms.
* Contact Form 7 Google Analytics - Automatically setup form conversion tracking for Contact Form 7.
* Yoast Google Analytics - Automatically setup SEO score tracking for Yoast SEO with custom dimensions.
* Pretty Links Google Analytics - Automatically setup affiliate link tracking for Pretty Links.
* Thirsty Affiliates Google Analytics - Automatically setup affiliate link tracking for Thirsty Affiliates.
* Google AdSense + Google Analytics - Automatically setup banner ads tracking for Google AdSense.
* Google Optimize + Google Analytics - Easily enable A/B testing in WordPress with Google Optimize and Google Analytics.

After reading this comprehensive feature list, you can probably imagine why over 1 million websites use ExactMetrics as their preferred Google Analytics plugin for WordPress.

Give ExactMetrics a try.

Want to unlock more features? <a href="https://exactmetrics.com/?utm_source=wprepo&utm_medium=link&utm_campaign=liteversion" rel="friend" title="ExactMetrics">Upgrade to our Pro version</a>.

> Love this plugin! It’s got powerful customization options, it’s easy to use, there’s good documentation, and if all that’s not enough, ExactMetrics is quick to provide support. Thanks for this wonderful plugin!<br>
> Julie Dupuis

= Note for Beginners =

Like all WordPress plugins, Google Analytics Dashboard for WordPress by ExactMetrics is only available for self-hosted WordPress sites. This means you will need to <a href="http://www.wpbeginner.com/wp-tutorials/how-to-properly-move-your-blog-from-wordpress-com-to-wordpress-org/" rel="friend" title="How to properly move from WordPress.com to WordPress.org">switch from WordPress.com to WordPress.org</a> if you want to use this plugin on your WordPress site.

For more details, see this infographic on <a href="http://www.wpbeginner.com/beginners-guide/self-hosted-wordpress-org-vs-free-wordpress-com-infograph/" rel="friend" title="Self Hosted WordPress.org vs Free WordPress.com">self hosted WordPress.org vs free WordPress.com</a>

= Credits =

This plugin is created by <a href="https://twitter.com/chriscct7" rel="friend" title="Chris Christoff">Chris Christoff</a> and <a href="https://syedbalkhi.com/" rel="friend" title="Syed Balkhi">Syed Balkhi</a> with sponsorship from <a href="http://www.wpbeginner.com/" rel="friend" title="WPBeginner">WPBeginner</a>.

= What's Next =

If you like this plugin, then consider checking out our other projects:

* <a href="https://optinmonster.com/" rel="friend" title="OptinMonster">OptinMonster</a> - Get More Email Subscribers
* <a href="https://wpforms.com/" rel="friend" title="WPForms">WPForms</a> - Best WordPress Contact Form Plugin
* <a href="https://aioseo.com/" rel="friend" title="AIOSEO">AIOSEO</a> - The original WordPress SEO plugin to help you rank higher in search results (trusted by over 2 million sites)
* <a href="https://www.seedprod.com/" rel="friend" title="SeedProd">SeedProd</a> - Most popular coming soon & maintenance mode plugin for WordPress
* <a href="https://wpmailsmtp.com/" rel="friend" title="WP Mail SMTP">WP Mail SMTP</a> - Improve email deliverability for your contact form with the most popular SMTP plugin for WordPress
* <a href="https://rafflepress.com/" rel="friend" title="RafflePress">RafflePress</a> - Best WordPress giveaway and contest plugin to grow traffic and social followers
* <a href="https://smashballoon.com/" rel="friend" title="Smash Balloon">Smash Balloon</a> - #1 social feeds plugin for WordPress - display social media content in WordPress without code
* <a href="https://pushengage.com/" rel="friend" title="PushEngage">PushEngage</a> - Connect with visitors after they leave your website with the leading web push notification plugin
* <a href="https://trustpulse.com/" rel="friend" title="TrustPulse">TrustPulse</a> - Add real-time social proof notifications to boost your store conversions by up to 15%

This plugin would not be possible without the help and support of <a href="https://www.wpbeginner.com/" rel="friend" title="WPBeginner">WPBeginner</a>, the largest free WordPress resource site for beginners. You can learn from our <a href="https://www.wpbeginner.com/category/wp-tutorials/" rel="friend" title="WordPress Tutorials">free WordPress Tutorials</a> like <a href="https://www.wpbeginner.com/how-to-install-wordpress/" rel="friend" title="How to Install WordPress - Step by Step">how to install WordPress</a>, <a href="https://www.wpbeginner.com/wordpress-hosting/" rel="friend" title="How to choose the best WordPress hosting">choose the best WordPress hosting</a>, <a href="https://www.wpbeginner.com/glossary/" rel="friend" title="WordPress Glossary Terms for Beginners">WordPress glossary</a>, and more.

You can also learn about other <a href="https://www.wpbeginner.com/showcase/24-must-have-wordpress-plugins-for-business-websites/" rel="friend" title="Best WordPress Plugins">best WordPress plugins</a>.

== Frequently Asked Questions ==

= Where can I find lite support? =

Lite support is provided exclusively [on our website](https://www.exactmetrics.com/lite-support).

= 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/awesomemotive/exactmetrics-repo).

= Documentation, Tutorials and FAQ =

For documentation, tutorials, FAQ and videos check out: [Google Analytics Dashboard for WP by ExactMetrics documentation](https://www.exactmetrics.com/docs/).

== Screenshots ==

1. Google Analytics Dashboard for WP Dashboard Widget (shown in small mode, can be configured to full size or hidden; can also customize reports shown)
2. Google Analytics Dashboard for WP Overview Report
3. Google Analytics Dashboard for WP eCommerce Report
4. Google Analytics Dashboard for WP Settings Page (super simple to use and configure as needed)

== Localization ==

You can translate Google Analytics Dashboard for WP by ExactMetrics on [translate.wordpress.org](https://translate.wordpress.org/projects/wp-plugins/google-analytics-dashboard-for-wp).

== Installation ==

1. Install Google Analytics Dashboard for WordPress by ExactMetrics either via the WordPress.org plugin repository or by uploading the files to your server. (See instructions on <a href="http://www.wpbeginner.com/beginners-guide/step-by-step-guide-to-install-a-wordpress-plugin-for-beginners/" rel="friend">how to install a WordPress plugin</a>)
2. Activate Google Analytics for WordPress by ExactMetrics.
3. Navigate to the Insights tab in your WordPress admin menu and configure the plugin.
4. Want more features? <a href="https://www.exactmetrics.com/?utm_source=wprepo&utm_medium=link&utm_campaign=liteversion">Purchase ExactMetrics Pro</a>!

== Changelog ==
= 6.6.0: February 9, 2021 =
- New: We've updated the plugin to use Google's Global Site Tag (gtag.js) tracking solution for a futureproof setup combined with our exclusive compatibility layer that enables existing analytics.js events integrations to continue to work seamlessly.
- Tweak: We updated some CSS styles on our admin panel for improved compatibility with other plugins.
- Tweak: We adjusted the order of some parameters to improve compatibility with upcoming PHP8.

= 6.5.1: January 27, 2021 =
- Fix: We made an adjustment to fix an issue with the cross-domain tracking for the gtag.js tracking option.

= 6.5.0: January 19, 2021 =
- New: We added support for Google’s global site tag (gtag.js) with a seamless upgrade experience for all your existing events or integrations with analytics.js. Upgrading to this version will give you the option to manually opt-in to gtag.js that will become the standard tracking code in a future version.
- Fix: We added an extra check to prevent a potential error on older PHP versions from our Popular Posts feature.

= 6.4.0: December 16, 2020 =
- New: With our new, limited-time only, Year in Review report you’ll be able to see how your site performed in 2020 and how to improve in 2021.
- Tweak: Our contextual notifications are now more efficient when using report data.
- Tweak: Selecting the “no styles” option in the Popular Posts settings now also prevents any inline styles from being output.
- Tweak: Our campaign URL tool now encodes values better.
- Tweak: We removed a JavaScript dependency in the Popular Posts Widget settings.
- Tweak: We added a limit to the number of dismissed notifications for better storage usage.
- Fix: We added a value for the alt parameter of the images used in the Popular Posts widgets.
- Fix: Our Popular Posts widgets had a potential infinite recursion error in certain situations so we added a check to prevent that.

= 6.3.3: December 10, 2020 =
- Fix: Prevent a notice from showing up in WordPress 5.6 when editing a post.

= 6.3.2: November 24, 2020 =
- Tweak: We improved performance by tweaking some of the contextual insights using report data.
- Fix: Automatic inserting of the inline popular posts widget was not working as expected for sites using languages with multi-byte characters.

= 6.3.0: November 3, 2020 =
- New: Brand new Popular Posts feature to showcase your best posts using Gutenberg Blocks, Sidebar Widgets or directly in the post content. You can choose from multiple themes and customise styles individually.
- New: Contextual Insights - get smart tips based on your analytics data directly in your ExactMetrics dashboard.
- Tweak: We improved our site health checks for multiple trackers to support more legitimate uses of multiple UA codes.
- Tweak: We adjusted our reports area to avoid some boxes not displaying when there was no data available.
- Tweak: We made an adjustment to our dashboard widget for better compatibility with the WordPress 5.5 changes
- Tweak: We adjusted our Headline Analyzer option loading to better match WordPress version compatibility.
- Fix: We fixed an issue with the PDF export of the Overview Report getting cut off.
- Fix: We adjusted our autoupdate integration to avoid a PHP notice in certain instances.

= 6.2.2: August 10, 2020 =
- Tweak: We adjusted our Headline Analyzer dependencies to improve reported compatibility issues with some page builder plugins.

= 6.2.1: August 6, 2020 =
- Tweak: WordPress Core decided to merge some additional work into 5.5 later than usual into the release process. This update adds additional work to enable perfect compatibility with those changes.

= 6.2.0: August 5, 2020 =
- New: Our plugin now includes a Headline Analyzer tool to help you write more SEO-friendly headlines that drive traffic and social-media shares directly in the Gutenberg editor.
- Tweak: Large numbers are now better formatted across all reports so they are easier to read.
- Tweak: We made some tweaks to ensure better compatibility with the WordPress 5.5 release.
- Tweak: Our automatic duplicate tracker detection now includes support for more scenarios to avoid false positives.
- Fixed: Loading custom translations from the plugin folder is now working correctly.

= 6.1.0: June 24, 2020 =
- New: On our UTM builder in our Tools submenu page, we’ve integrated with PrettyLinks to enable conversion of generated URLs into PrettyLinks.
- Tweak: The multisite setup process has been streamlined for users who network activate ExactMetrics. We’ve introduced a new setup wizard for those users, and worked on ironing out the experience.
- Tweak: Our integration with WordPress’s Site Health feature now handles detection of Coming Soon plugins to reduce false positives for the automatic check of the tracking code output.
- Tweak: The “Tracking code not output” error will no longer appear for users who have the PHP constant in use to disable tracking on testing and staging sites.
- Fixed: A bug that caused the enhanced link attribution code to not output for some users has been fixed.

= 6.0.2: February 25, 2020 =
- New: We added a new "classic" mode to the dashboard based on user feedback. This new mode allows for a more compact, compressed widget to see all the most important information at a glance..
- Tweak: We disabled the eCommerce settings and reports for users that are not using any eCommerce plugin.
- Tweak: We updated the caching interval for reports data to avoid confusion due to timezone settings in Google Analytics.
- Tweak: We updated the administrator not tracking notice to dismiss permanently on first view or button click in addition to the existing "x" icon


= 6.0.1: February 14, 2020 =
- New: The dashboard widget now shows the reports chart.
- Fixed: We changed animation timing as that was preventing certain Safari users from accessing the onboarding wizard.
- Fixed: We fixed a bug with the dashboard widget settings layout for mobile in full-width mode.
- Tweak: We simplified the migration wizard based on previous settings.


= 6.0.0: February 12, 2020 =
- New: Welcome to the new ExactMetrics. Redesigned from the ground up, the new ExactMetrics is easier to use than ever before featuring a clean slate design, a new ultra fast Javascript based settings panel, helpful wizards, and thorough documentation, backed by new (and complimentary) lite support for all users.
- New: Settings panel has been completely redesigned to make it easier than ever to use. We got rid of the multiple settings pages with multiple subpages of the old version and introduced a new settings panel with all of the settings all in a single location. We've updated the settings we offer based on data from our opt-in usage tracking feature, eliminating cumbersome settings that weren't being used, and introducing long demanded new options. We've added helpful new descriptions, tooltips, and validation to make it easier than ever.
- New: The reporting system has been re-invisioned to make it more intuitive and easy to use with a new discrete reports area. The dashboard widget has been updated to add configurable options for report items to show, and now has a full screen mode that you can turn on if desired. We've also added simple ways to enable/disable the reporting areas based on your preferences.
- New: The ExactMetrics tracking system has been redeveloped to be more accurate and easier to use than ever before. With a new well-documented custom actions API available both as a JS function and a simple HTML markup, tracking custom events has never been easier. Our tracking also integrates with many new plugins to ensure compatibility with all of your favorite WordPress tools.
- New: We've worked on dramatically improving performance, and aggressively eliminating bugs reported in previous versions.

= 5.3.10 =
- New: Adds ability for users to apply to be the first to try new features
- Fixed: Compatibility fixes for the newly released PHP 7.4 version.

= 5.3.9 =
- Fixed: Fixes conflict with WordFence

= 5.3.8 =
- New: Updates dependency libraries.
- New: Confirms compatibility with WordPress 5.1 and 5.2.
- Tweak: Updates dependency libraries.
- Tweak: Confirms compatibility with WordPress 5.0.
- Tweak: Replaces "Cheating Huh?"" with "You don’t have permission to do this" to align the error message with recent WP core changes. (core.trac.wordpress.org/ticket/38332)

= 5.3.5 =
- Fixed: Re-tagging release to fix a deployment issue.

= 5.3.4 =
- New: Adds more robust settings to control various ExactMetrics configuration warnings.
- New: Adds the ability to opt-into usage tracking.

= 5.3.3 =
- Fixed: Updated endpoint for GA auth to use updated system.
- Fixed: Fixed a bug where the opt-out and exclude DNT options were listed twice.

= 5.3.2 =
- Fixed: fixes for user opt-out feature
- Tweak: use <em>gadwp_useroptout</em> shortcode to easily generate opt-out buttons and links, [more details](https://exactmetrics.com/google-analytics-gdpr-and-user-data-privacy-compliance)
- Tweak: adding <em>gadwp_gtag_commands</em> and <em>gadwp_gtag_script_path</em> hooks to allow further gtag (Global Site Tag) code customization
- Tweak: adds opt-out and DNT support for Google Tag Manager

= 5.3.1.1 =
- Fixed: avoid tracking issues by not clearing the profiles list on automatic token resets

= 5.3.1 =
- Fixed: frontend_item_reports PHP notice when upgrading from a version lower than v4.8.0.1

= 5.3 =
- New: adds full support for Global Site Tag (gtag.js)
- New: adds custom dimensions support for AMP pages with Google Tag Manager tracking
- New: adds support for button submits
- Tweak: remove Scroll Depth functionality, since this is now available as a trigger on Google Tag Manager
- Fixed: form submit events were not following the non-interaction settings

= 5.2.3.1 =
- Fixed: fixing a small reporting issue

= 5.2.3 =
- New: add Google Analytics user opt-out support
- New: add option to exclude tracking for users sending the <em>Do Not Track</em> header
- New: add System tab to Errors & Debug screen
- Tweak: check to avoid using a redeemed access code
- Fixed: remove a debugging message
- Fixed: cURL options were overwritten during regular API calls

= 5.2.2 =
- New: more informative alerts and suggestions on the authorization screen
- New: introducing the gadwp_maps_api_key filter
- Tweak: disable autocomplete for the access code input field to avoid reuse of the same unique authorization code
- Tweak: GADWP Endpoint improvements
- Tweak: Error reporting improvements
- Fixed: use the theme color palette for the frontend widget

= 5.2.1 =
- Tweak: avoid submitting empty error reports
- Fixed: fixes a bug for custom PHP cURL options

= 5.2 =
- New: introduces a new authentication method with endpoints
- New: option to report errors to developer
- Tweak: improvements on exponential backoff system
- Tweak: multiple updates of plugin's options
- Tweak: code cleanup
- Tweak: improvements on error reporting system
- Tweak: move the upgrade notice from the Dashboard to plugin's settings page
- Tweak: enable PHP cURL proxy support using WordPress settings, props by [Joe Hobson](https://github.com/joehobson)
- Tweak: hide unusable options based on plugin's settings
- Fixed: some thrown errors were not displayed on Errors & Debug screen
- Fixed: analytics icon disappears from post list after quick edit, props by [karex](https://github.com/karex)
- Fixed: fix for inline SVG links, props by [Andrew Minion](https://github.com/macbookandrew)
- Fixed: fixes a bug on affiliate events tracking
