How to delay the page load call to fire only after the datalayer has been updated using Adobe Launch? | Community
Skip to main content
September 16, 2022
Solved

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

  • September 16, 2022
  • 1 reply
  • 1627 views

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!

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by ChetanyaJain-1

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?

1 reply

ChetanyaJain-1
Community Advisor
ChetanyaJain-1Community AdvisorAccepted solution
Community Advisor
September 16, 2022

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?

parle_123Author
September 19, 2022

Thanks @chetanyajain-1