The Log-Visualizer feature allows you to view the live stream of events (or logs) detected by the SDK directly in Contentsquare. The Log-Visualizer provides a comprehensive view of how SDK data tracking works in every app and can better test the tagging plan, and pinpoint errors and bugs before releasing the app into production.
Use the Log Visualizer to see, filter and search the following logs:
- App Start
- App Show
- App Hide
- Screenviews (incl. custom variables)
- Transactions
- Dynamic variables
- API, JS, Custom errors
- WebView errors (API, JS, Custom)
- Crashes
- Gestures
How to install
No need to plug your mobile into your laptop to display logs in a developer software (Android Studio, the Mac OS Console…) just make sure you have the minimum SDK version:
-
Android - SDK version 4.5.0
-
iOS - SDK version 4.9.0
-
React Native - available on both platforms with RN bridge 2.5.0
To be able to open the log visualizer, you first need to enable in-app features (see how to enable in-app features in this article). Once the log visualizer is enabled, you will see a live stream of events detected by Contentsquare SDK as you browse your app, such as screen views, tap, swipe, app show/hide.
How to use it
Follow these instructions in your app and/or watch the how-to video down below.
1. Make sure your SDK is installed and go to your app.
2. Open Contentsquare settings by pressing long the camera icon.
3. SDK logs stream should be toggled on by default. You will see the identifier for your device visible in the log-visualizer itself.
4. Go to Contentsquare and click on the mobile icon in the menu bar of Contentsquare to open the in-app features, then select Log Visualizer to open the module.
5. Select your device in the selector appearing on the top. You can see the same identifier you saw earlier in Contentsquare settings.
Tip: Start browsing your application if you don't see your device appearing right away in the selector.
6. You're all set! You will see the different events detected from the log streaming as you are browsing your app (e.g. swipes, taps, etc.).