Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Google Analytics fieldsObject on create #298

Merged
merged 6 commits into from
Aug 9, 2016
Merged

Add support for Google Analytics fieldsObject on create #298

merged 6 commits into from
Aug 9, 2016

Commits on Jul 27, 2016

  1. Add support for Google Analytics fieldsObject on create

    Like cookieDomain, other fields are “Create Only”:
    
    sampleRate
    siteSpeedSampleRate
    allowLinker
    
    https://developers.google.com/analytics/devguides/collection/analyticsjs/field-reference
    colinrotherham committed Jul 27, 2016
    Configuration menu
    Copy the full SHA
    fce5c93 View commit details
    Browse the repository at this point in the history
  2. Always serve Google Analytics over SSL

    Calls to the non-SSL Google Analytics domain incur a “307 Internal Redirect” + 2nd HTTP request penalty.
    
    This affects also all pageviews and event tracking requests too.
    
    i.e. Google have deprecated non-SSL calls and issue a redirect for backwards compatibility.
    colinrotherham committed Jul 27, 2016
    Configuration menu
    Copy the full SHA
    d0001d7 View commit details
    Browse the repository at this point in the history

Commits on Jul 29, 2016

  1. Configuration menu
    Copy the full SHA
    61f4d37 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    67dbf24 View commit details
    Browse the repository at this point in the history
  3. Bring argument parity to Analytics and GoogleAnalyticsUniversalTracker

    We’re now aligned with Google Analytics syntax too `ga('create', trackingId, fieldsObject);`.
    
    Backward compatibility has been confirmed and new tests added.
    colinrotherham committed Jul 29, 2016
    Configuration menu
    Copy the full SHA
    382b3d4 View commit details
    Browse the repository at this point in the history

Commits on Aug 8, 2016

  1. Configuration menu
    Copy the full SHA
    3f183c4 View commit details
    Browse the repository at this point in the history