Schema Markup / GTM / GSC error

You’ll need to use the approach I suggested above, or else pre-create your JSON and store it in the CMS.

You can do that in an embed inside of a rich text field.