eCommerce Analytics for Easy Digital Downloads

plugin banner

Send the Easy Digital Downloads events to Google Analytics (GA4).

Author:Jordy Meow (profile at wordpress.org)
WordPress version required:5.0
WordPress version tested:6.0.1
Plugin version:0.0.7
Added to WordPress repository:19-08-2022
Last updated:29-08-2022
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Rating, %:100
Rated by:3
Plugin URI:https://meowapps.com
Total downloads:2 430
Active installs:30+
plugin download
Click to start download

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!

ChangeLog