Title: eCommerce Analytics for Easy Digital Downloads
Author: Jordy Meow
Published: <strong>2022 年 8 月 19 日</strong>
Last modified: 2022 年 8 月 29 日

---

搜索插件

![](https://ps.w.org/edd-ecommerce-analytics/assets/banner-772x250.png?rev=2772745)

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://ps.w.org/edd-ecommerce-analytics/assets/icon-256x256.png?rev=2772745)

# eCommerce Analytics for Easy Digital Downloads

 作者：[Jordy Meow](https://profiles.wordpress.org/tigroumeow/)

[下载](https://downloads.wordpress.org/plugin/edd-ecommerce-analytics.0.0.7.zip)

 * [详情](https://cn.wordpress.org/plugins/edd-ecommerce-analytics/#description)
 * [评价](https://cn.wordpress.org/plugins/edd-ecommerce-analytics/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/edd-ecommerce-analytics/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/edd-ecommerce-analytics/#developers)

 [支持](https://wordpress.org/support/plugin/edd-ecommerce-analytics/)

## 描述

Send the Easy Digital Downloads events to Google Analytics (GA4). I tried a few 
plugins in the past to do this, but it never really worked for me, so I decided 
to work on my own. It works perfectly in my case but you might encounter issues 
with your setup; in this case, let’s make it better together 🙂

### Events

 * It currently supports ‘view_item’, ‘add_to_cart’, ‘removed_from_cart’, ‘begin_checkout’
   and ‘purchase’.
 * The ‘view_item’ event is fired when the different options of prices are being
   displayed (only once per visitor/session and per download). I prevent the plugin
   from sending the ‘view_item’ event more than once per download, even though the
   page is reloaded.

### Important Remarks

 * In my case, with EDD, the ‘add_to_cart’ and ‘begin_checkout’ happen at the same
   time, because I don’t use Add To Cart, but directly a Purchase button. I haven’t
   tested this plugin with Add To Cart.
 * My implementation is based on my usage and therefore open to ideas, so don’t 
   hesitate to reach me!

## 安装

You will need another plugin, such as [Meow Analytics](https://wordpress.org/plugins/meow-analytics/),
to add the GA tracking code to your website. This plugin will then be able to call
the Google Analytics API through the gtag function. If Google Analytics is not set,
the plugin will log the events as warnings in the console.1. Upload the plugin to
WordPress.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress 3. Don’t
forget to use a plugin to add the Analytics Tracking Code (like [Meow Analytics](https://wordpress.org/plugins/meow-analytics/)).

## 评价

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

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

 [webrentalsystem](https://profiles.wordpress.org/webrentalsystem/) 2023 年 7 月
31 日

This plugin does everything needed for recording EDD transactions in Google Analytics,
and these can be imported as conversions in Google Ads too (see my post in the support
area). Thanks for providing this!

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

### 󠀁[No additional setup needed and works great with EDD](https://wordpress.org/support/topic/no-additional-setup-needed-and-works-great-with-edd/)󠁿

 [accordionmaniac](https://profiles.wordpress.org/accordionmaniac/) 2023 年 6 月
10 日

Took me a while to dig through different plugins to find this one, but glad I did,
as it covers a gap that Google Analytics and EDD don’t cover by themselves.

 [ 阅读所有3条评价 ](https://wordpress.org/support/plugin/edd-ecommerce-analytics/reviews/)

## 贡献者及开发者

「eCommerce Analytics for Easy Digital Downloads」是开源软件。 以下人员对此插件做出
了贡献。

贡献者

 *   [ Jordy Meow ](https://profiles.wordpress.org/tigroumeow/)

[帮助将「eCommerce Analytics for Easy Digital Downloads」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/edd-ecommerce-analytics)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/edd-ecommerce-analytics/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/edd-ecommerce-analytics/)，或通过
[RSS](https://plugins.trac.wordpress.org/log/edd-ecommerce-analytics/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/edd-ecommerce-analytics/)。

## 更新日志

#### 0.0.7

 * Update: Cleaned the code.
 * Info: The plugin is stable and works fine 🙂

#### 0.0.5

 * Add: Added the ‘begin_checkout’ event.
 * Add: Log to a file.
 * Fix: Use WordPress local date and time.

#### 0.0.1

 * Info: First release.

## 额外信息

 *  版本 **0.0.7**
 *  最后更新：**4 年前**
 *  活跃安装数量 **30+**
 *  WordPress 版本 ** 5.0 或更高版本 **
 *  已测试的最高版本为 **6.0.12**
 *  PHP 版本 ** 7.4 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/edd-ecommerce-analytics/)
 * 标签
 * [analytics](https://cn.wordpress.org/plugins/tags/analytics/)[ecommerce](https://cn.wordpress.org/plugins/tags/ecommerce/)
   [edd](https://cn.wordpress.org/plugins/tags/edd/)[google](https://cn.wordpress.org/plugins/tags/google/)
   [tracking](https://cn.wordpress.org/plugins/tags/tracking/)
 *  [高级视图](https://cn.wordpress.org/plugins/edd-ecommerce-analytics/advanced/)

## 评级

 5 星（最高 5 星）。

 *  [  2 条 5 星评价     ](https://wordpress.org/support/plugin/edd-ecommerce-analytics/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/edd-ecommerce-analytics/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/edd-ecommerce-analytics/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/edd-ecommerce-analytics/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/edd-ecommerce-analytics/reviews/?filter=1)

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

[查看全部评论](https://wordpress.org/support/plugin/edd-ecommerce-analytics/reviews/)

## 贡献者

 *   [ Jordy Meow ](https://profiles.wordpress.org/tigroumeow/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/edd-ecommerce-analytics/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](https://meowapps.com/donation/)