That’s an interesting post Boston, cheers.
It’s taken me some time to get to this due to an enormous workload that was prioritized hence I’m only replying now, excuses.

So you’re saying that your structured data plugin solves problem number one.
But not the second problem?

So, for the 2nd problem. Do you keep a “current pages thing” and send a datatype to it? That’s what I’m currently doing, and I have to do it via a “do a search for”, which ain’t pretty but I can’t see another solution currently.

Or do you keep the page without a “currents pages thing” and reference the URL path that was sent there as text (a city) and say do a search in the database upon page load, add it to a custom state and reference that. But that would not do anything for SEO I’d guess. You never came to a conclusion or a solution as far as I understand, or is it the case that your plugin solves problem number 2 as well?
Pitch it please.