
Product
Introducing GitHub Actions Scanning Support
Detect malware, unsafe data flows, and license issues in GitHub Actions with Socket’s new workflow scanning support.
@umbrellio/ga-tracker
Advanced tools
Google Analytics tracker for web env (no window
object required).
$ yarn add @umbrellio/ga-tracker
import GATracker from "@umbrellio/ga-tracker"
const emitter = GATracker.Emitter.create(<tracking-id>, <uuid>)
emitter.pageView("/contacts")
Where tracking-id
is your app id (like UA-XXXXXXXXX-X
), and uuid
is your customer unique identifier.
Available methods:
setVisitor({ identifier, uuid })
– set visitor's identifiers
commit()
– send batch of tracked events
pageView(path)
– track page viewing
path
- request path (eg. "/contacts")
time(category, name, duration)
– track custom time
category
– measurement category
name
– measurement name
duration
– measurement duration
Bug reports and pull requests are welcome on GitHub at https://github.com/umbrellio/ga-tracker.
Released under MIT License.
Created by Aleksei Bespalov,
FAQs
Google Analytics tracker
We found that @umbrellio/ga-tracker demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers 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.
Product
Detect malware, unsafe data flows, and license issues in GitHub Actions with Socket’s new workflow scanning support.
Product
Add real-time Socket webhook events to your workflows to automatically receive pull request scan results and security alerts in real time.
Research
The Socket Threat Research Team uncovered malicious NuGet packages typosquatting the popular Nethereum project to steal wallet keys.