Skip to content

Commit

Permalink
databeat support (#76)
Browse files Browse the repository at this point in the history
  • Loading branch information
pkieltyka authored Apr 16, 2024
1 parent 942419a commit 0ff9095
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/footer.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
import { Databeat } from '@databeat/tracker'

export const analytics = new Databeat('https://databeat.sequence.app', { jwt: 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhcHAiOiJzZXEtZG9jcyIsImV4cCI6MTcxMjIxNDYzNn0.qWxTAvdiD1mWUZaEMFwp3_Xq-aFmMzzoIU8h4a8xG9c' })

export default function Footer() {
analytics.trackView()

return (
<div>
</div>
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"dependencies": {
"0xsequence": "^1.9.17",
"@0xsequence/indexer": "^1.9.17",
"@databeat/tracker": "^0.9.1",
"@types/react": "latest",
"add": "^2.0.6",
"clsx": "^2.1.0",
Expand Down
3 changes: 3 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 0ff9095

Please sign in to comment.