(Entry was posted by Kyle Dora on this post in the Dumb SEO Questions community on Facebook, 04/12/2018).
Dynamically add product schema to an ecommerce site`s products
I`m currently using GTM to dynamically add product schema to an ecommerce site`s products. Everything is working great, however, I have yet to figure out how to include the product image within the dynamically added schema. I know how to do this for each product individually but I want to add it dynamically, meaning when the page loads and GTM fires the schema it automatically grabs the on page elements to include in that specific products structured data. Like I said I`ve figured out how to do this for all of the other key elements on page besides the product image url. Seems like it would be easy, but it`s proving to be a helluva task. Any help would be much much appreciated! Let me know any details that I can include if what I want to accomplish doesn`t make sense.
View original question
in the Dumb SEO Questions
community on Facebook, 04/12/2018).