Expand my Community achievements bar.

Adobe Summit 2025: AEP & RTCDP Session Recordings Are Live! Missed a session or want to revisit your favorites? Watch the latest recordings now.

Mark Solution

This conversation has been locked due to inactivity. Please create a new post.

SOLVED

How to delay the page load call to fire only after the datalayer has been updated using Adobe Launch?

Avatar

Level 1

My website is a SPA with EDDL. Is there a way to fire the page load call only after the data layer updation has taken place?

 

The scenario is as such:

 After I add a product from the Products Page and go to the Cart Page, the page load call happens even before the data layer is updated with the new product. So I am unable to see the new product details in the page load server call. Could someone please help me with the solution to this?

 

Thanks!

 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Are you loading the datalayer towards the end? Check if you can move this to the head and keep it async.

 

Is the datalayer too heavy that its taking time to load?

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

Are you loading the datalayer towards the end? Check if you can move this to the head and keep it async.

 

Is the datalayer too heavy that its taking time to load?

Avatar

Level 1

Thanks @ChetanyaJain