Skip to main content

browser-tracker.browsertracker.setcollectorurl

Home > @snowplow/browser-tracker > BrowserTracker > setCollectorUrl

BrowserTracker.setCollectorUrl property

Specify the Snowplow collector URL. Specific http or https to force it or leave it off to match the website protocol.

Signature:
setCollectorUrl: (collectorUrl: string) => void;