JSON-LD GTM Tag for BlogPosting

Webmasters Asked by Tash on December 4, 2020

I’d like to do schema markup for my wordpress blog in Google Tag Manager. I’ve integrated the variables for Image url and Date Published into my JSON-LD GTM Tag, but I get an error in the Google Structured Data Testing Tool saying:

url – false (The value provided for image.url must be a valid URL.)

datePublished – false (Cannot understand the value false as a date/time. Learn more about date/time formats.)

Can you please help me to find out what do I do wrong?

Here is a part of my tag:
enter image description here

My variable for Image Blog
enter image description here

My variable for Date Published:
enter image description here

Error in the Google Testing Tool:
enter image description here

One Answer

It looks like your meta tags don't exist or are not properly populated in your blog post pages. Please check and confirm if they are there in the first place so that Google Tag Manager can then extract the values correctly.

Answered by Agata - Business Ahead UK on December 4, 2020

Add your own answers!

Ask a Question

Get help from others!

© 2024 All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP