Properties
All Inveterate properties can be found in the properties namespace within the inveterate object.
To view the properties object paste the following into the browser console:
window.inveterate.propertiesThe above code will display the following object structure:
{
benefits: Object,
campaigns: Array[Object],
constants: Object,
customer: Object,
pageType: String,
product: Object,
redirectUrl: String,
referralApiUrl: String,
referralData: Object,
referralStorageName: String
}benefits: An object of benefits you have enabled/disabled and all of the settings associated with them.campaigns- An object of campaigns you have created in association with the Early Access benefit.constants- Object is empty at the moment.customer- An object containing information about the current signed in customer and their membership status.pageType: The type of page you're currently on.product: An object containing details about the membership subscription product.redirectUrl: The default URL location of the landing page.referralApiUrl: URL for making get request to track referrals.referralData: An object containing the details of a referral in progress.referralStorageName: The name where referral data is stored within localStorage.
Last updated
Was this helpful?
