Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ga4-mp

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ga4-mp

Send data to Google Analytics 4 using Measurement Protocol

  • 1.0.2
  • npm
  • Socket score

Version published
Weekly downloads
204
increased by16.57%
Maintainers
1
Weekly downloads
 
Created
Source

Google Analytics GA4 Measurement Protocol Library

Compatible with

  • Node.js version 8+
  • es2015

To use

Setup

ga4mp = require('ga4-mp') ga4mp.setClient(apiSecret, measurementId, clientId);

Send Hits to GA4 Account

ga4mp.sendHit()

Test Hits on GA4 MP debug endpoint

ga4mp.testSendHit()

Keywords

FAQs

Package last updated on 30 Oct 2020

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

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc