function isRelatedEntity (parentCompany, currLocation) {
    var parentEntity = entityList[parentCompany]
    var host = utils.extractHostFromURL(currLocation)

    if (parentEntity && parentEntity.properties) {
    // join parent entities to use as regex and store in parentEntity so we don't have to do this again
        if (!parentEntity.regexProperties) {
            parentEntity.regexProperties = parentEntity.properties.join('|')
        }

        if (host.match(parentEntity.regexProperties)) {
            return true
        }
    }

    return false
}
/* Check to see if this tracker is related to the current page through their parent companies
 * Only block request to 3rd parties
 */
Check to see if this tracker is related to the current page through their parent companies
Only block request to 3rd parties
Check to see if this tracker is related to the current page through their parent companies Only block request to 3rd parties
function isRelatedEntity (parentCompany, currLocation) {
    var parentEntity = entityList[parentCompany]
    var host = utils.extractHostFromURL(currLocation)
    if (parentEntity && parentEntity.properties) {
        if (!parentEntity.regexProperties) {
            parentEntity.regexProperties = parentEntity.properties.join('|')
        }
        if (host.match(parentEntity.regexProperties)) {
            return true
        }
    }
    return false
}
function isRelatedEntity ( parentCompany , currLocation ) { var parentEntity = entityList [ parentCompany ] var host = utils . extractHostFromURL ( currLocation ) if ( parentEntity && parentEntity . properties ) { if ( ! parentEntity . regexProperties ) { parentEntity . regexProperties = parentEntity . properties . join ( '|' ) } if ( host . match ( parentEntity . regexProperties ) ) { return true } } return false }
Check to see if this tracker is related to the current page through their parent companies
 Only block request to 3rd parties
Check to see if this tracker is related to the current page through their parent companies Only block request to 3rd parties
// join parent entities to use as regex and store in parentEntity so we don't have to do this again