Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

DCR firing before the library is loaded in async deployment

vijayk79703890
Level 2
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
yuhuisg
Correct answer by
Community Advisor
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
yuhuisg
Correct answer by
Community Advisor
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