@braze/web-sdk
Version:
Braze SDK for web sites and other JS platforms.
19 lines (18 loc) • 562 B
JavaScript
export default class Qt {
constructor(s) {
(this.id = s), (this.id = s);
}
Ar() {
const s = {};
return (
null != this.browser && (s.browser = this.browser),
null != this.Ga && (s.browser_version = this.Ga),
null != this.os && (s.os_version = this.os),
null != this.resolution && (s.resolution = this.resolution),
null != this.language && (s.locale = this.language),
null != this.timeZone && (s.time_zone = this.timeZone),
null != this.userAgent && (s.user_agent = this.userAgent),
s
);
}
}