{"library":"universal-analytics","type":"library","category":null,"description":"This `universal-analytics` package provides a Node.js module for interacting with Google's Universal Analytics (UA) tracking via the Measurement Protocol v1. It enables server-side tracking of user behavior without requiring client-side browser integration. The current stable version is 0.5.3. This library is specifically designed for Universal Analytics, which has been deprecated by Google in favor of Google Analytics 4 (GA4). Consequently, this package is primarily for maintaining existing legacy systems that still rely on Universal Analytics properties, as new UA properties stopped processing data in July 2023, and all UA processing will cease in July 2024. There is no active release cadence as the underlying service is sunsetting, differentiating it from clients for modern GA4 properties.","language":"javascript","status":"deprecated","version":"0.5.3","tags":["javascript","google","analytics","universal","tracking"],"last_verified":"Wed May 27","install":[{"cmd":"npm install universal-analytics","imports":["import ua from 'universal-analytics'","const ua = require('universal-analytics')","const visitor = ua('UA-XXXX-XX')"]},{"cmd":"yarn add universal-analytics","imports":[]},{"cmd":"pnpm add universal-analytics","imports":[]}],"homepage":"https://developers.google.com/analytics/devguides/collection/protocol/v1","github":"https://github.com/peaksandpies/universal-analytics","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/universal-analytics","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/universal-analytics/compatibility"}}