Title: Google Analytics for WooCommerce
Author: WooCommerce
Published: <strong>25 نوامبر 2013</strong>
Last modified: 25 ژوئن 2026

---

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

![](https://ps.w.org/woocommerce-google-analytics-integration/assets/banner-772x250.
png?rev=3234358)

![](https://ps.w.org/woocommerce-google-analytics-integration/assets/icon-256x256.
png?rev=3234358)

# Google Analytics for WooCommerce

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

[دانلود](https://downloads.wordpress.org/plugin/woocommerce-google-analytics-integration.2.3.0.zip)

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

 [پشتیبانی](https://wordpress.org/support/plugin/woocommerce-google-analytics-integration/)

## توضیحات

This plugin provides the integration between Google Analytics and the WooCommerce
plugin. You can link a referral to a purchase and add transaction information to
your Google Analytics data. It supports Global Site Tag (GA4) and eCommerce event
tracking.

Please visit the [documentation page for additional information](https://woocommerce.com/document/google-analytics-integration/).

Contributions are welcome via the [GitHub repository](https://github.com/woocommerce/woocommerce-google-analytics-integration).

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

[⌊تنظیمات یکپارچه سازی گوگل آنالیتیکس.⌉⌊تنظیمات یکپارچه سازی گوگل آنالیتیکس.⌉[

تنظیمات یکپارچه سازی گوگل آنالیتیکس.

## نصب

 1. Download the plugin file to your computer and unzip it
 2. Using an FTP program, or your hosting control panel, upload the unzipped plugin
    folder to your WordPress installation’s wp-content/plugins/ directory.
 3. Activate the plugin from the Plugins menu within the WordPress admin.
 4. Don’t forget to enable e-commerce tracking in your Google Analytics account: [https://support.google.com/analytics/answer/1009612?hl=en](https://support.google.com/analytics/answer/1009612?hl=en)

Or use the automatic installation wizard through your admin panel, just search for
this plugin’s name.

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

### از کجا میتوانم تنظیمات این افزونه را پیدا کنم؟

This plugin will add the settings to the Integration tab, found in the WooCommerce
Settings menu.

### من نمیتوانم کد را در سایتم ببینم. در کجا قرار دارد؟

We purposefully don’t track admin visits to the site. Log out of the site (or open
a Google Chrome Incognito window) and check if the code is there for non-admins.

Also please make sure to enter your Google Analytics ID under WooCommerce  Settings
Integrations.

### My code is there. Why is it still not tracking sales?

Duplicate Google Analytics code causes a conflict in tracking. Remove any other 
Google Analytics plugins or code from your site to avoid duplication and conflicts
in tracking.

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

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

### 󠀁[How it works](https://wordpress.org/support/topic/how-it-works-57/)󠁿

 [Mr Fragrance](https://profiles.wordpress.org/mrfragrance/) 28 آوریل 2026 1 پاسخ

Support advised how this works. No dash in WooCommerce, it all connects to Google
Analytics, when ID inserted into Integration section. Thanks.

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

### 󠀁[Official plugin but feature set does not even cover basic analytics](https://wordpress.org/support/topic/official-plugin-but-feature-set-does-not-even-cover-basic-analytics/)󠁿

 [Jason](https://profiles.wordpress.org/galapogos01/) 18 آوریل 2026 3 پاسخ

This plugin is buggy and the feature set does not even cover basic enhanced ecommerce
journey events, so your funnels won’t work. Abysmal.

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

### 󠀁[DO NOT USE](https://wordpress.org/support/topic/do-not-use-72/)󠁿

 [cgeedouble](https://profiles.wordpress.org/cgwlambert/) 18 نوامبر 2025 1 پاسخ

broke my WooCommerce site

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

### 󠀁[Currently absolutely not recommended](https://wordpress.org/support/topic/currently-absolutely-not-recommended/)󠁿

 [seoway](https://profiles.wordpress.org/seoway/) 10 ژوئن 2025 1 پاسخ

We installed this plugin to improve conversion tracking in GA4 – with disastrous
results: since installation, no traffic has been recorded in Google Analytics 4 
at all. We are using the Complianz cookie plugin, which previously worked flawlessly.
But immediately after activating the GA for WooCommerce plugin, tracking completely
stopped. Even after uninstalling the plugin, the issue remained. We had to delete
the entire GA4 property and set it up from scratch just to get data flowing again–
a major and unacceptable disruption for a live site. This plugin used to work well
in the past, but it is now broken across all our client sites. It seems completely
incompatible with standard consent solutions and GA4 at the moment. Unless a working
update is released within the next few days, we will be removing this plugin from
all our clients’ shops permanently. Conclusion: Until the issues are resolved – 
stay away! This plugin poses a serious risk to production environments.

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

### 󠀁[Works](https://wordpress.org/support/topic/works-2237/)󠁿

 [Dymytrii Ishchuk](https://profiles.wordpress.org/ishchukdev/) 25 می 2025 1 پاسخ

Native Google Analytics gateway for Woocommerce. Works great when set up correctly.

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

### 󠀁[ok](https://wordpress.org/support/topic/ok-1009/)󠁿

 [pierretappeti](https://profiles.wordpress.org/pierretappeti/) 16 می 2025 1 پاسخ

very good technical support, thanks

 [ خواندن تمامی 118 نقد و بررسی‌ ](https://wordpress.org/support/plugin/woocommerce-google-analytics-integration/reviews/)

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

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

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

 *   [ WooCommerce ](https://profiles.wordpress.org/woocommerce/)
 *   [ Automattic ](https://profiles.wordpress.org/automattic/)
 *   [ Claudio Sanches ](https://profiles.wordpress.org/claudiosanches/)
 *   [ Boro Sitnikovski ](https://profiles.wordpress.org/bor0/)
 *   [ royho ](https://profiles.wordpress.org/royho/)
 *   [ laurendavissmith001 ](https://profiles.wordpress.org/laurendavissmith001/)
 *   [ Chris Shultz ](https://profiles.wordpress.org/cshultz88/)
 *   [ mmjones ](https://profiles.wordpress.org/mmjones/)
 *   [ Tomek ](https://profiles.wordpress.org/tomalec/)
 *   [ Ján Mikláš ](https://profiles.wordpress.org/neosinner/)

“Google Analytics for WooCommerce” به 14 زبان ترجمه شده است. با تشکر از [مترجمین](https://translate.wordpress.org/projects/wp-plugins/woocommerce-google-analytics-integration/contributors)
برای همکاری و کمک‌هایشان.

[ترجمه “Google Analytics for WooCommerce” به زبان شما.](https://translate.wordpress.org/projects/wp-plugins/woocommerce-google-analytics-integration)

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

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

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

#### 2.3.0 – 2026-06-25

 * Update – Require WooCommerce 10.8+.

#### 2.2.1 – 2026-06-22

 * Dev – Fix E2E tests against current WooCommerce shipping and checkout behavior.
 * Dev – Update vulnerable npm development dependencies.
 * Fix – Prevent a fatal TypeError on PHP 8 when a cart item, order line, or product
   loop references a product that no longer resolves to a WC_Product.

#### 2.2.0 – 2026-06-09

 * Add – Add a read-only Google Analytics tracking settings ability.
 * Add – Expose JavaScript tracking formatters and utilities for custom integrations.
 * Add – Track checkout shipping and payment info events.
 * Dev – Add CodeRabbit configuration and ignore .claude/settings.local.json.
 * Dev – Add focused unit coverage for asset metadata and tracking settings snapshots.
 * Dev – Add product formatter unit coverage.
 * Dev – Enable min-release-age supply-chain protection requiring npm >=11.10.0.
 * Dev – Expand purchase event E2E coverage for transaction and order totals.
 * Dev – Remove deprecated Products (Beta) block from E2E test coverage; Product
   Collection coverage supersedes it.
 * Dev – Store Google Analytics tracking settings on the tracking instance.
 * Dev – Update npm dependencies and transitive overrides to resolve non-breaking
   security advisories.
 * Dev – Update npm development dependencies for security fixes.
 * Fix – Ensure all settings defaults are populated in `$this->settings` on fresh
   activation, preventing undefined array key notices.
 * Fix – Persist add_to_cart event across cart redirect.
 * Fix – Price minor-unit rounding.
 * Fix – Rename misspelled public method `enquque_tracker()` to `enqueue_tracker()`;
   keep deprecated alias for backward compatibility.
 * Fix – Track Store API add-to-cart events without duplicate analytics events.
 * Fix – Track Store API cart quantity decreases as remove_from_cart events.
 * Fix – Track classic add_to_cart events without a button when single-product data
   is available.
 * Fix – Track view_item_list, add_to_cart, and select_content events correctly 
   when the cart is empty and products are rendered via a Product Collection block.
 * Fix – `item_list_id` and `item_list_name` in `view_item_list` GA4 events now 
   reflect the actual page context (shop, category, tag, search) instead of hardcoded
   placeholder values.
 * Tweak – Improve tracking payload limits, cart event binding, and linker domain
   validation.
 * Tweak – Remove the compatibility declaration for the product editor beta, which
   is being retired in WooCommerce 11.0.
 * Tweak – WC 10.8 compatibility.
 * Tweak – WP 7.0 compatibility.
 * Update – Declare compatibility with WordPress 7.0 while requiring WordPress 6.9
   or newer.
 * Update – Format product categories in parent-first hierarchy order.
 * Update – Require WooCommerce 10.7+.
 * Update – Use get_order_number() for transaction_id.

#### 2.1.23 – 2026-04-15

 * Dev – Enable min-release-age supply-chain protection.
 * Dev – Override serialize-javascript to ^7.0.5 and ajv to ^8.18.0 to resolve npm
   security vulnerabilities.
 * Update – Require WooCommerce 10.6+.

[See changelog for all versions](https://raw.githubusercontent.com/woocommerce/woocommerce-google-analytics-integration/trunk/changelog.txt).

## اطلاعات

 *  نگارش **2.3.0**
 *  Last updated **1 هفته پیش**
 *  نصب‌های فعال **100,000+**
 *  نگارش وردپرس ** 6.9 یا بالاتر **
 *  Tested up to **7.0**
 *  نگارش PHP ** 7.4 یا بالاتر **
 *  زبان‌ها
 * [Danish](https://da.wordpress.org/plugins/woocommerce-google-analytics-integration/)،
   [Dutch](https://nl.wordpress.org/plugins/woocommerce-google-analytics-integration/)،
   [English (UK)](https://en-gb.wordpress.org/plugins/woocommerce-google-analytics-integration/)،
   [English (US)](https://wordpress.org/plugins/woocommerce-google-analytics-integration/)،
   [Finnish](https://fi.wordpress.org/plugins/woocommerce-google-analytics-integration/)،
   [Galician](https://gl.wordpress.org/plugins/woocommerce-google-analytics-integration/)،
   [Hungarian](https://hu.wordpress.org/plugins/woocommerce-google-analytics-integration/)،
   [Japanese](https://ja.wordpress.org/plugins/woocommerce-google-analytics-integration/)،
   [Persian](https://fa.wordpress.org/plugins/woocommerce-google-analytics-integration/)،
   [Portuguese (Brazil)](https://br.wordpress.org/plugins/woocommerce-google-analytics-integration/)،
   [Russian](https://ru.wordpress.org/plugins/woocommerce-google-analytics-integration/)،
   [Spanish (Chile)](https://cl.wordpress.org/plugins/woocommerce-google-analytics-integration/)،
   [Spanish (Mexico)](https://es-mx.wordpress.org/plugins/woocommerce-google-analytics-integration/)،
   [Spanish (Spain)](https://es.wordpress.org/plugins/woocommerce-google-analytics-integration/)،
   و [Spanish (Venezuela)](https://ve.wordpress.org/plugins/woocommerce-google-analytics-integration/).
 *  [به زبان خودتان ترجمه کنید](https://translate.wordpress.org/projects/wp-plugins/woocommerce-google-analytics-integration)
 * Tags
 * [google analytics](https://fa.wordpress.org/plugins/tags/google-analytics/)[woocommerce](https://fa.wordpress.org/plugins/tags/woocommerce/)
 *  [نمایش پیشرفته](https://fa.wordpress.org/plugins/woocommerce-google-analytics-integration/advanced/)

## امتیازها

 2.8 از 5 ستاره.

 *  [  امتیاز 47 5-ستاره     ](https://wordpress.org/support/plugin/woocommerce-google-analytics-integration/reviews/?filter=5)
 *  [  امتیاز 3 4-ستاره     ](https://wordpress.org/support/plugin/woocommerce-google-analytics-integration/reviews/?filter=4)
 *  [  امتیاز 5 3-ستاره     ](https://wordpress.org/support/plugin/woocommerce-google-analytics-integration/reviews/?filter=3)
 *  [  امتیاز 3 2-ستاره     ](https://wordpress.org/support/plugin/woocommerce-google-analytics-integration/reviews/?filter=2)
 *  [  امتیاز 61 1-ستاره     ](https://wordpress.org/support/plugin/woocommerce-google-analytics-integration/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/woocommerce-google-analytics-integration/reviews/#new-post)

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

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

 *   [ WooCommerce ](https://profiles.wordpress.org/woocommerce/)
 *   [ Automattic ](https://profiles.wordpress.org/automattic/)
 *   [ Claudio Sanches ](https://profiles.wordpress.org/claudiosanches/)
 *   [ Boro Sitnikovski ](https://profiles.wordpress.org/bor0/)
 *   [ royho ](https://profiles.wordpress.org/royho/)
 *   [ laurendavissmith001 ](https://profiles.wordpress.org/laurendavissmith001/)
 *   [ Chris Shultz ](https://profiles.wordpress.org/cshultz88/)
 *   [ mmjones ](https://profiles.wordpress.org/mmjones/)
 *   [ Tomek ](https://profiles.wordpress.org/tomalec/)
 *   [ Ján Mikláš ](https://profiles.wordpress.org/neosinner/)

## پشتیبانی

مشکلات حل شده در دو ماه گذشته:

     2 از 2

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