csq library

Classes

ContentsquareOptions
Contains the options for configuring the Contentsquare SDK. This class allows you to specify whether the session replay should start automatically when the SDK is initialized. This class is only useful when using the manual start method.
CSQ
A class exposing Contentsquare SDK's API through its members.
CSQHttpOverrides
An implementation of HttpOverrides that allows the SDK to track the different requests made through the global HttpClient.
CSQMask
Applies masking rules to its descendants.
CSQMaskingConfig
A class which determines what should be masked in your application.
CSQNavigatorObserver
A NavigatorObserver that can be attached to an app to automatically track the screens based on the route navigation
CSQWebViewWrapper
Widget that allows to use CSQ's features in the wrapped WebView.
CustomVar
Custom variables are used to provide additional information about a page and are provided within Contentsquare.send or CSQ.trackScreenview methods.
Debug
Allows CSQ user to change debug options like LogLevel.
DynamicVar
Represents a dynamic variable for session segmentation in Contentsquare analytics.
InitializableWebViewWrapperDelegate
An extension of WebViewWrapperDelegate that can be initialized during the initState of the CSQWebViewWrapper.
JSChannelWebViewWrapperDelegate
An implementation of WebViewWrapperDelegate that allows to inject required CSQ script in the WebView through Javascript channel.
Metadata
An interface representing CSQ metadata.
MetadataProvider
An interface that exposes the Metadata and provides a way to listen for its changes.
ProductAnalyticsOptions
Represents options to pass to the Product Analytics configuration.
ReliableTarget
A ReliableTarget is a widget that can be used to reliably target widgets
Transaction
Represents a transaction to be tracked by the Contentsquare analytics system.
UserScriptWebViewWrapperDelegate
An implementation of WebViewWrapperDelegate that allows to inject required CSQ script in the WebView through user script.
WebViewJSChannelHandler
Handler used to inject required javascript in the WebView.
WebViewWrapperDelegate
A delegate that supplies the WebView widget that needs to be wrapped.

Enums

Currency
ISO 4217 currency codes Use toStr method to get string representation
LogLevel
Represents the different levels of logging available in the CSQ SDK.

Extensions

CurrencyString on Currency
Extension to help return the String representation of a Currency

Typedefs

AddJSChannelCallback = void Function(WebViewJSChannelHandler handler)
Callback executed to add a required JavaScript channel in the WebView.
UserScriptWebViewWrapperBuilder = Widget Function(BuildContext context, String userScript)
Widget builder callback that allows to pass the userScript that will be injected through the UserScript initialization of the WebView.