Can anyone suggest which is better place to load t...
# suitecommerce
c
Can anyone suggest which is better place to load the chat bot integration script? Basically I want to load this in the footer section. Can I load this in the footer JS initialise function? Is this a best practice or Is there anyway to do that? Also, I have observed few times loading the chat bot script in the Footer initialise function or afterDomAppend functions doesn’t work . It works fine when we load this in the template.
s
You can see the BrontoIntegration module which loads the script and append it to body.
I guess that could be a better way to do it
k
Best practice is to use Google Tag manager