Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

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
Level 4

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
Level 4

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?