In-app features
Alongside its tracking capabilities, the SDKs embed some features aimed at Contentsquare users such as SDK Logs.
1. Install the Cordova plugin to handle URL schemes
Section titled 1. Install the Cordova plugin to handle URL schemesIn order for your application to open when you scan the QR code or enter the URL we provide in a web browser, you have to install a Cordova plugin which will handle the URL scheme.
2. Call the SDK when your app is opened with the custom URL
Section titled 2. Call the SDK when your app is opened with the custom URLThen, you will need to link your app with our SDK. When your application is started via a deeplink, a specific global JavaScript function, handleOpenURL(), is automatically called in your App. You will have to define this function in the ‘window’ global scope and you will need to call a function of our API via the Contentsquare Cordova Plugin.
Enable in-app features
Section titled Enable in-app featuresIn-app features can be enabled in different ways:
Scan the QR Code
Section titled Scan the QR CodeIf you have access to the Contentsquare platform, you can open the in-app features modal from the menu and scan the QR code displayed with your phone.
Take a look at the native documentation for further information.
Alternative methods
Section titled Alternative methodsWe provide alternative methods to enable in-app features especially for iOS Simulator and Android Emulator.
📚 Native Android SDK documentation for Enable in-app features
📚 Native iOS SDK documentation for Enable in-app features
Debugging and Logging
Section titled Debugging and LoggingContentsquare provides Logging capabilities that allow you to see the raw event data logged by your app. Use this for validation purposes during the instrumentation phase of development and can help you discover errors and mistakes in your analytics implementation and confirm that all events are being logged correctly.
📚 Native Android SDK documentation for Debugging and Logging
📚 Native iOS SDK documentation for Debugging and Logging