By copying tracking code to Head Section of a React application, will this be enough for enabling Chat Widget?
You could put it in the head, but it is recommended to have it just before the closing body tag
@miljkovicmisa , does this sound correct?
@dennisedson, hello @K3nsimple , this is correct, it’s always better to include scripts before the closing of the body tag to avoid render blocking.
I would also suggest this link here , outlining some points when working with frameworks like react.
If you are including scripts in your app it’s best practice to use require_js function, more info on that here.
Cheers!
Thanks for the great response.