Defines the global variables required by Nanigans
(app tracking ID, user's hashed e-mail)
function setupNanigansGlobal() {
	const normalizedHashedEmail = getNormalizedHashedUserEmail( user );

	window.NaN_api = [
		[ TRACKING_IDS.nanigansAppId, normalizedHashedEmail ? normalizedHashedEmail : '' ],
	];

	isNanigansConfigured = true;
	debug( 'Nanigans setup: ', window.NaN_api );
}