My client’s store has an issue with script being added to the asyncLoad function that we can’t account for.
There’s no mention of it in the theme and the ScriptTags endpoint (/admin/api/2021-04/script_tags.json) doesn’t list it.
The script in question is for Klaviyo integration, the problem is that it’s there twice (same script, different query string parameter passed) - one is the correct integration for the connected app / account and the other (that’s not listed on the API endpoint) is sometimes blocking the correct one if it’s loaded first.
I can see from comparing the returned source code and the endpoint that there’s 2 additional scripts returned but can’t figure out where they’re coming from.
Can anyone point me in the direction of other ways scripts can be added to the asyncLoad function.
Thanks in advance.