smhmic - Overview

Pinned Loading

  1. 4

    Copy all this code and paste it in the console to see all the data layer's available data

    5

      in different formats, and learn about the data layer queue vs data layer state.
  2. 1

    /** Created by stephen on 3/12/15. */

    5

     * Convenience function for hardocding multiline strings, without needing use explicit "\n" and concatenate lines.
  3. 1

    # Create an OAuth consumer with write access.

    2

    # For a callback URL, you can use: `https://www.google.com/`

    3

    # https://bitbucket.org/account/user/USERNAME/oauth-consumers/new

    5

    # Optional: Hardcode username, client key, and client secret into script.
  4. Listens for data passed to GA's analytics.js' `ga()` object, with the option to block or modify data collection.

    JavaScript 41 14