@telefonica/google-analytics
Advanced tools
Comparing version 1.0.3-beta3 to 1.0.3
{ | ||
"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'}); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
11294
1
68