'Don\'t track requests to the specified URL patterns'

def should_process_request(self, request):

    path = request.META['PATH_INFO']
    ignored_url_patterns = getattr(settings, 'TRACKING_IGNORE_URL_PATTERNS', [])
    for pattern in ignored_url_patterns:
        if re.match(pattern, path):
            return False
    return True
