Releases: Smartesting/gravity-data-collector
Releases · Smartesting/gravity-data-collector
3.4.1
Fixed
- Fix the search for the label associated with an element
3.4.0
Added
- Send
buildId
in SessionStartedUserAction when GRAVITY_BUILD_ID
or REACT_APP_GRAVITY_BUILD_ID
is set.
3.3.2
Changed
IdentifySessionError
enumeration
3.3.1
Changed
AddSessionUserActionsError
enumeration
3.3.0
Added
- New option
sessionsPercentageKept
: rate (in 0..100) of sessions to be collected (default is 100).
- New option
rejectSession
: boolean function to disable session tracking
3.2.0
Added
- New option
excludeRegex
: regular expression to define ID and class names to ignore in selector computation.
- New option
customSelector
: string indicates the attribute to use as a selector if defined on an HTML element targeted by a user action.
3.1.1
Fixed
- Session cookies are now saved at the
root
of the website. This prevents some bugs due to a change of session id between two different pathnames
3.1.0
Added
- New storage for session identifiers: session cookies. This ensures that the same session is maintained when browsing different subdomains of a superdomain
- A session now expires after 30 minutes without user action
3.0.0
Changed
- Type
Traits
renamed more precisely to SessionTraits
and moved to types.ts
file
- Type
TraitValue
renamed more precisely to SessionTraitValue
- Method
sendSessionTraits
now returns a response typed IdentifySessionResponse
with well-typed error
- Method
sendSessionUserActions
now returns a response typed AddSessionUserActionsResponse
with well-typed error
Fixed
- Stop tracking when receiving errors specified in config.ts
- Prevent error in method
isKeyAllowedByKeyListeners
2.2.0
Added
onPublish
callback function called each time events are sent to the gravity server.
Changed
- Update README.md: describe how to identify session with traits