Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Partytown integration with Astro makes over 10'000 proxytown requests on page load[馃悶] #576

Open
kkopp001 opened this issue Apr 2, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@kkopp001
Copy link

kkopp001 commented Apr 2, 2024

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 :
image

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

@kkopp001 kkopp001 added the bug Something isn't working label Apr 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant