Nauseating Pumpkin Mush

    is-google-analytics-anonymized

    4.0.0 • Public • Published

    Is Google Analytics anonymized

    Check IP Anonymization of Google Analytics in a Web page.

    Build Status Coverage Status Apache License 2.0 NPM Version


    Command Line

    Install

    Install this globally and you'll have access to the is-google-analytics-anonymized command anywhere on your system.

    npm i is-google-analytics-anonymized -g

    Usage

    is-google-analytics-anonymized
    Usage: is-google-analytics-anonymized <url>
    
    Commands:
      url  URL to check
    
    Options:
      -h, --help     Show help                 [boolean]
      -v, --version  Show version number       [boolean]
      
    Examples:
      is-google-analytics-anonymized https://www.epfl.ch
      is-google-analytics-anonymized https://apple.com

    API

    Install

    npm i is-google-analytics-anonymized --save

    Usage

    var isGoogleAnalyticsAnonymized = require('is-google-analytics-anonymized');
    
    isGoogleAnalyticsAnonymized('https://www.epfl.ch', function(error, data) {
      if (error) {
        throw error;
      }
      console.log(data);
      // {
      //   trackers: [{
      //     id: 'UA-4833294-1',
      //     anonymized: true
      //   }],
      //   hasError: false,
      //   errorMsg: '',
      //   url: 'https://www.epfl.ch/'
      // }
    });

    Screenshot

    command line screenshot

    Contributing

    Contributions are always welcome.

    See Contributing.

    Developer

    License

    Apache License 2.0

    Original work (c) ECOLE POLYTECHNIQUE FEDERALE DE LAUSANNE, Switzerland, VPSI, 2017-2018.
    Modified work (c) William Belle, 2018-2021.

    See the LICENSE file for more details.

    Install

    npm i is-google-analytics-anonymized

    DownloadsWeekly Downloads

    6

    Version

    4.0.0

    License

    Apache-2.0

    Unpacked Size

    21.8 kB

    Total Files

    6

    Last publish

    Collaborators

    • williambelle