This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-09-29
Channels
- # aws (8)
- # babashka (45)
- # beginners (83)
- # cider (23)
- # clj-on-windows (4)
- # cljdoc (23)
- # clojars (6)
- # clojure (68)
- # clojure-dev (33)
- # clojure-europe (75)
- # clojure-nl (1)
- # clojure-uk (4)
- # clojurescript (14)
- # conjure (6)
- # data-science (15)
- # datascript (7)
- # datomic (47)
- # docker (15)
- # events (1)
- # fulcro (4)
- # graphql (3)
- # jobs (4)
- # lsp (14)
- # nginx (2)
- # nrepl (2)
- # off-topic (41)
- # pathom (18)
- # pedestal (1)
- # polylith (72)
- # reitit (8)
- # reveal (1)
- # shadow-cljs (48)
- # tools-build (11)
- # tools-deps (24)
- # xtdb (8)
How do I add events tracking? Like if I want to see how many pageviews, user actions, how long each session is, that sort of thing?
I'm thinking about using Segment because they have documentation for how to add it with clojure :thinking_face: Has anyone done this or have suggestions? https://segment.com/docs/connections/sources/catalog/libraries/server/clojure/
I'm assuming you want to use some third-party solution as opposed to building everything from scratch. If so, for any similar solution that has JS API, you can just use JS interop to use it from CLJS.
Ok cool good to know!
I also use reagent, so would I have to do anything special with react for those things? Or just use JS interop?
I'm curious how it would go building from scratch, do you know if there's any resources on how to do that? I've tried googling but I must not be using the right terms because I didn't find anything. Although it sounds like I can look up adding it from scratch with JS and it'll be analogous? I'm a newbie 😅
Some analytics solutions might offer React-specific things. But nothing that would make you do something special just because you use Reagent. > I'm curious how it would go building from scratch Building what from scratch? Not sure what you mean. Every decent analytics solution should have documentation with at least some examples. And there are a lot of materials on JS interop.
Ok thanks. I mean building from scratch my own solution & some kind of dashboard to see the pageviews and all that. But I think since I'm such a beginner I will use the solutions that are available already
Ah, oh. Indeed - given that you're a newbie, don't even think in that direction just yet. It's a ton of work to make something like that work.
does anybody know the final outcome of the following discussion / endeavor ? https://ask.clojure.org/index.php/6540/runtime-namespace-order-independent-ordering-macro-require