Skip to main content

browser-tracker.trackercore.setscreenresolution

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

TrackerCore.setScreenResolution() method

Set the screen resolution

Signature:
setScreenResolution(width: string, height: string): void;

Parameters

ParameterTypeDescription
widthstringscreen resolution width
heightstringscreen resolution height
Returns:

void