Specifying the order of queries run On Page Load

I need to chain queries that run on page load. Is this possible?

Hi! Can you please share more details on your use case and why you would need to chain your queries?

You can create a JS function and set it to run on page load and chain your queries there.
Here is some also our documentation on JavaScript Promises that might be helpful.