@objectiv/plugin-root-location-context-from-url
Version:
Plugin for Objectiv trackers to automatically generate and attach RootLocationContext from URLs
27 lines (18 loc) • 783 B
Markdown
# Objectiv RootLocationContextFromURL Plugin
Plugin for Objectiv web trackers. Detects the current URL via the document's Location API and factors in a `RootLocationContext` that is attached to each `TrackerEvent`'s `location_stack`, before transport, as the topmost LocationContext.
## Package Installation
To install the most recent stable version:
```sh
yarn add @objectiv/plugin-root-location-context-from-url
```
### or
```sh
npm install @objectiv/plugin-root-location-context-from-url
```
# Usage
For a detailed usage guide, see the documentation: [https://objectiv.io/docs](https://objectiv.io/docs)
# Copyright and license
Licensed and distributed under the Apache 2.0 License (An OSI Approved License).
Copyright (c) 2021-2022 Objectiv B.V.
All rights reserved.