@objectiv/plugin-path-context-from-url
Version:
Plugin for Objectiv trackers to automatically generate and attach PathContext from URLs
27 lines (18 loc) • 717 B
Markdown
# Objectiv PathContextFromURL Plugin
Plugin for Objectiv web trackers. Detects the current URL via the document's Location API and factors in a `PathContext` that is attached to each `TrackerEvent`'s `global_contexts` before transport.
## Package Installation
To install the most recent stable version:
```sh
yarn add @objectiv/plugin-path-context-from-url
```
### or
```sh
npm install @objectiv/plugin-path-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.