Adding Talkative Scripts To A Website

Created by Seb Coulthread, Modified on Tue, 23 Apr 2024 at 09:39 PM by Seb Coulthread

How to add Talkative to your website

Adding scripts

Within your widget editor (Chat Widgets menu item) you will have a script:


Direct Code Injection

The code presented to you is ready to be pasted into your website or CMS:

<script>
import(`https://eu.engage.app/api/ecs/v1/loader/44444444-4444-4444-4444-444444444444.js?path=${encodeURIComponent(window.location.origin+window.location.pathname)}`)
</script>


Google Tag Manager Injection

The code will need to be adapted slightly for GTM:

<script>
  var a = document.createElement('script')
a.innerHTML = "import(`https://eu.engage.app/api/ecs/v1/loader/444444-4444-4444-4444-444444444444.js?path=${encodeURIComponent(window.location.origin+window.location.pathname)}`)"
  document.body.appendChild(a);
</script>

 

Customising and configuring the widget

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article