Skip to content

Commit

Permalink
feat: add experiment details
Browse files Browse the repository at this point in the history
  • Loading branch information
vtsaplin committed Jan 3, 2024
1 parent da8b65c commit c8a7bf9
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions solutions/scripts/scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import {
loadBlocks,
loadCSS,
getMetadata,
getAllMetadata,
} from './lib-franklin.js';

import {
Expand Down Expand Up @@ -200,7 +199,7 @@ export function pushToDataLayer(event, payload) {
window.adobeDataLayer.push({
event,
...payload,
...(experimentDetails && { experimentDetails })
...(experimentDetails && { experimentDetails }),
});
}

Expand Down Expand Up @@ -532,7 +531,4 @@ async function loadPage() {
loadDelayed();
}

loadPage().catch((e) => {
// eslint-disable-next-line no-console
console.error(e);
});
loadPage();

0 comments on commit c8a7bf9

Please sign in to comment.