Skip to content

Commit

Permalink
chore: merge with remote main
Browse files Browse the repository at this point in the history
  • Loading branch information
vtsaplin committed Jan 29, 2024
1 parent 866ec3b commit e066432
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions solutions/scripts/scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@ window.hlx.plugins.add('rum-conversion', {

window.hlx.plugins.add('experimentation', {
condition: () => getMetadata('experiment'),
options: {},
options: {
prodHost: 'www.bitdefender.com.au',
},
url: '../plugins/experimentation/src/index.js',
});

Expand Down Expand Up @@ -408,6 +410,7 @@ function getExperimentDetails() {
if (!window.hlx || !window.hlx.experiment) {
return null;
}

const { id: experimentId, selectedVariant: experimentVariant } = window.hlx.experiment;
return { experimentId, experimentVariant };
}
Expand All @@ -417,7 +420,6 @@ function pushPageLoadToDataLayer() {
if (!hostname) {
return;
}

const { domain, domainPartsCount } = getDomainInfo(hostname);
const languageCountry = getLanguageCountryFromPath(window.location.pathname);
const environment = getEnvironment(hostname, languageCountry.country);
Expand Down

0 comments on commit e066432

Please sign in to comment.