Skip to content

Commit 14b04e0

Browse files
authored
Merge pull request #5 from oinume/update-ssl-url
Update SSL URL
2 parents 49dbddd + cbfef02 commit 14b04e0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

client.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,9 @@ func (c *Client) Send(h hitType) error {
5151

5252
url := ""
5353
if cpy.UseTLS {
54-
url = "http://www.google-analytics.com/collect"
54+
url = "https://www.google-analytics.com/collect"
5555
} else {
56-
url = "https://ssl.google-analytics.com/collect"
56+
url = "http://ssl.google-analytics.com/collect"
5757
}
5858

5959
str := v.Encode()

0 commit comments

Comments
 (0)