Skip to content

Commit

Permalink
fix(DIST-584): Remove www from tracking (#112)
Browse files Browse the repository at this point in the history
  • Loading branch information
Antonio authored Dec 14, 2020
1 parent 0e90eae commit 2a67f57
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/core/make-popup.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const buildOptions = (embedId, options) => {
isModalOpen: false,
autoClose: DEFAULT_AUTOCLOSE_TIMEOUT,
medium: 'embed-sdk',
source: window?.location?.hostname,
source: window?.location?.hostname.replace('wwww.', ''),
hideFooter: false,
hideHeaders: false,
hideScrollbars: false,
Expand Down
2 changes: 1 addition & 1 deletion src/core/make-widget.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const defaultOptions = {
hideFooter: false,
hideHeaders: false,
medium: 'embed-sdk',
source: window?.location?.hostname,
source: window?.location?.hostname.replace('www.', ''),
hideScrollbars: false,
disableTracking: false,
transferableUrlParameters: [],
Expand Down

0 comments on commit 2a67f57

Please sign in to comment.