Socket
Socket
Sign inDemoInstall

google-analytics-js

Package Overview
Dependencies
0
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

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.


Version published
Weekly downloads
109
increased by70.31%
Maintainers
1
Install size
6.30 kB
Created
Weekly downloads
 

Readme

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

FAQs

Last updated on 10 Apr 2019

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc