You are here

gaProperty

Variable Type: 
Custom Javascript
Dynamic Google Analytics Variable for the individual UA property
	function() {
    var pageHostName = {{pageHostName}};
    var santianoCoreWebsiteIsInProduction = {{santianoCoreWebsiteIsInProduction}};
    var gaUaDev = {{gaUaDev}};
    var gaUaProd = {{gaUaProd}};
    if (santianoCoreWebsiteIsInProduction) {
      	// We are on the Production environment
    	return gaUaProd;
    } else {
      	// We are on Development environment
       return gaUaDev;
    };
}