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

Remove Google Analytics classic #194

Merged
merged 6 commits into from
May 26, 2015
Merged

Remove Google Analytics classic #194

merged 6 commits into from
May 26, 2015

Commits on May 14, 2015

  1. Remove all trace of Google Analytics classic

    Google Analytics classic data collection techniques are being
    deprecated by Google. We no longer need to support classic and any new
    tracking should use only Universal.
    fofr committed May 14, 2015
    Configuration menu
    Copy the full SHA
    4febae3 View commit details
    Browse the repository at this point in the history
  2. Create sendToTrackers helper

    Simplify tracker object by moving for loops into a single method which
    gets passed the function to call on each tracker and the arguments to
    give it.
    
    Add some protection against methods not existing on the trackers.
    fofr committed May 14, 2015
    Configuration menu
    Copy the full SHA
    4cbb22a View commit details
    Browse the repository at this point in the history
  3. Rename GOVUK.Tracker to GOVUK.Analytics

    GOVUK.Analytics was formerly a namespace used by slimmer. This has been
    removed and all apps using slimmer updated.
    
    Usage goes from
    `GOVUK.analytics = new GOVUK.Tracker(…)`
    to
    `GOVUK.analytics = new GOVUK.Analytics(…)`
    
    The analytics object becomes the container for trackers.
    fofr committed May 14, 2015
    Configuration menu
    Copy the full SHA
    5b29738 View commit details
    Browse the repository at this point in the history
  4. Update analytics documentation

    * Remove references to classic, classic’s custom variables and classic
    specific implementation.
    * Refer to the new Analytics object rather than Tracker
    * Update the init example.
    fofr committed May 14, 2015
    Configuration menu
    Copy the full SHA
    4ca3647 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    a0b5866 View commit details
    Browse the repository at this point in the history

Commits on May 21, 2015

  1. Simplify Analytics spec

    Remove duplication of `beforeEach`
    fofr committed May 21, 2015
    Configuration menu
    Copy the full SHA
    6ac330c View commit details
    Browse the repository at this point in the history