Skip to content

Commit

Permalink
tools: update aggregate
Browse files Browse the repository at this point in the history
  • Loading branch information
gernest committed Mar 4, 2024
1 parent 0d992e3 commit 525a074
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
5 changes: 0 additions & 5 deletions tools/aggregate

This file was deleted.

6 changes: 6 additions & 0 deletions tools/aggregate.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@

export SITE_ID=vinceanalytics.com
export TOKEN=xxxx

curl "http://localhost:8080/api/v1/stats/aggregate?site_id=$SITE_ID&period=6mo&metrics=visitors,pageviews,bounce_rate,visit_duration" \
-H "Authorization: Bearer ${TOKEN}"

0 comments on commit 525a074

Please sign in to comment.