partytown
partytown copied to clipboard
Partytown integration with Astro makes over 10'000 proxytown requests on page load[🐞]
Describe the bug
I'm using Partytown with Microsoft clarity and when I whenever I add
<script type="text/partytown"> (function (c, l, a, r, i, t, y) { c[a] = c[a] || function () { (c[a].q = c[a].q || []).push(arguments); }; t = l.createElement(r); t.async = 1; t.src = "https://www.clarity.ms/tag/" + i; y = l.getElementsByTagName(r)[0]; y.parentNode.insertBefore(t, y); })(window, document, "clarity", "script", "lpr85odovr"); </script>
to the
it makes over 10'000 Proxytown requests :Reproduction
staging.layout.ch
Steps to reproduce
install partytown like that npx astro add partytown
add the clarity script to the head
<script type="text/partytown"> (function (c, l, a, r, i, t, y) { c[a] = c[a] || function () { (c[a].q = c[a].q || []).push(arguments); }; t = l.createElement(r); t.async = 1; t.src = "https://www.clarity.ms/tag/" + i; y = l.getElementsByTagName(r)[0]; y.parentNode.insertBefore(t, y); })(window, document, "clarity", "script", "lpr85odovr"); </script>
Browser Info
Chrome
Additional Information
No response
same here. (i use it inside Google tag manager, and same issue here)
idem :