guides
Change the behaviour of your integration.
Note that these options may be provided differently depending on your integration.
host
string
window.location.origin
The production URL of your site. This allows the client to generate all URLs for you and is important to set correctly.
inLanguage
string
en
Will set the isLanguage
to this value for any Schema which uses it. Should be a valid language code, i.e en-AU
currency
string
undefined
priceCurrency
for Product Offer Schema. Should be a valid currency code, i.e AUD
interface 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
}