get Client Browser Parameters
Gathers client browser values commonly used for analytics
Anchor to getClientBrowserParametersget Client Browser Parameters()
If executed on server, this method will return empty string for each field.
ClientBrowserParameters
- navigationApi
Navigation api: `'PerformanceNavigationTiming' | 'performance.navigation'`. Use `getClientBrowserParameters()` to collect this value.
string - navigationType
Navigation type: `'navigate' | 'reload' | 'back_forward' | 'prerender' | 'unknown'`. Use `getClientBrowserParameters()` to collect this value.
string - path
Value of `window.location.pathname`. Use `getClientBrowserParameters()` to collect this value.
string - referrer
Value of `window.document.referrer`. Use `getClientBrowserParameters()` to collect this value.
string - search
Value of `window.location.search`. Use `getClientBrowserParameters()` to collect this value.
string - title
Value of `document.title`. Use `getClientBrowserParameters()` to collect this value.
string - uniqueToken
Shopify unique user token: Value of `_shopify_y` cookie. Use `getClientBrowserParameters()` to collect this value.
string - url
Value of `window.location.href`. Use `getClientBrowserParameters()` to collect this value.
string - userAgent
Value of `navigator.userAgent`. Use `getClientBrowserParameters()` to collect this value.
string - visitToken
Shopify session token: Value of `_shopify_s` cookie. Use `getClientBrowserParameters()` to collect this value.
string