Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
analytics-gtag
Advanced tools
Contains the following specifications.
https://developers.google.com/analytics/devguides/collection/gtagjs/pages https://developers.google.com/analytics/devguides/collection/gtagjs/events https://developers.google.com/analytics/devguides/collection/gtagjs/screens https://developers.google.com/analytics/devguides/collection/gtagjs/user-timings https://developers.google.com/analytics/devguides/collection/gtagjs/exceptions https://developers.google.com/gtagjs/reference/api https://developers.google.com/gtagjs/reference/event https://developers.google.com/gtagjs/reference/parameter
gtag("config", "GA_MEASUREMENT_ID", {
page_title: "homepage",
page_path: "/home"
});
gtag("config", "GA_MEASUREMENT_ID_1");
gtag("config", "GA_MEASUREMENT_ID_2");
gtag("event", "xyz");
gtag("event", "aaa", {
event_category: "bbb",
event_label: "ccc"
});
gtag("event", "login", { method: "Google" });
gtag("event", "video_auto_play_start", {
event_label: "My promotional video",
event_category: "video_auto_play",
non_interaction: true
});
gtag("event", "screen_view", {
app_name: "myAppName",
screen_name: "Home"
});
gtag('config', 'GA_MEASUREMENT_ID', { 'app_name': 'myAppName' });
gtag('event', 'screen_view', { 'screen_name': 'Home'});
gtag('event', 'timing_complete', {
'name' : 'load',
'value' : 3549,
'event_category' : 'JS Dependencies'
});
gtag('event', 'exception', {
'description': 'error_description',
'fatal': false
});
FAQs
Google Analytics gtag definition
The npm package analytics-gtag receives a total of 10 weekly downloads. As such, analytics-gtag popularity was classified as not popular.
We found that analytics-gtag demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.