Expand my Community achievements bar.

Help shape the future of AI assistance by participating in this quick card sorting activity. Your input will help create a more effective system that better serves your needs and those of your colleagues.
SOLVED

Issue with Adobe Launch rule using AEP Web SDK

Avatar

Level 2

We are implementing Adobe Analytics using AEP Web SDK. Issue is with the Click rule in Adobe Launch that trigger on a custom event. By the time this rule fires, Data layer on click is getting overwritten by the page load data layer. 

 

For example, click on a breadcrumb from search results page leads to home page. From the website, data layer for breadcrumb click and the home page load sent are different. But by the time Adobe Launch fires the click rule, the data layer for breadcrumb click is getting overwritten by the data layer of home page load and hence page load data is being passed in the click network call.

 

Expected : Adobe Launch click rule should immediately listen to the click custom event fired from the website and pick the right data layer sent by the website

 

Please let us know if you have any solution or you need more information on this issue.

1 Accepted Solution

Avatar

Correct answer by
Moderator

Have you considered using a Direct Call Rule?  https://experienceleague.adobe.com/docs/experience-platform/tags/extensions/client/core/overview.htm...

 

It is possible to pass data to the direct call rule, so this might be an option for you.

View solution in original post

7 Replies

Avatar

Community Advisor

Yes, that's generally the experience when trying to track clicks.

One workaround is to use the delay in the Click event. Set it to, say, 500ms.

Avatar

Moderator

Agreed.  Try the delay in the click event as suggested. 

Avatar

Level 2

Thank you both for responding on this issue. We could have added the delay between the custom events fired from the site. But most of the clicks are working fine without having delay. Only few clicks mainly breadcrumb clicks that lead to page load is having this issue. 

Avatar

Moderator

That is the fickle nature of front end web interactions.  There is so much in play with content on the page, what js might be building the breadcrumbs, are there are factors in play that modify the CSS as the page loads to format the breadcrumbs, etc, etc, etc, etc.     

 

Within add the delay you can restrict it to just be on the links for the breadcrumbs so it's not on all the clicks that don't seem to have this issue. 

 

 

Avatar

Level 2

Thank you for your response. 

 

There is one limitation of the site where developers cannot control the sequence of the calls made. For example: If a user clicks on breadcrumb which leads to a page load, the page load call can fire first, and then the breadcrumb call can fire. If the developer introduces a delay on page load, it may overwrite the click data layer again and vice versa.

 

Avatar

Correct answer by
Moderator

Have you considered using a Direct Call Rule?  https://experienceleague.adobe.com/docs/experience-platform/tags/extensions/client/core/overview.htm...

 

It is possible to pass data to the direct call rule, so this might be an option for you.

Avatar

Level 2

We gave a delay from the website code which resolved this issue. Thanks