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

  • What exactly do you test in the SDTT, the JSON-LD after or before the variables are replaced with the data? – unor Jul 19 at 14:36
  • I'm testing whether Google gets my structured data correctly... I was basically following the steps from this article to set-up the markup moz.com/blog/… – Tash Jul 19 at 15:10
  • 1
    Refer to the Google: Don’t Rely on Google Tag Manager for Structured Data thesempost.com/… – nikant25 Jul 20 at 5:32

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.

Your Answer


By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.