Web SDK
Integrate smart links, attribution, analytics, in-app messages and smart banners into your web app with the Grovs SDK.
A JavaScript library for smart links, deferred deep links, attribution, event and screen tracking, dashboard in-app messages and the "Open in app" smart banner on mobile browsers.
It runs in bundled browser apps, Next.js, Nuxt and other SSR frameworks, Electron, and a plain <script> tag. Written in TypeScript with bundled types and no runtime dependencies. Install the grovs package; see Installation.
- Quick Start: Install and configure the SDK
- Deep Linking: Receive link payloads
- Link Creation: Generate smart links programmatically
- In-app messages: Dashboard campaigns shown on your site (2.1)
- Smart banners: The "Open in app" banner for mobile browsers (2.1)
- Revenue: Log purchases
- Events & Screen Tracking: Track custom events and screen views
- Privacy & Consent: Gate collection on consent, and what the SDK collects
- API Reference: All methods
Upgrading
2.0 to 2.1: minor release. Adds in-app messages and the smart banner, both on by default, and removes the messages inbox. See the 2.1 upgrade guide.
1.x to 2.0: existing code keeps working through a deprecated compatibility layer. Two accessors now return corrected values, and the SDK reports installs, opens and engagement that 1.x never sent. See the 2.0 upgrade guide.