@capgo/capacitor-contentsquare
Overview
Section titled “Overview”Integrate Contentsquare mobile analytics, consent gating, screen tracking, transactions, and session replay controls in Capacitor
Start with optIn() and the other core methods listed below.
Platform support
Section titled “Platform support”| Platform | Support | Notes |
|---|---|---|
| iOS | Yes | Native |
| Android | Yes | Native |
| Web | No | Guard with Capacitor.getPlatform() |
Core Capabilities
Section titled “Core Capabilities”optInoptOutsendScreenNamesendTransaction
Public API
Section titled “Public API”| Method | Description |
|---|---|
optIn | See the source definitions for current behavior. |
optOut | See the source definitions for current behavior. |
sendScreenName | See the source definitions for current behavior. |
sendTransaction | See the source definitions for current behavior. |
sendDynamicVarWithStringValue | See the source definitions for current behavior. |
sendDynamicVarWithIntValue | See the source definitions for current behavior. |
onReady | See the source definitions for current behavior. |
excludeURLForReplay | See the source definitions for current behavior. |
setPIISelectors | See the source definitions for current behavior. |
setCapturedElementsSelector | See the source definitions for current behavior. |
collect | See the source definitions for current behavior. |
Source Of Truth
Section titled “Source Of Truth”This reference is synced from src/definitions.ts in capacitor-contentsquare.
Keep going from @capgo/capacitor-contentsquare
Section titled “Keep going from @capgo/capacitor-contentsquare”If you are using @capgo/capacitor-contentsquare to plan native plugin work, connect it with Using @capgo/capacitor-contentsquare for the native capability in Using @capgo/capacitor-contentsquare, Capgo Plugin Directory for the product workflow in Capgo Plugin Directory, Capacitor Plugins by Capgo for the implementation detail in Capacitor Plugins by Capgo, Adding or Updating Plugins for the implementation detail in Adding or Updating Plugins, and Ionic Enterprise Plugin Alternatives for the product workflow in Ionic Enterprise Plugin Alternatives.