We'll create fresh WordPress site with Easy Digital Downloads – Drip installed. You have 20 minutes to test the plugin after that site we'll be deleted.
Built for our own use at FatcatApps.com, Easy Digital Downloads – Drip integrates two of our favorite tools: Easy Digital Downloads and Drip.
1. Purchase Tracking
When a customer checks out, the following event will be fired:
Made a purchase
The plugin also tracks the following properties:
value
(Price of the product bought)product_name
(Name of the product bought)price_name
(The price_name [if you’re using variable pricing])All in all, the API call to Drip will look like this:
{ “events”: [{ “email”: {email}, “action”: “Made a purchase”, “properties”: { “value”: {price}, “product_name”: {name}, “price_name”: {price_name} } }] }
2. Refund Tracking
When a customer refunds (payment status = “Refunded”, the following event will be fired:
Refunded
The plugin also tracks the following properties:
value
(Price of the product bought)product_name
(Name of the product bought)price_name
(Name of the price_name [if you’re using variable pricing])All in all, the API call to Drip will look like this:
{ “events”: [{ “email”: {email}, “action”: “Refunded”, “properties”: { “value”: {price}, “product_name”: {name}, “price_name”: {price_name} } }] }
3. Cart Abandonment Tracking
When a payment’s status has been “pending” for at least 30 minutes, or when a payment’s status changes to “abandoned”, the following event will be fired:
Abandoned cart
The plugin also tracks the following properties:
value
(Price of the product)product_name
(Name of the product)price_name
(Name of the price_name [if you’re using variable pricing])All in all, the API call to Drip will look like this:
{ “events”: [{ “email”: {email}, “action”: “Refunded”, “properties”: { “value”: {price}, “product_name”: {name}, “price_name”: {price_name} } }] }
4. Lifetime Value (LTV) Tracking
This plugin tracks your customer’s lifetime value in a custom field called lifetime_value
.
If a customer makes a purchase:
lifetime_value+={price}
If a customer refunds:
lifetime_value-={price}
For more information, please refer to this blog post.
Thanks to Chris Simmons from WP BackItUp and Phil Derksen from WP Simple Pay for Stripe for contributing.
Do you want to see further improvements? Please consider contributing. You can submit a pull request here: https://github.com/davidhme/edd-drip
Please go here to learn how to set up this plugin correctly.