Skip to main content

browser-tracker.trackercore.setuseragent

Home > @snowplow/browser-tracker > TrackerCore > setUseragent

TrackerCore.setUseragent() method

Set the Useragent

Signature:
setUseragent(useragent: string): void;

Parameters

ParameterTypeDescription
useragentstringA useragent string
Returns:

void