@oneie/plugin-track
v0.1.1
Published
ONE tracking pixel — served from one.ie, zero bundle cost, no source in your repo
Readme
@oneie/plugin-track
ONE tracking pixel — served from one.ie, zero bundle cost.
import { track } from '@oneie/plugin-track'
export default defineOne({
plugins: [track({ ws: 'my-workspace' })],
})Injects a <script> tag that loads the tracking pixel from one.ie at runtime. Pageviews, events, and conversions flow into your ONE workspace without any tracking code shipping to your repo.
Options
track({
ws: string, // workspace slug
})