useLinkTrackSessionStorage
If your organization uses link tracking, AppMeasurement uses the s_sq
cookie to pass information between hits. Some website configurations conflict with this cookie. If you would like to use browser session storage for link tracking and Activity Map data instead of a cookie, enable this variable.
Using a browser’s session storage for link tracking comes with several limitations:
- Session storage does not work between protocols. For example, you have one page served over HTTP and the next page served over HTTPS. AppMeasurement cannot access link tracking data in session storage because of protocol differences.
- Session storage does not work across subdomains. For example, a visitor navigates to
store.example.com
, then navigates totoys.example.com
. AppMeasurement cannot access link tracking data in session storage because of different subdomains.
AppMeasurement removes session storage link tracking data after sending a hit to Adobe. It also automatically expires when the browser tab is closed.
Use link track session storage using the Web SDK
The Web SDK does not support this functionality.
Use link track session storage using the Adobe Analytics extension
There is not a dedicated field in the Adobe Analytics extension to use this variable. Use the custom code editor, following AppMeasurement syntax.
s.useLinkTrackSessionStorage in AppMeasurement and the Analytics extension custom code editor
The s.useLinkTrackSessionStorage
variable is a boolean that determines if AppMeasurement uses session storage for link tracking data instead of the s_sq
cookie. Its default value is false
. Set this variable to true
if you want AppMeasurement to use session storage instead of the s_sq
cookie for link tracking and Activity Map.
s.useLinkTrackSessionStorage = true;