Rule executing asynchronously on web page with Adobe Launch | Community
Skip to main content
rupaljain2408
Level 3
May 8, 2019
Solved

Rule executing asynchronously on web page with Adobe Launch

  • May 8, 2019
  • 1 reply
  • 2061 views

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 !

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Asheesh_Pandey

Duplicate with Rule executing asynchronously on web page with Adobe Launch

1 reply

Asheesh_Pandey
Community Advisor
Asheesh_PandeyCommunity AdvisorAccepted solution
Community Advisor
May 28, 2019