Many apps load their scripts on every page of your store, even on pages where they do nothing. With Manage third-party scripts you can turn those app scripts off on the page types where you don't need them, so those pages load faster.
How it works
Shopify loads app scripts through your theme's header (the content_for_header tag in theme.liquid). When you activate the feature, TinySEO adds a small snippet called tiny-script-control.liquid to your live theme. On each page, the snippet removes the scripts you switched off for that page type. Everything else loads as before.
TinySEO finds the scripts by scanning your storefront. If your store is password protected, the scan can't run, so remove the password first.
How to activate it
In TinySEO, open Improve speed and click Manage scripts under "Manage third-party scripts".
If you see "Script control is inactive", click Activate.
Wait for the list of apps and scripts to load.
Your choices only take effect while script control is active.
How to turn a script off
Each row in the table is one script. Known apps show their name and logo, other scripts show the domain they load from. The columns are page types: Home, Products, Collections, Blogs (blog and blog post pages), Pages and Cart.
Switch a toggle off to stop that script from loading on that page type.
Switch it back on to load the script there again.
Each change is saved and added to your theme right away. All other pages, like search or customer account pages, always load every script.
After you install a new app, click Check for new scripts at the top of the page to add its scripts to the list.
Plan requirements
On every plan you can turn scripts off on the Home page. Turning scripts off on product, collection, blog, page and cart pages needs the Advanced or Expert plan (monthly or yearly). On other plans these toggles show a lock icon.
After a theme change
Script control is added to the theme that is live when you activate it, so it stops working after you publish a new theme. To add it to the new theme, open "Manage third-party scripts" and switch any toggle off and back on. Read more in I changed my theme. What do I need to do in TinySEO?
If something stops working
If an app stops working on a page, a script it needs is probably switched off there. Switch that script back on for that page type and check the page again. If you're not sure which script belongs to which app, message us in the in-app chat and we'll help.
Removing script control
You can't turn script control off in the app. To stop filtering scripts, switch all toggles back on, so every script loads on every page. To remove the TinySEO code from your theme completely, follow How do I remove TinySEO code from my theme? or message us in the in-app chat.
