Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
When running a speed test on pagespeed Insights. In DIAGNOSTICS tap it's say reduce the impact of third-party code .
This is the script : https://cdn.shopify.com/shopifycloud/boomerang/shopify-boomerang-1.0.0.min.js
I am little bit confused should I remove the this script or not because it's start from cdn.shopify is it really a third party code???? Can anyone please confrmed?
shopify-boomerang-1.0.0.min.js is only 20kb and its from Shopify, do not attempt to remove it.
Vstar app is 200kb+ and other resources and large files
Hello @Aasif007,
This is Gina from flareAI app helping Shopify merchants get $5Million+ in sales from Google Search, on autopilot.
The script you mentioned (https://cdn.shopify.com/shopifycloud/boomerang/shopify-boomerang-1.0.0.min.js) is part of Shopify's Boomerang library, which is a third-party script that helps with measuring website performance and user behavior.
Although it's not necessarily harmful, it can contribute to slower page load times if it's not optimized or used excessively. Therefore, it's recommended to review your website's use of third-party scripts and determine which ones are essential and which ones can be removed.
To optimize the Boomerang script, you can consider the following.
1. Defer or async loading
You can defer or async loading of the script to prevent it from blocking other resources from loading.
2. Minify and compress
You can minify and compress the script to reduce its size.
3. Limit its usage
Limit the usage of the script to pages where it's necessary.
By optimizing the use of the Boomerang script and other third-party scripts, you can help to reduce their impact on your website's speed and improve your website's performance.
Gina
Hello, I'm experiencing a problem with the Boomerang script that's creating an additional <body tag. I'm seeking assistance on either stopping the code from loading or modifying it. Could you please advise where I can locate this code in the Shopify system, or do you have any other suggestions to resolve this issue? Thank you.
2m ago Learn the essential skills to navigate the Shopify admin with confidence. T...
By Shopify Feb 12, 2025Learn how to expand your operations internationally with Shopify Academy’s learning path...
By Shopify Feb 4, 2025Hey Community, happy February! Looking back to January, we kicked off the year with 8....
By JasonH Feb 3, 2025