🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

google-analytics-js

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

google-analytics-js

JavaScript mini library to track usage of injected script via Google Analytics.

0.1.2
latest
Source
npm
Version published
Weekly downloads
200
6.95%
Maintainers
1
Weekly downloads
 
Created
Source

google-analytics-js

JavaScript mini library to track usage of injected script via Google Analytics.

This project is a mini JavaScript library to track using of your bookmarklets or JavaScript includes when injected in to another web site.

The function can be called multiple times, so it could be a conditional call or it could be used to track Ajax requests within your page.

Usage

gaTrack('UA-123456', 'yoursite.com', '/js/script.js');

Automatically exported from https://code.google.com/p/google-analytics-js on 2015-07-26.

Originally by @remy.

Keywords

google

FAQs

Package last updated on 10 Apr 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts