Name:
interface
Value:
Amplify has re-imagined the way frontend developers build fullstack applications. Develop and deploy without the hassle.

アナリティクスの有効化と無効化

AWS will end support for Amazon Pinpoint on October 30, 2026,, and is no longer accepting any new users as of May 20 (see the linked doc). The guidance is to use AWS End User Messaging for push notifications and SMS, Amazon Simple Email Service for sending emails, Amazon Connect for campaigns, journeys, endpoints, and engagement analytics. Pinpoint recommends Amazon Kinesis for event collection and mobile analytics.

アナリティクスを無効にする

アナリティクスはアプリで構成するとデフォルトで有効になります。アプリでアナリティクスを無効にするには、disable 関数を使用します。

await Amplify.Analytics.disable();

アナリティクスを有効にする

アプリでアナリティクスを有効にするには、enable 関数を使用できます。

Amplify.Analytics.enable();