Skip to content

Commit

Permalink
feat: send data layer state to aep
Browse files Browse the repository at this point in the history
  • Loading branch information
vtsaplin committed Jan 31, 2024
1 parent 634a1fe commit 53a815e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion solutions/scripts/analytics/lib-analytics.js
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ export async function analyticsTrackPageViews(document /* , additionalXdmFields
return new Promise((resolve) => {
window.adobeDataLayer.push((dl) => {
const state = dl.getState();
console.debug(`analyticsTrackPageViews complete: ${JSON.stringify(xdmData)}`);
console.debug(`analyticsTrackPageViews complete: ${JSON.stringify(state)}`);
resolve(sendAnalyticsEvent(xdmData, state));
});
});
Expand Down

0 comments on commit 53a815e

Please sign in to comment.