guides
Change the behaviour of your integration.
Note that these options may be provided differently depending on your integration.
hoststringwindow.location.originThe production URL of your site. This allows the client to generate all URLs for you and is important to set correctly.
inLanguagestringenWill set the isLanguage to this value for any Schema which uses it. Should be a valid language code, i.e en-AU
currencystringundefinedpriceCurrency for Product Offer Schema. Should be a valid currency code, i.e AUDinterface UserConfig {
/**
* Whether to inject the scripts at the end of the body or in the head.
*/
tagPosition?: 'body' | 'head'
host: string
url?: string
path?: string
currency?: string
image?: string
inLanguage?: string
title?: string
description?: string
datePublished?: Date | string
dateModified?: Date | string
}