import http.client
myDestination = (
    """https://www.google-analytics.com/collect?v=1&tid=UA- 3458xxxx-1&cid=555&t=event&ec=doors&ea=open&el=office"""
    )
conn = http.client.HTTPSConnection(myDestination)
urllib2 для открытия HTTPS