Hi everyone,
I am now working on implementing new tracking requirement on one site via Launch.
Our rule is triggered by custom event and sent as s.tl().
However, it shows the error message in console - Failed to execute "Send beacon". (see below)
I have searched several previous discussion.
--> some say it can be caused by not updated AA extension--> it is updated.
--> some say it can be caused by not updated Experience Cloud ID extension-->it's updated.
At the same time, the rule "Migrated from DTM: Adobe Analytics - Send Beacon on every page" is fired and sent the beacon without the same error message.
But the tricky thing is that I saw no network request, either.
I am thinking whether it is caused by an outdated plugin? We are still using the same setting that we did several years ago (from DTM period).
It would be great if someone can give me some hints/direction to troubleshoot.
Many thanks,
Yu
Solved! Go to Solution.
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
The problem is solved. It is caused by the outdated plugin in AA extension in Launch. After we remove the plugin, the network request is sent.
@wan-yul74421350 - It sounds to me like you have an undefined variable attempting to use .toLowerCase(). If you click on the line number link ("VM4180:81" in your image), it should take you to where the offending code is. You should be able to use this to track back to the code that's causing the problem. With luck, the fix is as easy as adding or updating a data element. Assuming the site is public, if you want to share a link to where we can see the issue, I'd be happy to take a quick look in order to provide better guidance. (Feel free to DM a link, if you want.)
Views
Replies
Total Likes
Hi Brian, thanks for the reply.
Unfortunately, it is on our staging environment and only accessible via internal network.
I clicked "VM..." and it brings me here (see below):
Besides, I tried to search where the "toLowerCase" is used.
I also thought whether it is caused that I clicked or not-clicked the "force lowercase value" when setting data element in Launch.
(The data elements are js variables, that come from the event payloads.)
But no matter it is clicked or not, the same error occurs.
Is the issue caused by the site side? (i.e. our custom event setting?)
Many thanks and best regards,
Yu
Views
Replies
Total Likes
Views
Replies
Total Likes
The problem is solved. It is caused by the outdated plugin in AA extension in Launch. After we remove the plugin, the network request is sent.
Views
Like
Replies