Integration script Goodays
Unanswered
Estonian Hound posted this in #help-forum
Estonian HoundOP
Hello,
I need to integrate the script of goodays but it needs to be render on every page I use it.
I try multiple method (passing a key to my component, using useEffect) but nothing is working.
Can someone help ?
Here is what it looks like on their documentation :
And here is the documentation : https://developers.goodays.co/docs/web-sdk
I need to integrate the script of goodays but it needs to be render on every page I use it.
I try multiple method (passing a key to my component, using useEffect) but nothing is working.
Can someone help ?
Here is what it looks like on their documentation :
<script type="text/javascript">
(function (i, s, o, g, r, a, m) {
i[r] = i[r], a = s.createElement(o), m = s.getElementsByTagName(o)[0];
a.async = 1;
a.src = g;
m.parentNode.insertBefore(a, m)
})(window, document, 'script', 'https://cdn.goodays.co/sdk/<API_KEY>.js', 'cz');
</script>And here is the documentation : https://developers.goodays.co/docs/web-sdk