Nivel 1
Nivel 2
Iniciar sesión en la comunidad
Iniciar sesión para ver todas las insignias
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
¡Resuelto! Ir a solución.
Vistas
Respuestas
Total de me gusta
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
Vistas
Respuestas
Total de me gusta
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
Vistas
Respuestas
Total de me gusta
Hi Abhinav,
I didn't understand.
Where are you suggesting I call configure command. There seems to be only place to place that code.
Vistas
Respuestas
Total de me gusta
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
Vistas
Respuestas
Total de me gusta
Got it !
Thanks man
Vistas
Respuestas
Total de me gusta
Vistas
me gusta
Respuestas
Vistas
me gusta
Respuestas
Vistas
me gusta
Respuestas