You are here

clickIsInternal

Used by the following Containers: 
Variable Type: 
Custom Javascript
Returns true if the click destination hostname is internal
	function() {
    var websiteIsInProduction = {{santianoCoreWebsiteIsInProduction}};
	if (websiteIsInProduction) {
      	var pageHostName = {{pageHostName}};
		var clickHostName = {{clickHostName}};
		if ( pageHostName == clickHostName ) {
        	return true
        } else {
          	return false  
        }
	} else {
  		return false
    }
}