Expand my Community achievements bar.

SOLVED

DCR firing before the library is loaded in async deployment

Avatar

Level 2

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?

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

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.

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

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.