Expand my Community achievements bar.

SOLVED

Rule executing asynchronously on web page with Adobe Launch

Avatar

Level 3

Hi everyone,

We have recently migrated our property from Adobe DTM to Adobe Launch. We wanted our script to load asynchronously, hence we had removed "async" from our header script. The execution call for Direct call Rule is written in following manner in our code :

try {

      window._satellite.track('commonsPageLoad');

    } catch (error) {

      console.error(error);

    } finally {

      window.digitalData = {};

    }

Now , the execution starts with "try" block and call to DCR [ _satellite.track('commonsPageLoad') ] , but somehow, the "finally" block gets executed next before completing execution of DCR. This leads to clearing of datalayer , and no data goes with Adobe's image request, which is a serious concern for me.

If anyone knows the reason behind this and solution, if any, Please let me know. Many thanks in advance !

1 Accepted Solution

Avatar

Correct answer by
Community Advisor
1 Reply

Avatar

Correct answer by
Community Advisor