Skip to content

Latest commit

 

History

26 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tracas

Tracas helps you collect data about your webpage usage.

Features:

  • Collect data about user actions on a page.
  • Tag specific pages and DOM elements to get better data.
  • Set Cookies for multi-session data (see cookie domain restrictions 1)
  • Tracas can be configured if the provided defaults don't fit your needs.

Use it:

To start collecting data, you just need to add this script to your website:

<script async
  type="text/javascript"
  id="tracas-include-script"                  <!-- lets tracas know where to find its config -->
  app-name="example-app"                      <!-- app name is returned in reports -->
  server="https://example.com/reports"        <!-- The url to which reports should be sent -->
  src="tracas.js"                             <!-- the place where you host tracas script -->
></script>

That's it! Tracas should start sending data to your server when the page is visited.

Build it:

Using nix:

Inside nix shell:

  • build: spago build or pscid
  • bundle: spago bundle-app --to="example/tracas.js"

About

A simple script to track web user actions

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages