I am trying to use "configure" command for onBeforeEventSend. But getting error that library already configured. Let me know how to solve this.
alloy("configure", {
"onBeforeEventSend": function(content) {
// Change existing values
content.xdm.web.webPageDetails.name = "Checkout"
}
});
I have not used configure command anywhere else, other than in the dedicated field in web sdk extension
Solved! Go to Solution.
Views
Replies
Total Likes
I guess you are using this custom snippet in addition to the extension.
You should be using either of the two.
If you want to use callback then that is part of the sdk extension itself. Use that one instead of the above custom snippet.
Hope the above helps.
Regards,
Abhinav
Views
Replies
Total Likes
I guess you are using this custom snippet in addition to the extension.
You should be using either of the two.
If you want to use callback then that is part of the sdk extension itself. Use that one instead of the above custom snippet.
Hope the above helps.
Regards,
Abhinav
Views
Replies
Total Likes
Hi Abhinav,
I didn't understand.
Where are you suggesting I call configure command. There seems to be only place to place that code.
Views
Replies
Total Likes
In the above screenshot, right at the top there is place to put in your callback code. Don't put in the entire alloy snippet bur just the bit you want to use in the callback function.
That should address the issue.
Let me know if it is still not clear and I can try to add more details.
Cheers,
Abhinav
Views
Replies
Total Likes
Got it !
Thanks man
Views
Likes
Replies
Views
Likes
Replies
Views
Like
Replies