Title: GAinWP Google Analytics Integration for WordPress
Author: tomdude
Published: <strong>14 ژوئن 2018</strong>
Last modified: 10 سپتامبر 2020

---

جستجوی افزونه‌ها

![](https://ps.w.org/ga-in/assets/banner-772x250.png?rev=2017729)

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.

![](https://ps.w.org/ga-in/assets/icon-256x256.png?rev=1893724)

# GAinWP Google Analytics Integration for WordPress

 توسط [tomdude](https://profiles.wordpress.org/tomdude/)

[دانلود](https://downloads.wordpress.org/plugin/ga-in.5.4.6.zip)

 * [جزئیات](https://fa.wordpress.org/plugins/ga-in/#description)
 * [نقد و بررسی‌ها](https://fa.wordpress.org/plugins/ga-in/#reviews)
 *  [نصب](https://fa.wordpress.org/plugins/ga-in/#installation)
 * [توسعه](https://fa.wordpress.org/plugins/ga-in/#developers)

 [پشتیبانی](https://wordpress.org/support/plugin/ga-in/)

## توضیحات

The GAinWP Google Analytics Integration for WordPress plugin easily integrates Google
Analytics tracking and dashboard reporting into your website in just minutes.

It was created from the excellent Google Analytics Dashboard for WordPress (GADWP)
plugin to maintain a simple, direct Google Analytics integration for those concerned
about data privacy.

In addition to a set of general Google Analytics stats, in-depth page reports and
in-depth post reports allow further segmentation of your analytics data, providing
performance details for each post or page from your website.

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

The Google Analytics reports you need, on your dashboard, in your All Posts and 
All Pages screens, and on 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

In addition, you can control who can view specific Google Analytics reports by setting
permissions based on user roles.

#### 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
 * Enhanced link attribution
 * Remarketing, demographics and interests tracking
 * Page Speed sampling rate control
 * User sampling rate control
 * Cross domain tracking
 * Exclude user roles from tracking
 * Accelerated Mobile Pages (AMP) support for Google Analytics
 * Ecommerce support for Google Analytics

User privacy oriented features:

 * IP address anonymization
 * option to follow Do Not Track (DNT) sent by browsers
 * support for user tracking opt-out

GAinWP enables you to easily track events like:

 * Downloads
 * Emails
 * Outbound links
 * Affiliate links
 * Fragment identifiers
 * Telephone
 * Page Scrolling Depth
 * Custom event categories, actions and labels using annotated HTML elements

With GAinWP you can use custom dimensions to track:

 * Authors
 * Publication year
 * Publication month
 * Categories
 * Tags
 * User engagement

Actions and filters are available for further Google Analytics tracking code customization.

#### 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 year, publication month, categories,
   tags, user type
 * Exclude user roles from tracking
 * 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
 * Scrolling depth tracking
 * Custom dimensions tracking
 * User sampling rate control
 * Form submit tracking
 * File downloads tracking
 * Affiliate links tracking
 * Hashmarks, outbound links, telephones and e-mails tracking
 * Custom event categories, actions and labels using annotated HTML elements

#### GAinWP 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

> **GAinWP on GitHub**
>  You can submit feature requests or bugs on [GAinWP](https://github.com/levelten/ga-in)
> repository.

### Why this Plugin

The [IntelligenceWP](https://wordpress.org/plugins/intelligence) project leverages
the GADWP plugin for core Google Analytics integrations.

After the Google Analytics Dashboard for WordPress changed maintainers in April 
2018, users expressed concern over the new auth process proving 3rd party access
to Google API keys and analytics data.

GAinWP implements a direct auth process where API keys only reside in your WordPress
site eliminating 3rd party access.

The long term goal of the project is to provide an open, standards based Google 
Analytics WordPress API to facilitate integration of Google Analytics data by other
plugins and themes into WordPress.

### Credits

This plugin was originally created by [Alin Marcu](https://deconf.com) as the Google
Analytics Dashboard for WordPress (GADWP)

### Standard Installation

 1.  Upload the full ga-in directory into your wp-content/plugins directory.
 2.  In WordPress select Plugins from your sidebar menu and activate the GAINWP – Google
     Analytics Integration for WordPress plugin.
 3.  Open the plugin General Settings page, which is located under Google Analytics
     menu.
 4.  Make sure Setup Mode is set to “Tracking & Reporting” (default).
 5.  Click the Authorize Plugin button.
 6.  Click the red Get Access Code link to open a new browser tab/window and follow
     the steps to generate the code.
 7.  Back on your WordPress browser tab/window, copy and paste the access code into
     the Access Code input field.
 8.  Click Save Access Code button.
 9.  After the save, select the Tracking ID / View for your site.
 10. Click the Save Changes button.

### Reporting Only Installation

 1. Complete steps 1-3 from the Standard Installation.
 2. Set Setup Mode to “Reporting only”.
 3. Click Save Changes.
 4. Complete steps 5-8 from the Standard Installation.

### Tracking Only Installation

 1. Follow setups 1-3 of the Standard Installation.
 2. Set Setup Mode to “Tracking only”.
 3. Copy and paste your Tracking ID from Google Analytics into the Tracking ID input.
 4. Click Save Changes.

### Localization

You can translate GAinWP on [translate.wordpress.org](https://translate.wordpress.org/projects/wp-plugins/ga-in).

### License

GAinWP it’s released under the GPLv2, you can use it free of charge on your personal
or commercial website.

## عکس‌های صفحه

 * [[
 * Google Analytics Dashboard Sessions Report
 * [[
 * Google Analytics Dashboard Real-Time Report
 * [[
 * Google Analytics Posts/Pages Admin Report Overlay
 * [[
 * Google Analytics Dashboard Geo Map Report
 * [[
 * Google Analytics Dashboard Pages Report
 * [[
 * Google Analytics Dashboard Traffic Details Report
 * [[
 * Google Analytics Frontend Report Overlay
 * [[
 * Google Analytics Frontend Widget

## نصب

The Standard Installation enables both tracking and reporting for your site. If 
you already have tracking you want to keep, see Reporting Only Installation below.
If you only want track your site in Google Analytics and not connect to reporting
data, see Tracking Only Installation below.

## سوالات متداول

### 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 GAinWP, 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/levelten/ga-in).

### Documentation, Tutorials and FAQ

For documentation, tutorials, FAQ and videos check out: [GAinWP documentation](https://intelligencewp.com/google-analytics-in-wordpress/).

## نقد و بررسی‌ها

![](https://secure.gravatar.com/avatar/5cc0e8449b6cc9cd214a1415c8f1c18841a82d0e6afb5320656555c2fe0c2671?
s=60&d=retro&r=g)

### 󠀁[Was no longer working](https://wordpress.org/support/topic/was-no-longer-working/)󠁿

 [hamburg86](https://profiles.wordpress.org/hamburg86/) 19 اکتبر 2023

Was the best analytics plugin. Unfortunately not updated for 3 years. Accordingly,
it is suddenly no longer usable for me that anything is no longer supported. You
are supposed to create an account for this, but that is not possible. Have tested
a few other plugins, but you can forget them all, that just does not show the real,
real data. I hope and pray that the creators of the plugin fix or update this. I
have over 300 pages on my website, so I can’t manually use Analytics everywhere 
as a layman. Please make the plugin available again.

![](https://secure.gravatar.com/avatar/3b4cfa16d59f54a7b677bd351ddb93c4e134c0c59c749862a77e3f91b5f57825?
s=60&d=retro&r=g)

### 󠀁[Stopped working due GA4](https://wordpress.org/support/topic/stopped-working-due-ga4/)󠁿

 [radwoc](https://profiles.wordpress.org/radwoc/) 13 آگوست 2023

It was best GADWP replacement, but after years it is not supporting new GA4. Good
bye.

![](https://secure.gravatar.com/avatar/b09fc1320926878c253f82c4ae64175b2d811c46887387f5f9e58ddca08986b9?
s=60&d=retro&r=g)

### 󠀁[unfortunately no longer up to date.](https://wordpress.org/support/topic/unfortunately-no-longer-up-to-date/)󠁿

 [sebastianwartenberg](https://profiles.wordpress.org/sebastianwartenberg/) 22 می
2023

It was the perfect plugin for years. Now no one cares anymore. Too bad, I have great
difficulty finding something equivalent.

![](https://secure.gravatar.com/avatar/aaafda5081b8a6aa15635ff9a4cbeb3c59946c4a99519a356d4d339972431ada?
s=60&d=retro&r=g)

### 󠀁[No longer maintained; no GA4 support](https://wordpress.org/support/topic/no-longer-maintained-no-ga4-support/)󠁿

 [Will Skora](https://profiles.wordpress.org/skorasaurus/) 26 ژانویه 2023

I had been using since 2018ish and it worked great for years although the current
developer is no longer maintaining it and hasn’t been updated since 2020 as of this
writing. It still currently works (early 2023) but there is no support for GA4 so
I’ll be moving away from it very soon.

![](https://secure.gravatar.com/avatar/91569e8f536f94761e0740e33b789cd7ab681b93cbf5ac9200162e7c0878a46f?
s=60&d=retro&r=g)

### 󠀁[Good and simple plugin but seems abandoned](https://wordpress.org/support/topic/good-and-simple-plugin-but-seems-abandoned/)󠁿

 [Toine Rademacher](https://profiles.wordpress.org/toineenzo/) 30 می 2022

I really like this plugin as it provides a simple Analytics viewer on the dashboard.
Unfortunately it hasn’t been updated and I expect it to stop working when Google
Analytics 3 gets deprecated.

![](https://secure.gravatar.com/avatar/d1240bcdb1b04edb15eb0b6f34f7ad7d3c3e2cf3ac3c3413f2dde28443e96b82?
s=60&d=retro&r=g)

### 󠀁[Not supported anymore](https://wordpress.org/support/topic/not-supported-anymore-13/)󠁿

 [Morten Ellegaard Larsen](https://profiles.wordpress.org/ellegaarddk/) 29 دسامبر
2021

Several errors with deprecated PHP, hasn’t been any changes for too long. Not stable

 [ خواندن تمامی 125 نقد و بررسی‌ ](https://wordpress.org/support/plugin/ga-in/reviews/)

## توسعه دهندگان و همکاران

“GAinWP Google Analytics Integration for WordPress” نرم افزار متن باز است. افراد
زیر در این افزونه مشارکت کرده‌اند.

مشارکت کنندگان

 *   [ tomdude ](https://profiles.wordpress.org/tomdude/)

“GAinWP Google Analytics Integration for WordPress” به 10 زبان ترجمه شده است. با
تشکر از [مترجمین](https://translate.wordpress.org/projects/wp-plugins/ga-in/contributors)
برای همکاری و کمک‌هایشان.

[ترجمه “GAinWP Google Analytics Integration for WordPress” به زبان شما.](https://translate.wordpress.org/projects/wp-plugins/ga-in)

### علاقه‌ مند به توسعه هستید؟

[Browse the code](https://plugins.trac.wordpress.org/browser/ga-in/), check out 
the [SVN repository](https://plugins.svn.wordpress.org/ga-in/), or subscribe to 
the [development log](https://plugins.trac.wordpress.org/log/ga-in/) by [RSS](https://plugins.trac.wordpress.org/log/ga-in/?limit=100&mode=stop_on_copy&format=rss).

## گزارش تغییرات

#### 5.4.5

 * Verified support for WP 5.4
 * Bug Fixes:
    - fix js events calling non existent ga object after diabled user login
 * Enhancements:
    - Added Authors (user login) custom dimension

#### 5.4.3

 * Verified support for WP 5.2

#### 5.4

 * Enable direct Google API auth process to prevent access keys and Google Analytics
   data sharing with 3rd parties
 * Enabled Google Analytics tracking without requiring GAPI authentication
 * Consolidate settings

#### 5.3.2

 * Bug Fixes:
    - fixes for user opt-out feature
 * Enhancements:
    - use _gainwp\_useroptout_ shortcode to easily generate opt-out buttons and 
      links
    - adding _gainwp\_gtag\_commands_ and _gainwp\_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 tracking issues by not clearing the profiles list on automatic token
      resets

#### 5.3.1

 * Bug Fixes:
    - frontend_item_reports PHP notice 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 events were not following the non-interaction settings

#### 5.2.3.1

 * Bug Fixes:
    - fixing a small reporting issue

#### 5.2.3

 * Enhancements:
    - add Google Analytics user opt-out support
    - add option to exclude tracking for users sending the _Do Not Track_ header
    - add System tab to Errors & Debug screen
    - check to avoid using a redeemed access code
 * Bug Fixes:
    - remove a debugging message
    - cURL options were overwritten during regular 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 authorization code
    - GAINWP Endpoint improvements
    - Error reporting improvements
    - introducing the gainwp_maps_api_key filter
 * Bug Fixes:
    - use the theme color palette for the frontend widget

#### 5.2.1

 * Enhancements:
    - avoid submitting empty error reports
 * Bug Fixes:
    - fixes a bug for custom PHP cURL options

#### 5.2

 * Enhancements:
    - improvements on exponential backoff system
    - introduces a new authentication method with endpoints
    - 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 plugin’s settings page
    - enable PHP cURL proxy support using WordPress settings, props by [Joe Hobson](https://github.com/joehobson)
    - hide unusable options based on plugin’s 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

## اطلاعات

 *  نگارش **5.4.6**
 *  Last updated **6 سال پیش**
 *  نصب‌های فعال **9,000+**
 *  نگارش وردپرس ** 3.5 یا بالاتر **
 *  Tested up to **5.5.18**
 *  نگارش PHP ** 5.2.4 یا بالاتر **
 *  زبان‌ها
 * [Chinese (Taiwan)](https://tw.wordpress.org/plugins/ga-in/)، [Dutch](https://nl.wordpress.org/plugins/ga-in/)،
   [English (Australia)](https://en-au.wordpress.org/plugins/ga-in/)، [English (US)](https://wordpress.org/plugins/ga-in/)،
   [French (France)](https://fr.wordpress.org/plugins/ga-in/)، [Japanese](https://ja.wordpress.org/plugins/ga-in/)،
   [Portuguese (Brazil)](https://br.wordpress.org/plugins/ga-in/)، [Russian](https://ru.wordpress.org/plugins/ga-in/)،
   [Spanish (Argentina)](https://es-ar.wordpress.org/plugins/ga-in/)، [Spanish (Chile)](https://cl.wordpress.org/plugins/ga-in/)،
   و [Spanish (Spain)](https://es.wordpress.org/plugins/ga-in/).
 *  [به زبان خودتان ترجمه کنید](https://translate.wordpress.org/projects/wp-plugins/ga-in)
 * Tags
 * [analytics](https://fa.wordpress.org/plugins/tags/analytics/)[google analytics](https://fa.wordpress.org/plugins/tags/google-analytics/)
   [google analytics code](https://fa.wordpress.org/plugins/tags/google-analytics-code/)
   [google analytics dashboard](https://fa.wordpress.org/plugins/tags/google-analytics-dashboard/)
   [google analytics plugin](https://fa.wordpress.org/plugins/tags/google-analytics-plugin/)
 *  [نمایش پیشرفته](https://fa.wordpress.org/plugins/ga-in/advanced/)

## امتیازها

 4.8 از 5 ستاره.

 *  [  امتیاز 117 5-ستاره     ](https://wordpress.org/support/plugin/ga-in/reviews/?filter=5)
 *  [  امتیاز 0 4-ستاره     ](https://wordpress.org/support/plugin/ga-in/reviews/?filter=4)
 *  [  امتیاز 2 3-ستاره     ](https://wordpress.org/support/plugin/ga-in/reviews/?filter=3)
 *  [  امتیاز 5 2-ستاره     ](https://wordpress.org/support/plugin/ga-in/reviews/?filter=2)
 *  [  امتیاز 2 1-ستاره     ](https://wordpress.org/support/plugin/ga-in/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/ga-in/reviews/#new-post)

[مشاهده همه بررسی‌ها](https://wordpress.org/support/plugin/ga-in/reviews/)

## مشارکت کنندگان

 *   [ tomdude ](https://profiles.wordpress.org/tomdude/)

## پشتیبانی

چیزی برای گفتن دارید؟ نیاز به کمک دارید؟

 [مشاهده انجمن پشتیبانی](https://wordpress.org/support/plugin/ga-in/)