Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion events/parameters-and-properties.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ Besides events Apphud also sends user properties to analytics:

| Property | Description |
| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ |
| `[Apphud] status-<group_name>`, where `<group_name>` – name of subscription group | Status of subscription. Possible values: `none`, `trial`, `intro`, `regular`, `promo`, `refunded`, `expired` |
| `[Apphud] status-<group_name>`, where `<group_name>` – name of subscription group | Status of subscription. Possible values: `none`, `trial`, `intro`, `regular`, `grace`, `promo`, `refunded`, `expired` |
| `[Apphud] autorenew-<group_name>`, where `<group_name>` – name of subscription group | Whether autorenew option is turned on |
| `[Apphud] total_spent` | Total amount of money that user has been charged, in USD |
| `[Apphud] paying` | Whether user is paying or not |
Expand All @@ -70,6 +70,7 @@ All values are applied for given subscription group:
* `trial`: user has a subscription that is currently in trial period;
* `intro`: user has a subscription that is currently in introductory offer;
* `regular`: user has a subscription with regular price;
* `grace`: user has a subscription that is currently in grace period;
* `promo`: user has a subscription that is currently in promotional offer;
* `refunded`: user has refunded a subscription;
* `expired`: subscription lapsed.
2 changes: 1 addition & 1 deletion integrations/webhook.md
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ This dictionary contains information about the user.
| `user.subscriptions[].id` | String | Apphud subscription ID | |
| `user.subscriptions[].product_id` | String | Product ID | |
| `user.subscriptions[].group` | String | Group name | |
| `user.subscriptions[].status` | String | Current status | <p><code>trial</code></p><p><code>intro</code></p><p><code>promo</code></p><p><code>regular</code></p><p><code>refunded</code></p><p><code>expired</code></p> |
| `user.subscriptions[].status` | String | Current status | <p><code>trial</code></p><p><code>intro</code></p><p><code>promo</code></p><p><code>regular</code></p><p><code>grace</code></p><p><code>refunded</code></p><p><code>expired</code></p> |
| `user.subscriptions[].intro_period` | Boolean | Is subscription in an introductory period. | |
| `user.subscriptions[].trial_period` | Boolean | Is subscription in the trial period. | |
| `user.subscriptions[].started_at` | Date | Subscription start date. | |
Expand Down