[WordPress] 外掛分享: eCommerce Analytics for Easy Digital Downloads

首頁外掛目錄 › eCommerce Analytics for Easy Digital Downloads
WordPress 外掛 eCommerce Analytics for Easy Digital Downloads 的封面圖片
30+
安裝啟用
★★★★★
5/5 分(3 則評價)
1341 天前
最後更新
問題解決
WordPress 5.0+ PHP 7.4+ v0.0.7 上架:2022-08-18

內容簡介

將 Easy Digital Downloads 事件發送到 Google Analytics (GA4)。我之前嘗試過一些外掛來實現這個功能,但並不如預期,於是我決定自己開發一個外掛。在我的情況下,它運作得非常完美,但是在您的環境下可能會出現問題。如果有需要,我們可以一起努力改進它。

事件

目前支援 ‘view_item’, ‘add_to_cart’, ‘removed_from_cart’, ‘begin_checkout’ 和 ‘purchase’。
當不同價格選項被顯示時,‘view_item’ 事件會被觸發(每個訪問者/會話和下載僅一次)。即使頁面重新加載,我也防止插件多次發送 ‘view_item’ 事件。

重要提示

在我的情況下,使用 EDD 時,‘add_to_cart’ 和 ‘begin_checkout’ 是同時發生的,因為我沒有使用 Add To Cart,而是直接使用購買按鈕。我尚未使用 Add To Cart 測試此外掛。
我的實現是基於我的使用情況,因此很開放接受新想法,所以請隨時與我聯繫!

外掛標籤

開發者團隊

⬇ 下載最新版 (v0.0.7) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「eCommerce Analytics for Easy Digital Downloads」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

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!

延伸相關外掛

文章
Filter
Apply Filters
Mastodon