开发者 |
davidhme
fatcatapps |
---|---|
更新时间 | 2017年11月21日 13:12 |
捐献地址: | 去捐款 |
PHP版本: | 3.9.1 及以上 |
WordPress版本: | 4.9.0 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
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]){ "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]){ "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]){ "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.
Contributors Welcome
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
Setup
Please go here to learn how to set up this plugin correctly.
/wp-content/plugins/
directoryprice_name
from the Made a purchase
eventfirst_name
custom field didn't get saved.