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

@telefonica/google-analytics

Package Overview
Dependencies
Maintainers
0
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@telefonica/google-analytics - npm Package Compare versions

Comparing version 1.0.3-beta3 to 1.0.3

4

package.json
{
"name": "@telefonica/google-analytics",
"type": "module",
"version": "1.0.3-beta3",
"version": "1.0.3",
"description": "",

@@ -20,3 +20,3 @@ "exports": {

"prepare": "yarn build",
"test": "echo jest",
"test": "jest",
"lint": "eslint .",

@@ -23,0 +23,0 @@ "prepack": "yarn ts-check && yarn lint && yarn test && yarn build",

@@ -8,5 +8,6 @@ # `@telefonica/google-analytics`

```ts
import {initAnalytics, logEvent, setScreenName} from '@telefonica/google-analytics';
import {initAnalytics, setUserProperty, logEvent, setScreenName} from '@telefonica/google-analytics';
initAnalytics('G-XXXXXXXXXX');
setUserProperty('my_user_property', 'my_user_property_value');
setScreenName('my_screen_name');

@@ -13,0 +14,0 @@ logEvent({name: 'my_event_name', foo: 'bar'});

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