Skip to content

Commit

Permalink
update ga_collection_uri endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
naari3 committed Jan 29, 2018
1 parent c21e1c0 commit 29748b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/staccato.rb
Expand Up @@ -36,7 +36,7 @@ def self.build_client_id

# The tracking endpoint we use to submit requests to GA
def self.ga_collection_uri(ssl = false)
url = (ssl ? 'https://ssl' : 'http://www') + '.google-analytics.com/collect'
url = (ssl ? 'https://' : 'http://') + 'www.google-analytics.com/collect'
URI(url)
end

Expand Down

1 comment on commit 29748b0

@thbar
Copy link
Contributor

@thbar thbar commented on 29748b0 Oct 9, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the update! Indeed this has changed, it used to be "ssl" a while back (http://web.archive.org/web/20150315023836/https://developers.google.com/analytics/devguides/collection/protocol/v1/reference).

Please sign in to comment.