* Create an `inAppOpen` event for the specified message on the current user's profile * for manual tracking purposes. Iterable's SDK automatically tracks in-app message opens when you use the * SDK's default rendering. * * @param message - The in-app message (an {@link IterableInAppMessa
(
message: IterableInAppMessage,
location: IterableInAppLocation
)
| 577 | * these events by calling this method. |
| 578 | */ |
| 579 | static trackInAppOpen( |
| 580 | message: IterableInAppMessage, |
| 581 | location: IterableInAppLocation |
| 582 | ) { |
| 583 | if (!message?.messageId) { |
| 584 | IterableLogger?.log( |
| 585 | `Skipping trackInAppOpen because message ID is required, but received ${message}.` |
| 586 | ); |
| 587 | return; |
| 588 | } |
| 589 | IterableApi.trackInAppOpen({ message, location }); |
| 590 | } |
| 591 | |
| 592 | /** |
| 593 | * Create an `inAppClick` event for the specified message on the current user's profile |
nothing calls this directly
no test coverage detected