Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix data layer #203

Merged
merged 11 commits into from
Sep 6, 2024
Prev Previous commit
Next Next commit
Take 7
  • Loading branch information
Matei-Iordache committed Sep 6, 2024
commit 002f647c2c0822acbd71d43230e2b569d7e70b33
2 changes: 1 addition & 1 deletion _src/blocks/new-prod-boxes/new-prod-boxes.js
Original file line number Diff line number Diff line change
Expand Up @@ -621,7 +621,7 @@ export default async function decorate(block, options) {
if (isInLandingPages) {
const { decorateIcons } = await import('../../scripts/utils/utils.js');
// eslint-disable-next-line import/no-unresolved
const { GLOBAL_EVENTS } = await import(`https://${window.location.hostname}/_src-lp/scripts/utils/utils.js`);
const { GLOBAL_EVENTS } = await import(`https://${window.location.hostname}/_src-lp/scripts/utils.js`);
const { sendAnalyticsPageLoadedEvent } = await import(`https://${window.location.hostname}/_src-lp/scripts/adobeDataLayer.js`);
decorateIcons(block.closest('.section'));

Expand Down