Expand my Community achievements bar.

SOLVED

modal window preventing data element from being read

Avatar

Level 1

Hi,

 

We have a website, that has a modal pop up display as soon as you enter the site (don't ask why), this pop up allows you to go to different branded pages of the same site.  When this popup loads Analytics seems to send a beacon, however, upon closer inspection, the data layer element for the report suite ID is blank but the hardcoded report suite ID is read OK.   When a user clicks on the pop up to go to other branded pages the report suite ID is read correctly, the same is true if the pop up is closed and a link on the page is clicked.  How can I ensure the data element is read before the popup is loaded?

 

Many thanks.

1 Accepted Solution

Avatar

Correct answer by
Level 10

You need to set the Data Layer (the Launch Data Element is mapped to) before the Launch embed code.

View solution in original post

1 Reply

Avatar

Correct answer by
Level 10

You need to set the Data Layer (the Launch Data Element is mapped to) before the Launch embed code.