Skip to content

A client-side javascript tracking library for Splunk/Elasticsearch or other log analytics programs

Notifications You must be signed in to change notification settings

mattcarus/TrackJS

Repository files navigation

TrackJS

A client-side javascript tracking library for Splunk

Simple Usage

<script src="trackjs.min.js"></script>
<script>
	track.init("http://localhost:8000/pixel.php");
</script>

With appUserID

If you app has its own user IDs, then these can be logged to facilitate better user tracking:

<script src="trackjs.min.js"></script>
<script>
	var userId = 123456;
	track.init("http://localhost:8000/pixel.php", userId);
</script>

About

A client-side javascript tracking library for Splunk/Elasticsearch or other log analytics programs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published