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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Direct call String on page load is not capturing, Adobe Launch

sravanir5084304
Level 1
Level 1

Hi we are passing an Direct call String on load of page(Product Description Page) , and created a Direct call rule for the same string.

Being of async load of Launch, "direct call rule" is firing sometimes and , sometimes its not getting captured.

How to implement and when to place the "direct call string", so that Directly call string will fire on every page load((Product Description Page).

Thanks in advance for your replies

3 Replies
Andrey_Osadchuk
Community Advisor
Community Advisor

There are few cases when a Direct Call may fail to fire in your scenario:

  • DC is called earlier the Launch library load
  • The visitor closed the browser window or clicked-through to another page earlier a DC was called
  • DC call returned an error (e.g. incorrect syntax, or DC string, or js error inside the custom code, ...)

Review your implementation to validate what type of issues may be valid for you. Then update the code logic accordingly so that DC will be called once the _satellite object is available and earlier the page unload.

sravanir5084304
Level 1
Level 1

Hi Andrey,

Thanks for your reply.

Checked by placing debugger  on the DC string and have observed , Direct call string line is not parsing into debugger.

How to make _satellite object to be available at the load of DC string.

How to make DC is called after the Launch library load(asyn launch code). Any suggestions on this?

Andrey_Osadchuk
Community Advisor
Community Advisor

The DC call should be wrapped in the construction where you check the _satellite variable existence. If it exists, fire the DC otherwise wait for N milliseconds and check again.