记录付费墙浏览 (API)
POST /api/v2/web-api/paywall/visit/

记录付费墙浏览

Adapty 可以帮助您衡量付费墙的转化率。但为此, 您需要记录付费墙被展示的时间——若不记录, 我们将只能得知完成购买的用户信息,而遗漏未购买的用户。 请使用此请求记录付费墙浏览事件。

Request body

customer_user_idstring

您系统中用户的标识符。customer_user_idprofile_id 二者必填其一。

profile_idstring

用户在 Adapty 中的标识符。customer_user_idprofile_id 二者必填其一。

visited_atstring

用户打开付费墙的日期时间。

storestringrequired

购买产品的商店。可选值:app_storeplay_storestripe,或您自定义商店的 Store ID

variation_idstringrequired

用于将购买行为追踪至具体付费墙的实验变体 ID。

Responses

付费墙浏览已成功记录。

Schema
object

空响应体

请求无效

Schema
errorsarray of object
sourcestring
errorsarray of string
error_codestring
status_codeinteger

未授权

Schema
errorsarray of object
sourcestring
errorsarray of string
error_codestring
status_codeinteger

未找到

Schema
errorsarray of object
sourcestring
errorsarray of string
error_codestring
status_codeinteger