I'm trying to access the value set for my optimized title within Sprout SEO. I've had a read through this page: https://sprout.barrelstrengthdesign.com/craft-plugins/seo/docs/advanced-customization/custom-metadata-variable - but have had no luck.
Why I want to do this is because I'm loading my pages via AJAX and need to set the title once the content is loaded. I've tried various iterations of {{ entry.metadata.metadata.optimizedTitle }}
but to no avail.
Alternately, do you know how to set the metadata to update upon each AJAX page load?