Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
gtag-opt-in
Advanced tools
Readme
Google Analytics Opt In
GTag Opt In is a browser library to opt-in in Google Analytics. Plus, it configures Analytics to anonymize IP. See why and when to use it by reading the wiki page.
npm install gtag-opt-in
yarn install gtag-opt-in
<script src="https://www.npmcdn.com/gtag-opt-in"></script>
It imports the library as the GTagOptIn
global variable.
import * as GTagOptIn from 'gtag-opt-in';
GTagOptIn.register('UA-XXXXXXXXX-Y');
GTagOptIn.optin();
GTagOptIn.optout();
<script>
GTagOptIn.register('UA-XXXXXXXXX-Y');
GTagOptIn.optin();
GTagOptIn.optout();
</script>
Further documentation can be found at the wiki page.
The library destiny is to be replaced with official support once Google Analytics releases the Consent mode feature which is currently under beta.
Software licensed under MIT license. See the LICENSE file.
FAQs
Google Analytics Opt In
The npm package gtag-opt-in receives a total of 443 weekly downloads. As such, gtag-opt-in popularity was classified as not popular.
We found that gtag-opt-in 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
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.