Skip to content

Convert Tawk module to React component #899

@moshfeu

Description

@moshfeu

Currently we are initiating Tawk in the global scope.

(function() {
const s1 = document.createElement('script');
s1.async = true;
s1.src = 'https://embed.tawk.to/60a117b2185beb22b30dae86/1f5qk953t';
s1.setAttribute('crossorigin', '*');
document.head.prepend(s1);
})();
window.Tawk_API = window.Tawk_API || {};
window.Tawk_API.onLoad = function() {
window.Tawk_API.addTags(['Mentor', 'User']);
};
}

We should convert it to the React component. Docs

We can get rid of the static tags for now, we will implement it in the right way later.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions