partytown icon indicating copy to clipboard operation
partytown copied to clipboard

Partytown integration with Astro makes over 10'000 proxytown requests on page load[🐞]

Open kkopp001 opened this issue 10 months ago • 2 comments

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 avatar Apr 02 '24 11:04 kkopp001

same here. (i use it inside Google tag manager, and same issue here) Screenshot 2024-05-29 at 21 21 16

macit-emre avatar May 29 '24 18:05 macit-emre

idem :

image

waflessnet avatar Jun 17 '24 23:06 waflessnet