Skip to content

Commit

Permalink
fix(Session): Fix remote visitor data not gettting used (#731)
Browse files Browse the repository at this point in the history
  • Loading branch information
absidue authored Aug 12, 2024
1 parent bb6e647 commit 7afc3da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/Session.ts
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ export default class Session extends EventEmitter {
hl: options.lang || device_info[0],
gl: options.location || device_info[2],
remote_host: device_info[3],
visitor_data: options.visitor_data,
visitor_data: options.visitor_data || device_info[13],
client_name: options.client_name,
client_version: device_info[16],
os_name: device_info[17],
Expand Down

0 comments on commit 7afc3da

Please sign in to comment.