Is there a way to prioritize when third party apps load relative to one another?

Question

How is the order of third party apps loading on a page determined? Is it just by the order they are downloaded? Could one delete and redownload third party apps to control when their scripts load relative to one another? Is there a way to prioritize a specific app to load ahead of the others?

Use Case

I use the app Optimonk for A/B testing on my landing page and want to prioritize it to load ahead of all of my other third party apps. Currently, you can see the page elements load and then the changes to those elements as the Optimonk script runs. I don’t think there is a way to run a third party app before the page elements load but I would at least like to prioritize this third party app to load ahead of other third party apps if possible?

1 Like

Hi, @TheBowtiqueClub . Rio here from the Shopify Community team.

The order in which third-party apps load on a page is not solely determined by the order in which they are downloaded. It depends on various factors, including the app’s code and how it interacts with the page elements. Deleting and redownloading third-party apps may not necessarily control the order in which their scripts load relative to one another.

To prioritize Optimonk to load ahead of other third-party apps, you can try a few strategies:

  1. Contact Optimonk’s support: Reach out to Optimonk’s support team and inquire if they have any recommendations or settings to prioritize their app’s loading. They may have specific instructions or optimizations to help with this.

  2. Minimize app conflicts: Check if there are any third party apps you can remove. Sometimes, conflicts can cause delays in loading. If you identify any conflicts, you may need to reach out to the respective app developers for assistance in resolving them.

Optimonk may be able tp help you with a script to prioritize the app loading.