I have a dynamic page that I am trying to get indexed on Google, but I've noticed that the data query that populates the UI elements takes too long. It looks like Google's crawlers see all of these pages as the same, because the data populates too slowly.
I want to return the data in the page's onReady handler so that it can finish before the page loads and the crawler reads it, but I have to wait for the dynamic dataset item to filter the query. I can't figure out how to do this, as this is done with the datasets onReady handler and I don't know how to wait for that to trigger and pass that as the return value for the page onReady.
Any help is much appreciated.