Swrve has an open source SDK repository. There are two options for downloading the latest public Swrve Web SDK:
- Install the SDK using npm (node package manager).
Run the following command:
npm install @swrve/web-sdk.
- Download the SDK from the GitHub public repository.
For upgrade instructions, see the Web SDK upgrade guide.
Release date: November 2, 2022
- Removed debug logging to align the Web SDK with the Web Core SDK.
Release date: July 14, 2022
- Removed space and length restrictions on event names for consistency across our SDKs.
Release date: March 9, 2022
- Added support for the following features:
- A/B resource testing. For more information, see the Integration guide.
- Realtime user properties. For more information, see Manage user properties.
- Embedded campaigns, including auto-wiring of realtime user properties. For more information, see the Integration guide.
- Message center. For more information, see Message Center API Guide.
- Added the push delivered event to web push.
- Moved QA logging to its own queue making it send events independently to the standard event queue, improving reliability and reducing noise when debugging.
- Added better typescript support by including types with our npm package.
- Fixed a rare issue where appID would break in validation for legitimate app IDs.
Release date: January 29, 2021
- Resolved an issue where an invalid session occurred when the Swrve user ID is an integer string.
- Resolved an issue where the QA logs did not display push engaged events.
Release date: January 14, 2021
- Resolved an issue where duplicate QA events were displaying in the QA user log.
- Added device type to device update event.
Previous releases summary
|Date||Version||Features and Fixes|
|October 23, 2020||1.4.1||Resolved an issue where the browser detection was incorrectly firing an error message on session start.|
|October 22, 2020||1.4.0||Updated tracking of device OS and type for platform-specific delivery of in-app messages. Resolved an issue where the Device Update event was returning Chrome as the value for all browsers.|
|September 16, 2019||1.3.2||Resolved an issue where the content URL was not changing appropriately for customers using EU data storage.|
|July 9, 2019||1.3.1||Tracking will no longer start on unsupported browsers and operating systems and increased the default session interval timeout from 30 seconds to 30 minutes. Various bug fixes.|
|January 17, 2019||1.3.0||Added the in-app purchase event. Resolved an issue where the autoPushSubscribe config was being ignored.|
|October 25, 2018||1.2.1||Bug fixes.|
|October 24, 2018||1.2.0||Multiple additions to package.json meta data and improvements to source maps generation and QA user event logic. Various bug fixes.|
|October 22, 2018||1.1.0||Added support for web push notifications and currency given event. Various bug fixes.|
|August 30, 2018||1.0.0||First public release.|