Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Solved! Go to the solution
This is an accepted solution.
Hello! Try add this code to your theme.liquid
And avada apps is not very optimized.
<link rel="preconnect" href="//googletagmanager.com" crossorigin>
<link rel="preconnect" href="//www.google-analytics.com" crossorigin>
<ink rel="preconnect" href="//www.gstatic.com" crossorigin>
This is an accepted solution.
Hello! Try add this code to your theme.liquid
And avada apps is not very optimized.
<link rel="preconnect" href="//googletagmanager.com" crossorigin>
<link rel="preconnect" href="//www.google-analytics.com" crossorigin>
<ink rel="preconnect" href="//www.gstatic.com" crossorigin>
Wow!!!Thanks so much.
I will have a try!
Hey,
Where should I add the code please?
Anywhere between <head> and </head>
Thanks a lot
See on google but the best is preconnect first
Hi, where did you enter the code? Anywhere between <head> and </head>? Thanks
Similarly for us, gtag (Google Tag Manager) is the biggest third party offender in terms of blocking execution (taking about half a second) as reported by PageSpeed.
I downloaded the theme to be sure and there's no reference in code.
We have no Custom Pixels.
We only set it up through the "Google & Youtube" Sales Channel.
Will this fix still work - my developer is doubtful?
Denis
Hello Denis. I think you might be misinterpreting my comment. I am not offering any fix or workaround. I am simply confirming the issue with additional context and information.
Hey Community! As we jump into 2025, we want to give a big shout-out to all of you wh...
By JasonH Jan 7, 2025Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024