MCPcopy Create free account
hub / github.com/Iterable/react-native-sdk / trackInAppClose

Method trackInAppClose

src/core/classes/Iterable.ts:643–650  ·  view source on GitHub ↗

* Create an `inAppClose` event for the specified message on the current * user's profile for manual tracking purposes. Iterable's SDK automatically * tracks in-app message close events when you use the SDK's default * rendering. * * @param message - The in-app message. * @param loc

(
    message: IterableInAppMessage,
    location: IterableInAppLocation,
    source: IterableInAppCloseSource,
    clickedUrl?: string
  )

Source from the content-addressed store, hash-verified

641 * track these events by calling this method.
642 */
643 static trackInAppClose(
644 message: IterableInAppMessage,
645 location: IterableInAppLocation,
646 source: IterableInAppCloseSource,
647 clickedUrl?: string
648 ) {
649 IterableApi.trackInAppClose({ message, location, source, clickedUrl });
650 }
651
652 /**
653 * Remove the specified message from the current user's message queue.

Callers

nothing calls this directly

Calls 1

trackInAppCloseMethod · 0.65

Tested by

no test coverage detected