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!
Solved! Go to Solution.
Views
Replies
Total Likes
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?
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?
Thanks @ChetanyaJain
Views
Replies
Total Likes