Skip to content

dom96/analytics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Analytics

A Nim library for reporting events on Google Analytics.

Usage

In your .nimble file:

requires "analytics"

In your Nim source code:

import analytics

let tid = "<YourAnalyticsTrackingId>"
let cid = genClientID() # Only generate this once per user!
let analytics = newAnalytics(tid, cid, "AnalyticsTester", "v0.1")
analytics.reportEvent("AnalyticsTest", "Hello", "", "")

About

A Google Analytics reporting library for Nim

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages