Timezone
caution
You are reading documentation for an outdated version. Hereβs the latest one!
Installationβ
npm install @snowplow/browser-plugin-timezone
yarn add @snowplow/browser-plugin-timezone
pnpm add @snowplow/browser-plugin-timezone
Initializationβ
import { newTracker, trackPageView } from '@snowplow/browser-tracker';
import { TimezonePlugin } from '@snowplow/browser-plugin-timezone';
newTracker('sp1', '{{collector_url}}', {
appId: 'my-app-id',
plugins: [ TimezonePlugin() ],
});
Propertiesβ
This plugin will add Timezone tracking. This allows the tracker to populate the `os_timezone`
field within the canonical event model.