Skip to content

アプリ内メッセージデータのロギング

Braze SDKを通してアプリ内メッセージ(IAM)データを記録する方法を学習する。

Prerequisites

Before you can use this feature, you’ll need to integrate the Web Braze SDK.

Logging message data

Logging in-app message impressions and clicks is performed automatically when you use the showInAppMessage or automaticallyShowInAppMessage method.

If you do not use either method and opt to manually display the message using your own UI code, use the following methods to log analytics:

1
2
3
4
5
6
7
8
// Registers that a user has viewed an in-app message with the Braze server.
braze.logInAppMessageImpression(inAppMessage);
// Registers that a user has clicked on the specified in-app message with the Braze server.
braze.logInAppMessageClick(inAppMessage);
// Registers that a user has clicked a specified in-app message button with the Braze server.
braze.logInAppMessageButtonClick(button, inAppMessage);
// Registers that a user has clicked on a link in an HTML in-app message with the Braze server.
braze.logInAppMessageHtmlClick(inAppMessage, buttonId?, url?)

guide/flutter/analytics/logging_iam_data.md developer_ %}

guide/react_native/analytics/logging_iam_data.md developer_ %}

guide/roku/analytics/logging_iam_data.md developer_ %}

guide/unity/analytics/logging_iam_data.md developer_ %}

「このページはどの程度役に立ちましたか?」
New Stuff!