I am attaching two screens from pagespeed.web.dev The 75 is with the script attached (i replaced the tag ID with XXXX in the code below):
<script async src="https://www.googletagmanager.com/gtag/js?id=G-XXXXJ&l=dataLayer&cx=c"
></script>
<script is:inline>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag('js', new Date());
gtag('config', 'G-XXXX');
</script>
When i remove this the page speeds up to 96.
It seems that LCP loading time is increased over 100%...
I am not sure what could be the issue, have googled it but google claims that their scripts won`t slow down page.
If anyone could help I would be very grateful.