DCR firing before the library is loaded in async deployment | Community
Skip to main content
Level 2
September 10, 2020
Solved

DCR firing before the library is loaded in async deployment

  • September 10, 2020
  • 1 reply
  • 948 views

Hi All, 

 

I am trying to set a DCR as a custom link and am capturing some information as a part of that and we have used async deployment. what i notice is that the DCR is firing before the library is loaded hence the i am not getting a server call for that particular custom link. Is there a way i can set up a rule in between for the DCR to wait for library to load and then send the beacon?

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 yuhuisg

Unfortunately, there's no way to "hack" a rule for the Direct Call, because ultimately, the Direct Call's _satellite.track() depends on the Launch library being loaded already.

I would suggest changing your setup, e.g. fire your rule at Library Loaded or DOM Ready.

1 reply

yuhuisg
Community Advisor
yuhuisgCommunity AdvisorAccepted solution
Community Advisor
September 11, 2020

Unfortunately, there's no way to "hack" a rule for the Direct Call, because ultimately, the Direct Call's _satellite.track() depends on the Launch library being loaded already.

I would suggest changing your setup, e.g. fire your rule at Library Loaded or DOM Ready.