Logo of AppSignal

Menu
Documentation navigation

plugin-path-decorator

The plugin-path-decorator is a plugin that decorates all outgoing Spans with the current path. This is computed by reading from window.location.pathname.

1
2
import { plugin } from `appsignal/plugin-window-events`
appsignal.use(plugin(options))

plugin options

The plugin currently takes no options as parameters.

We'd like to set cookies, read why.