Skip to content

Commit 6766beb

Browse files
committed
Merge branch 'ADP-4946' into develop
# Conflicts: # docusaurus.config.js # versioned_docs/version-3.0/android-quickstart-manual.md # versioned_docs/version-3.0/appsflyer.md # versioned_docs/version-3.0/capacitor-quickstart-manual.md # versioned_docs/version-3.0/flutter-quickstart-manual.md # versioned_docs/version-3.0/ios-quickstart-manual.md # versioned_docs/version-3.0/kmp-quickstart-manual.md # versioned_docs/version-3.0/react-native-present-onboardings.md # versioned_docs/version-3.0/react-native-quickstart-manual.md # versioned_docs/version-3.0/unity-quickstart-manual.md # versioned_docs/version-3.0/webhook-event-types-and-fields.md # versioned_sidebars/version-3.0-sidebars.json
2 parents 8055472 + 2a08925 commit 6766beb

26 files changed

Lines changed: 505 additions & 1095 deletions

docusaurus.config.js

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -138,22 +138,9 @@ const config = {
138138
sidebarId: "APISidebar",
139139
},
140140
{
141-
label: "API Reference",
141+
label: "What's new",
142142
position: "left",
143-
items: [
144-
{
145-
label: "Adapty API",
146-
href: "/api-adapty",
147-
},
148-
{
149-
label: "Web API",
150-
href: "/api-web",
151-
},
152-
{
153-
label: "Export Analytics API",
154-
href: "/api-export-analytics",
155-
},
156-
],
143+
href: "/whats-new"
157144
},
158145
{
159146
label: "Support Forum",

versioned_docs/version-3.0/add-paywall-locale-in-adapty-paywall-builder.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,9 @@ We automatically detect which lines have never been translated or have changed i
5959

6060
Rich text formatting (bold, italic, colored text, etc.) won’t be preserved in the translated version. Please adjust the translated text manually as needed.
6161

62-
1. Select the languages for translation.
62+
1. Click the localization icon to select languages for translation:
63+
- **In the language column header**: Translates all lines at once—ideal for initial translation or when updating the entire language.
64+
- **In individual lines**: Translates specific lines independently—useful when making targeted changes without affecting other translations.
6365

6466
<Zoom>
6567
<img src={require('./img/localization-table-language-PB.webp').default}

versioned_docs/version-3.0/adjust.md

Lines changed: 23 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -293,57 +293,34 @@ Adapty sends selected events to Adjust as configured in the **Events names** sec
293293
"user_agent": "Mozilla/5.0 (Linux; Android 14; SM-S901B) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Mobile Safari/537.36",
294294
"android_id": "875646c2-4a56-4211-8931-168532479006",
295295
"gps_adid": "875646c2-4a56-4211-8931-168532479006",
296-
"callback_params": "{\"integration_event_id\":\"550e8400-e29b-41d4-a716-446655440000\",\"customer_user_id\":\"user_12345\",\"vendor_product_id\":\"com.example.app.yearly.premium\",\"transaction_id\":\"GPA.3312-4512-1100-55923\",\"original_transaction_id\":\"GPA.3312-4512-1100-55923\",\"store\":\"play_store\",\"store_country\":\"US\",\"price_usd\":9.99,\"proceeds_usd\":8.49,\"price_local\":9.99,\"proceeds_local\":8.49,\"net_revenue_usd\":8.49,\"tax_amount_usd\":0.0,\"is_active\":true,\"will_renew\":true,\"is_refund\":false}",
297-
"partner_params": "{\"integration_event_id\":\"550e8400-e29b-41d4-a716-446655440000\",\"customer_user_id\":\"user_12345\",\"vendor_product_id\":\"com.example.app.yearly.premium\",\"transaction_id\":\"GPA.3312-4512-1100-55923\",\"original_transaction_id\":\"GPA.3312-4512-1100-55923\",\"store\":\"play_store\",\"store_country\":\"US\",\"price_usd\":9.99,\"proceeds_usd\":8.49,\"price_local\":9.99,\"proceeds_local\":8.49,\"net_revenue_usd\":8.49,\"tax_amount_usd\":0.0,\"is_active\":true,\"will_renew\":true,\"is_refund\":false}"
296+
"callback_params": "{\"integration_event_id\":\"550e8400-e29b-41d4-a716-446655440000\",\"customer_user_id\":\"user_12345\",\"vendor_product_id\":\"com.example.app.yearly.premium\",\"transaction_id\":\"GPA.3312-4512-1100-55923\",\"original_transaction_id\":\"GPA.3312-4512-1100-55923\",\"store\":\"play_store\",\"store_country\":\"US\",\"price_usd\":9.99,\"proceeds_usd\":8.49,\"price_local\":9.99,\"proceeds_local\":8.49,\"net_revenue_usd\":8.49,\"net_revenue_local\":8.49,\"tax_amount_usd\":0.0,\"tax_amount_local\":0.0,\"consecutive_payments\":3,\"rate_after_first_year\":false}",
297+
"partner_params": "{\"integration_event_id\":\"550e8400-e29b-41d4-a716-446655440000\",\"customer_user_id\":\"user_12345\",\"vendor_product_id\":\"com.example.app.yearly.premium\",\"transaction_id\":\"GPA.3312-4512-1100-55923\",\"original_transaction_id\":\"GPA.3312-4512-1100-55923\",\"store\":\"play_store\",\"store_country\":\"US\",\"price_usd\":9.99,\"proceeds_usd\":8.49,\"price_local\":9.99,\"proceeds_local\":8.49,\"net_revenue_usd\":8.49,\"net_revenue_local\":8.49,\"tax_amount_usd\":0.0,\"tax_amount_local\":0.0,\"consecutive_payments\":3,\"rate_after_first_year\":false}"
298298
}
299299
```
300300

301301
Where
302302

303-
| Parameter | Type | Description |
304-
|:---------------------|:--------|:------------------------------------------------------------|
305-
| `app_token` | String | The Adjust App Token from your integration settings. |
306-
| `event_token` | String | The Adjust Event Token mapped to the specific Adapty event. |
307-
| `s2s` | Integer | Server-to-Server event flag. |
308-
| `environment` | String | `sandbox` or `production`. |
309-
| `created_at_unix` | Integer | Timestamp of the event in seconds. |
310-
| `currency` | String | Currency code (e.g., "USD"). |
311-
| `revenue` | Float | Revenue amount. Only sent if > 0.001. |
312-
| `customer_user_id` | String | The user's Customer User ID. |
313-
| `external_device_id` | String | Same as `customer_user_id`. |
314-
| `ip_address` | String | User's IP address. |
315-
| `user_agent` | String | Device User Agent string. |
316-
| `adid` | String | Adjust Device ID (if known). |
317-
| `android_id` | String | **Android only**. Google Advertising ID. |
318-
| `gps_adid` | String | **Android only**. Google Advertising ID. |
319-
| `idfa` | String | **iOS only**. ID for Advertisers. |
320-
| `idfv` | String | **iOS only**. ID for Vendors. |
321-
| `callback_params` | String | JSON string containing detailed event data (see below). |
322-
| `partner_params` | String | Same as `callback_params`. |
323-
324-
The parameters below are encoded together into a JSON string and sent in the `callback_params` and `partner_params` fields:
325-
326-
| Parameter | Type | Description |
327-
|:--------------------------|:--------|:---------------------------------------------------------|
328-
| `integration_event_id` | String | Unique ID for the event in Adapty. |
329-
| `customer_user_id` | String | The user's Customer User ID. |
330-
| `vendor_product_id` | String | Product ID in the store. |
331-
| `transaction_id` | String | Store Transaction ID. |
332-
| `original_transaction_id` | String | Original Store Transaction ID. |
333-
| `store` | String | `app_store` or `play_store`. |
334-
| `store_country` | String | Country code of the store user. |
335-
| `price_usd` | Float | Revenue in USD. |
336-
| `proceeds_usd` | Float | Proceeds (revenue - commission) in USD. |
337-
| `price_local` | Float | Revenue in local currency. |
338-
| `proceeds_local` | Float | Proceeds in local currency. |
339-
| `net_revenue_usd` | Float | Net revenue (after taxes/fees) in USD. |
340-
| `tax_amount_usd` | Float | Tax amount in USD. |
341-
| `is_active` | Boolean | `true` if subscription is active. |
342-
| `will_renew` | Boolean | `true` if subscription is set to renew. |
343-
| `is_refund` | Boolean | `true` if the event is a refund. |
344-
| `is_lifetime` | Boolean | `true` if the product is lifetime. |
345-
| `cancellation_reason` | String | Reason for cancellation (e.g., `voluntarily_cancelled`). |
346-
| `subscription_expires_at` | String | ISO 8601 date string of expiration. |
303+
| Parameter | Type | Description |
304+
|:---------------------|:--------|:---------------------------------------------------------------------------------------------------------------------------------------------|
305+
| `app_token` | String | The Adjust App Token from your integration settings. |
306+
| `event_token` | String | The Adjust Event Token mapped to the specific Adapty event. |
307+
| `s2s` | Integer | Server-to-Server event flag. |
308+
| `environment` | String | `sandbox` or `production`. |
309+
| `created_at_unix` | Integer | Timestamp of the event in seconds. |
310+
| `currency` | String | Currency code (e.g., "USD") for the transaction. Included only when revenue exceeds 0.001, as Adjust requires both revenue and currency to be sent together. |
311+
| `revenue` | Float | Transaction revenue amount. Only included when the value exceeds 0.001. Note that refund events are sent without revenue properties, since Adjust doesn't support negative revenue values. |
312+
| `customer_user_id` | String | The user's Customer User ID. |
313+
| `external_device_id` | String | Same as `customer_user_id`. |
314+
| `ip_address` | String | User's IP address (IPv4 only). |
315+
| `user_agent` | String | Device User Agent string. |
316+
| `adid` | String | Adjust Device ID (if known). |
317+
| `android_id` | String | **Android only**. Google Advertising ID. |
318+
| `gps_adid` | String | **Android only**. Google Advertising ID. |
319+
| `idfa` | String | **iOS only**. ID for Advertisers. |
320+
| `idfv` | String | **iOS only**. ID for Vendors. |
321+
| `callback_params` | String | JSON string containing all available [event fields](webhook-event-types-and-fields#for-most-event-types). Only non-null fields are included. |
322+
| `partner_params` | String | Same as `callback_params`. |
323+
347324

348325
## Troubleshooting
349326

versioned_docs/version-3.0/amplitude.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -321,19 +321,19 @@ Adapty sends events to Amplitude via the HTTP API v2. Each event is structured l
321321

322322
Where:
323323

324-
| Parameter | Type | Description |
325-
|:----------------------------|:-------|:-----------------------------------------------------------------|
326-
| `api_key` | String | Your Amplitude API Key. |
327-
| `events` | Array | List of event objects (Adapty sends one at a time). |
328-
| `events[].partner_id` | String | Always "adapty". |
329-
| `events[].event_type` | String | The event name (mapped from Adapty event). |
330-
| `events[].time` | Long | Timestamp of the event in milliseconds. |
331-
| `events[].insert_id` | String | Unique event ID (UUID). |
332-
| `events[].user_id` | String | Amplitude User ID or Customer User ID. |
333-
| `events[].device_id` | String | Amplitude Device ID. |
334-
| `events[].platform` | String | Platform (e.g., "iOS", "Android"). |
335-
| `events[].os_name` | String | OS Name. |
336-
| `events[].productId` | String | The Product ID from the store. |
337-
| `events[].revenue` | Float | Revenue amount. |
338-
| `events[].event_properties` | Object | Detailed event attributes (contains all available event fields). |
339-
| `events[].user_properties` | Object | User attributes like subscription state. |
324+
| Parameter | Type | Description |
325+
|:----------------------------|:-------|:---------------------------------------------------------------------|
326+
| `api_key` | String | Your Amplitude API Key. |
327+
| `events` | Array | List of event objects (Adapty sends one at a time). |
328+
| `events[].partner_id` | String | Always "adapty". |
329+
| `events[].event_type` | String | The event name (mapped from Adapty event). |
330+
| `events[].time` | Long | Timestamp of the event in milliseconds. |
331+
| `events[].insert_id` | String | Unique event ID (UUID). |
332+
| `events[].user_id` | String | Amplitude User ID or Customer User ID. |
333+
| `events[].device_id` | String | Amplitude Device ID. |
334+
| `events[].platform` | String | Platform (e.g., "iOS", "Android"). |
335+
| `events[].os_name` | String | OS Name. |
336+
| `events[].productId` | String | The Product ID from the store. |
337+
| `events[].revenue` | Float | Revenue amount. |
338+
| `events[].event_properties` | Object | Detailed event attributes (contains all available [event fields](webhook-event-types-and-fields#for-most-event-types)). |
339+
| `events[].user_properties` | Object | User attributes like subscription state. |

0 commit comments

Comments
 (0)