JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 50
  • Score
    100M100P100Q69285F
  • License MIT

Generate a Google Analytics tracking snippet with any 'isogrammic' parameters you like.

Package Exports

  • isogram

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (isogram) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

isogram

NPM version Dependency Status devDependency Status

Generate a Google Analytics tracking snippet with any isogrammic parameters you like

Installation

CLI executable

npm install -g isogram

Programmatic use on Node

Coming soon.

Usage

isogram [characters] [options]

The available options are:

-h, --help                   output usage information
-V, --version                output the version number
-i, --id <tracking ID>       change tracking-ID
-d, --domain-name <domain>   change domain
-m, --minify                 minify source

Example

CLI

command

isogram company --id 12345678-9 --domain-name your-company.com

output

!function(c,o,m,p,a,n,y){c.GoogleAnalyticsObject=a,c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)},c[a].l=+new Date,n=o.createElement(m),y=o.getElementsByTagName(m)[0],n.src=p,y.parentNode.insertBefore(n,y)}(this,document,"script","//www.google-analytics.com/analytics.js","ga");

ga('create', 'UA-12345678-9', 'your-company.com');
ga('send', 'pageview');

License

Copyright (c) 2013 Shinnosuke Watanabe All rights reserved.

Unless otherwise stated, all source code in this repository is licensed under the MIT license.

endorse