$npx skillfedfor your agent

universal-analytics-python3

Universal analytics python library

SkipPyPI WWW/HTTPReleased Apr 2021176.2K downloads / mopermissive licensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — universal_analytics_python3-1.1.1-py3-none-any.whl
v1.1.1 · released 2021-04-28 · 1 runtime deps: httpx

No—not for new projects. The package is abandoned (last release 2021-04-28, no commits since), and maintenance risk is high. If you must integrate with legacy Universal Analytics properties, this library will work for basic tracking, but you assume all maintenance risk. For new work, use a maintained alternative.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires a valid Google Analytics property ID (UA-XXXXX-Y format) and a unique client ID for tracking.
  • Low install friction with a single runtime dependency (httpx).
  • However, the package is abandoned—last release was 2021-04-28, with no recent maintenance activity.

License · maintenance · safety

permissive license (permissive) — Distributed under the MIT license (permissive), which allows commercial and private use with minimal restrictions.

last release 2021-04-28 (1934 days) · last repo commit 2021-04-29 · 7 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 176,240 downloads/mo, #10,250 on PyPI

Verify before relying

pip install universal-analytics-python3

from universal_analytics import Tracker, HTTPRequest

with HTTPRequest() as http:
    tracker = Tracker("UA-XXXXX-Y", http, client_id="unique-id")
    tracker.send("event", "Subscription", "billing")
  • Whether Google Analytics still accepts the Universal Analytics Measurement Protocol or requires migration.
  • Compatibility of httpx dependency with current versions, given abandonment since 2021-04-28.
  • Whether batch request functionality works reliably with current Google Analytics endpoints.
  • Support status for Python versions beyond 3.9 (classifiers list 3.7, 3.8, 3.9).
Same gist for agents: .md · .json

What it is and what it does

This library provides a Python interface to Google Analytics using the Universal Analytics Measurement Protocol. It wraps HTTP calls to Google's analytics endpoint, allowing you to track events, pageviews, social interactions, timing data, and other analytics events from Python code—either synchronously or asynchronously, and optionally in batches. The interface is loosely modeled after analytics.js, so developers familiar with that API will recognize the patterns.

The package depends only on httpx for HTTP transport and supports both single-request and batch-request workflows. It covers the main tracking types (pageview, event, social, timing, transaction, item, screenview, exception) and accepts parameters in multiple formats—named arguments, property dictionaries, or analytics.js field names. However, the project has been abandoned since 2021-04-28 and is no longer maintained, which means any issues or incompatibilities will not be addressed.

Use it for

  • Track backend events (purchases, signups, errors) to Google Analytics from a Python application.
  • Send server-side pageview data to Google Analytics for server-rendered or hybrid web applications.
  • Batch multiple analytics events into a single HTTP request to reduce network overhead.
  • Implement asynchronous analytics tracking in async Python applications without blocking request handlers.
  • Run A/B tests by setting experiment and variation IDs before sending pageview or event hits.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Skip

No—not for new projects.

The package is abandoned (last release 2021-04-28, no commits since), and maintenance risk is high. If you must integrate with legacy Universal Analytics properties, this library will work for basic tracking, but you assume all maintenance risk. For new work, use a maintained alternative.

Install

universal-analytics-python3 on PyPI

Before you install

Low install friction with a single runtime dependency (httpx). However, the package is abandoned—last release was 2021-04-28, with no recent maintenance activity. Use only if you accept the risk of unpatched issues.

Requires a valid Google Analytics property ID (UA-XXXXX-Y format) and a unique client ID for tracking.

License in practice

Distributed under the MIT license (permissive), which allows commercial and private use with minimal restrictions.

Quickstart

pip install universal-analytics-python3

from universal_analytics import Tracker, HTTPRequest

with HTTPRequest() as http:
    tracker = Tracker("UA-XXXXX-Y", http, client_id="unique-id")
    tracker.send("event", "Subscription", "billing")

Verify before relying

  • Whether Google Analytics still accepts the Universal Analytics Measurement Protocol or requires migration.
  • Compatibility of httpx dependency with current versions, given abandonment since 2021-04-28.
  • Whether batch request functionality works reliably with current Google Analytics endpoints.
  • Support status for Python versions beyond 3.9 (classifiers list 3.7, 3.8, 3.9).

Package facts

Licensepermissive license permissive
Python supportNot specified
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
httpx
MaintenanceAbandoned 1,934 days since the last release
Last repo commit
First released
Downloads176,240 / month, #10,250 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9

Evidence: universal_analytics_python3-1.1.1-py3-none-any.whl

Tags

Capabilities
google analytics python clientuniversal analytics measurement protocolsend events to google analyticsanalytics tracking librarypython analytics integration
Topics
analyticsabandoned
PyPI keywords
pythonanalyticsgoogle-analytics

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “universal analytics measurement protocol”

Give your agent the search over MCP, or paste the wish link into any chat.

More WWW/HTTP packages

urllib3 Worth it
PyPI · Libraries · released May 2026

urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.

MITpure Python · 3.10+
1.8Bdownloads / mo
requests Worth it
PyPI · Libraries · released May 2026

Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.

Apache-2.0pure Python · 3.10+
1.8Bdownloads / mo
h11 With conditions
PyPI · WWW/HTTP · released Apr 2025

h11 is a pure-Python HTTP/1.1 protocol implementation that handles parsing and serializing HTTP messages without any built-in I/O, letting you integrate it with any network layer you choose.

MITpure Python · 3.8+aging
894.9Mdownloads / mo
httpx Worth it
PyPI · WWW/HTTP · released Dec 2024

HTTPX is a fully featured HTTP client library for Python that provides both sync and async APIs, with support for HTTP/1.1 and HTTP/2, plus an integrated command-line client.

Install it if you are building new projects or modernizing existing ones that rely on HTTP.

BSD-3-Clausepure Python · 3.8+
797.0Mdownloads / mo
httpcore With conditions
PyPI · WWW/HTTP · released Apr 2025

A minimal low-level HTTP client library that sends HTTP requests with thread-safe and task-safe connection pooling, supporting HTTP/1.1, HTTP/2, proxies, and both sync and async interfaces.

BSD-3-Clausepure Python · 3.8+aging
783.6Mdownloads / mo
aiohttp Worth it
PyPI · WWW/HTTP · released Jul 2026

aiohttp is an async HTTP client and server framework built on asyncio, supporting both WebSockets and middleware-based routing for building concurrent web applications.

Install it if you need async HTTP client or server capabilities in asyncio-based applications.

permissive licensecompiled wheel · 3.10+
643.6Mdownloads / mo

See also analytics-python · snowplow-tracker · google-analytics-data · openvino-telemetry · kanaries-track · django-analytical · analytics-mcp · amplitude-analytics · minimal-snowplow-tracker · aiotractive