iOS SDK 15.6.7,
Android SDK 15.5.3,
Hello Screen Dynamic States,
Bluedot Cordova plugin 4.0.1,
Bluedot Xamarin Android wrapper 15.5.2,
Bluedot Xamarin iOS wrapper 15.6.6,
Bluedot React Native wrapper 2.3.0,
installRefis sent with events in a browser environment. This is a UUID value that is generated to allow you to identify customers across multiple wave events and multiple interactions with a site which uses the SDK.
installRefwill be generated. Until that page is reloaded the same UUID will be sent with each triggered event, so for example if the page allows a user to send an On The Way event, and then later an Arrived event, as long as the page is not reloaded both these events will contain the same
installRefvalue. If the page is accessed another time in the same browser, a new
installRefwill be sent with events the following time.
installRefin the browser’s local storage mechanism, meaning that the generated
installRefwill be saved and reused on subsequent visits to the page. This allows for more detailed analysis of events which have been sent, as repeat customers can be identified. As user tracking is something which is regulated by legislation in many countries, please ensure you have received the required permission from the user to store this kind of information before enabling this feature.
setUserPersistenceEnabled(true)prior to sending a wave event.
Once the feature is enabled and an
installRef has been saved to localStorage, it will be used when sending events regardless of whether a call to
setUserPersistenceEnabled has been made in the current implementation of the SDK. If at any point you wish to delete any stored
installRefs and have them generated fresh on load as before, simply call
setUserPersistenceEnabled(false). Please be aware that once deleted there is no way to retrieve previously stored
localStorage is only available in browser environments, at this time
installRef behaviour is not supported in Node or React Native environments, and no
installRef will be sent with Wave events from these environments.