I notice if Meta Tag HTML is empty, SCA is injecti...
# suitecommerce
d
I notice if Meta Tag HTML is empty, SCA is injecting bare <meta name="description" content=""> tags in pages. We have existing custom meta fields with plain text content from our Sitebuilder sites. Is there any way we can map the custom field into the default tag?
j
@Dominic B An easier way to do it would probably just to to export the custom field data into a CSV and reformat it to use the
Meta Tag HTML
field, formatting it with the addition of <meta name=“description” content=“{{your custom field text}}“>. Then, you just phase that old custom field out, unless you’re using it for something else, of course.
If you are using that custom field for something else, you could use a User Event script onBeforeSubmit to take the value of that field, format it as a meta tag and add it to the
Meta Tag HTML
field
d
Thanks @Jacob D, I have actually already done something similar with a mass update and a slightly cumbersome CONCAT formula so our brand team can continue using the existing fields and the system copies it over. It's just a bit annoying that you can't simply map a field into the meta description when it's one of the most important fields for SEO.