Triggered when an instance of your app is installed on a Wix site.
Unique identifier of the app within the website.
Instance ID of the app in the original website (relevant only when this site was duplicated from another site).
The data payload will include the following as an encoded JWT:
{
"data": {
"eventType": "AppInstalled",
"instanceId": "<app-instance-id>",
"data": "<stringified-JSON>",
// The identity field is sent as a stringified JSON
"identity": {
"identityType": "<identityType>", // ANONYMOUS_VISITOR, MEMBER, WIX_USER, APP
"anonymousVisitorId": "<anonymousVisitorId>", // in case of ANONYMOUS_VISITOR
"memberId": "<memberId>", // in case of MEMBER
"wixUserId": "<wixUserId>", // in case of WIX_USER
"appId": "<appId>" // in case of APP
}
}
}