--- title: "How can we check if the Content Optimizer data is sent properly?" slug: "how-can-we-check-if-the-content-optimizer-data-is-sent-properly" description: "This article explains how to check if the Content Optimizer data is sent properly." tags: ["how to check content optimizer"] updated: 2026-09-01T13:54:39Z published: 2026-09-01T13:54:39Z canonical: "academy.insiderone.com/how-can-we-check-if-the-content-optimizer-data-is-sent-properly" --- > ## Documentation Index > Fetch the complete documentation index at: https://academy.insiderone.com/llms.txt > Use this file to discover all available pages before exploring further. # How can we check if the Content Optimizer data is sent properly? To verify whether the Content Optimizer data is sent correctly, follow these steps: ## 1. Ensure that the test device is added Before checking the logs, make sure your device is registered as a test device. You can [add a test device](https://academy.insiderone.com/docs/adding-a-test-device-on-mobile-app) using a QR code or Email via the test device settings. ## 2. Check the session stop request Content Optimizer data is included in the session stop request. You should see an object similar to the one shown below inside the stop request. ```none You should see an object similar to the following inside the stop request: "content_variables": {    "variableName": {        "data_class": 0,        "data_type": 1,        "default_value": "defaultValue",        "variable_name": "variableName"    } } ``` If you do not see the "content_variables" key or the expected data inside it, this may indicate that: - The variable is not set correctly. - The related content method has not been triggered. ## 3. Check logs for verification #### For iOS: - Use Xcode Console to monitor logs. Connect your test device. Open **Xcode** → **Devices** & **Simulators** → Select your device. Run the app and filter logs related to the session stop request. - Alternatively, use the Console application on Mac to capture logs. Open the Console app and connect your device. Search for the related logs by filtering for session stop request events. #### For Android: - Use Android Studio Logcat. - Connect your test device and launch the app. - Open Android Studio → Logcat. - Filter logs using keywords like "content_variables" or "session stop request". By following these steps, you can confirm whether the Content Optimizer data is sent properly and troubleshoot any missing data. ## Related - [Troubleshooting](/mobile-app-troubleshooting.md) - [Content Optimizer Analytics](/content-optimizer-analytics.md) - [App Content Optimizer](/app-content-optimizer.md)