You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Heya! I am using partytown integration in Astro js framework for Google Analytics script. The script works fine, but partytown also adds iframe with the url: /~partytown/partytown-sandbox-sw.html. The link return 200 response, but /~partytown/ folder returns 404 error.
Does anyone know the solution to fix the issue?
If not, does it make sense and is it safe to noindex /~partytown/ in the robots.txt?
The snippet of code on build:
<!-- Google tag (gtag.js) -->
<script type="text/partytown" src="https://www.googletagmanager.com/gtag/js?id=G-AS2L9ASDASD" data-pterror="TypeError: Failed to fetch
at blob:https://placeholder.com/ac3b09bf-7116-49dc-a75b-1f0a338bdd5b:2:21436
at rt (blob:https://placeholder.com/ac3b09bf-7116-49dc-a75b-1f0a338bdd5b:2:21839)">
</script>
<script type="text/partytown-x">
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-AS2L9ASDASD');
</script>
<iframe aria-hidden="true" src="/~partytown/partytown-sandbox-sw.html?1713268447326" style="display: block; width: 0px; height: 0px; border: 0px; visibility: hidden;"></iframe>
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Heya! I am using partytown integration in Astro js framework for Google Analytics script. The script works fine, but partytown also adds iframe with the url:
/~partytown/partytown-sandbox-sw.html
. The link return 200 response, but/~partytown/
folder returns 404 error.Does anyone know the solution to fix the issue?
If not, does it make sense and is it safe to noindex
/~partytown/
in the robots.txt?The snippet of code on build:
Beta Was this translation helpful? Give feedback.
All reactions