Hello, looking for advice on how to apply JSON LD data to individual dynamic pages.
Hello,
You need to use getCurrentItem inside the dynamic page’s onReady functiion to retrieve dynamic page data and pass the data to setStructuredData dynamically.
Best regards!
@samuele How would you add multiple markups to a dynamic page?
Can you give this an example code please? The structured data I have within my database is not recognised by google rich results tester using getCurrentItem and setStructuredData.
Thankyou