{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":["admonition"]},"redocly_category":"Activation","product_name":"Engage Studio","type":"markdown"},"seo":{"title":"Mobile In-App Measurement","description":"Measure Mobile In-App impressions, clicks, and dismissals from the native Engage Mobile SDK preview and understand the measurement schema and destination.","siteUrl":"https://docs.treasure.ai","image":"/assets/treasure-ai-social-preview.e6fefb35676f6da91c2d1bc783bd39e618e7af2b1ad3aa52a96ae69d72e700fe.b1bff462.png","lang":"en-US","jsonLd":{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://www.treasure.ai/","name":"Treasure AI","url":"https://www.treasure.ai/","logo":"https://www.treasure.ai/hubfs/assets/images/logos/primary-logo.svg"},{"@type":"WebSite","@id":"https://docs.treasure.ai/#website","name":"Treasure AI Documentation","url":"https://docs.treasure.ai/","inLanguage":["en","ja"],"publisher":{"@id":"https://www.treasure.ai/"}}]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"mobile-in-app-measurement","__idx":0},"children":["Mobile In-App Measurement"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The preview Engage Mobile SDK records supported Mobile In-App interactions. Use this page to understand when ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["impression"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["click"]},", and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["dismiss"]}," events are recorded and where measurement records are sent. For the complete event-field schema, see the ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/marketing-cloud/engage-studio/channels/mobile-inapp/sdk-reference"},"children":["Engage Mobile SDK API and Event Reference"]},"."]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"warning","name":"Preview"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The native SDK measurement destination, event schema, and troubleshooting details are part of the preview contract and may change before general availability."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"native-sdk-events","__idx":1},"children":["Native SDK Events"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The native Engage SDK records the following events for campaign-delivered messages. Measurement records are sent to:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"text","header":{"controls":{"copy":{}}},"source":"engage_inapp_{workspace_id}.events\n","lang":"text"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The SDK derives the database name from the offer's ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["workspace_id"]},"; ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["workspace_id"]}," is not a record field."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["For shared event fields and Core SDK enrichment, see the ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/marketing-cloud/engage-studio/channels/mobile-inapp/sdk-reference"},"children":["Engage Mobile SDK API and Event Reference"]},"."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"impression","__idx":2},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["impression"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The SDK records ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["impression"]}," immediately after it successfully presents a campaign message. It does not wait for the hosted page to finish loading."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"click","__idx":3},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["click"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The SDK records ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["click"]}," when a supported link or bridge action is used."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"dismiss","__idx":4},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["dismiss"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The SDK records ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["dismiss"]}," when the campaign experience closes."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["TDBridge.track"]}," creates a separate app/content event and is not the same as the SDK-generated ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["click"]}," event. A direct app call to ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["openUrl"]}," has no campaign identity and does not create ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["impression"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["click"]},", or ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["dismiss"]}," records."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["If the app disables custom events with ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["disableCustomEvent()"]},", campaign measurement records can be dropped because they use the Core SDK custom-event path."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The schema is part of the preview contract and may change before general availability."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"hosted-pages-measurement","__idx":5},"children":["Hosted Pages Measurement"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["A Hosted Pages returned as a campaign offer has a campaign identity and can be measured by the native SDK preview flow."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["A URL displayed through the app-to-SDK ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["openUrl"]}," API is different:"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["The app already has a URL."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["The app calls ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["openUrl"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["The SDK displays the URL as Hosted Pages."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["The display has no campaign impression, click, or dismiss identity."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Use this direct URL path for Push-tap experiences or other app-owned navigation. Do not compare direct ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["openUrl"]}," volume with campaign-delivered Hosted Pages volume without separating the two paths."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"installation-association","__idx":6},"children":["Installation Association"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Call ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["enableAutoAppendUniqId()"]}," when the preview SDK flow needs to associate measurement with an installation. Without an automatically appended installation identifier, measurement records may not be attributable to a device or installation."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Do not place API keys, Personalization tokens, or unnecessary personal data in ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["profileContext"]},". The SDK passes profile context to page content but does not use it as a substitute for event identity."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"related-documentation","__idx":7},"children":["Related Documentation"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/marketing-cloud/engage-studio/channels/mobile-inapp"},"children":["Mobile In-App Messaging"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/marketing-cloud/engage-studio/channels/mobile-inapp/setup-and-prerequisites"},"children":["Set Up Mobile In-App Messaging"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/marketing-cloud/engage-studio/channels/mobile-inapp/create-an-in-app-message"},"children":["Create a Mobile In-App Message"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/marketing-cloud/engage-studio/channels/mobile-inapp/message-types-and-appearance"},"children":["Message Types and Appearance"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/marketing-cloud/engage-studio/channels/mobile-inapp/rich-landing"},"children":["Hosted Pages"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/marketing-cloud/engage-studio/channels/mobile-inapp/troubleshooting"},"children":["Mobile In-App Troubleshooting"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/marketing-cloud/engage-studio/channels/mobile-inapp/developer-guide-ios"},"children":["iOS SDK Integration"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/marketing-cloud/engage-studio/channels/mobile-inapp/developer-guide-android"},"children":["Android SDK Integration"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/marketing-cloud/engage-studio/channels/mobile-push/device-token-registration"},"children":["Mobile Push Device Token Registration"]}]}]}]},"headings":[{"value":"Mobile In-App Measurement","id":"mobile-in-app-measurement","depth":1},{"value":"Native SDK Events","id":"native-sdk-events","depth":2},{"value":"impression","id":"impression","depth":3},{"value":"click","id":"click","depth":3},{"value":"dismiss","id":"dismiss","depth":3},{"value":"Hosted Pages Measurement","id":"hosted-pages-measurement","depth":2},{"value":"Installation Association","id":"installation-association","depth":2},{"value":"Related Documentation","id":"related-documentation","depth":2}],"frontmatter":{"seo":{"title":"Mobile In-App Measurement","description":"Measure Mobile In-App impressions, clicks, and dismissals from the native Engage Mobile SDK preview and understand the measurement schema and destination."}},"lastModified":"2026-10-23T06:42:04.976Z","pagePropGetterError":{"message":"","name":""}},"slug":"/products/marketing-cloud/engage-studio/channels/mobile-inapp/measurement","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}