Getting the current configuration

Retrieving the current configuration can be useful to validate your setup, especially if you have multiple configurations in an app.

To get the current configuration of the SDK, for example, a Site Key property, call:

MedalliaMXO.getConfiguration().then((currentConfiguration) => {
// inspect configuration. Modifying currentConfiguration in this context does nothing to the SDK.
	if (currentConfiguration.siteKey === 'mySiteKey') {
		// do something with the retrieved configuration
	}
})
.catch((error) => {
	// do something with the error
	console.error(error)
})