1. Help Center
  2. Chat Widgets
  3. General, scripts and versions

Adding Talkative Scripts To A Website

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