Expand my Community achievements bar.

Update datalayer issue

Avatar

Level 1

We populate the datalayer in head and call _satellite.pageBottom();

We later on update the datalayer on click on a newspage since we use angular 2 and use services to get data and not page reloads.

We then call _satellite.pageBottom(); again.

But the updated datalayer info does not seem to be sent to adobe analytics. I can console log the updated datalayer but it seems like the old data is sent to adobe when calling _satellite.pageBottom();

are we doing something wrong? when faking a pageload with a new :

window["dataLayer"] = dataLayer;

_satellite.pageBottom();

0 Replies