Skip to content

LucasSovre/react_umami

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

react-umami

this package is a class to easy integrate umami in your react projects.

quickStart

install the package :

npm i react-umami

create a react_umami class instance

const tracker = new react_umami(
		websiteId,
		hostname,
		umamiUrl
	);

then import it where you want to track view :

tracker.trackView("/");

or track event :

	tracker.trackEvent(eventType, eventValue, url);

Author :

Lucas Sovre portfolio

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published