Thanks
But this won’t work.
I still needs to execute the db api call to populate the page name. So it’s the same issue as I face now .
$(document).ready(function() {
document.title = “get New Page Title from external db”;
});
Sharing, google analytics and google search console capture the data before the db call is executed. So all of my page titles looks empty.