Skip to content

Commit

Permalink
Merge pull request #5 from oinume/update-ssl-url
Browse files Browse the repository at this point in the history
Update SSL URL
  • Loading branch information
jpillora authored Dec 13, 2016
2 parents 49dbddd + cbfef02 commit 14b04e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@ func (c *Client) Send(h hitType) error {

url := ""
if cpy.UseTLS {
url = "http://www.google-analytics.com/collect"
url = "https://www.google-analytics.com/collect"
} else {
url = "https://ssl.google-analytics.com/collect"
url = "http://ssl.google-analytics.com/collect"
}

str := v.Encode()
Expand Down

0 comments on commit 14b04e0

Please sign in to comment.