Configuring via script tag attributes

You can provide each configuration as an attribute to the <script> tag that you are using to load ActivejS.

Example:

<script 
    src="https://active.motaword.com/index.js" 
    crossorigin
    data-token="token" 
    data-project-id="project-id"
    data-current-language="en-US"
    data-render-widget="true"
    data-widget-element="#my-language-selector"
    data-theme="light"
    data-position="in-place-down"
    data-follow-user="true"
    data-use-dummy-translations="false"
    data-use-dynamic-translations="true"
    data-change-mode="history"
    data-url-mode="path"
    data-modify-links="true"
    data-query-name="locale"
    data-wait-for-dom="true"></script>