Collecting Events, Brainstorming

A short session today. I need to set up some goals on my websites so I can test the feature with real data.

I'll set up a dead simple landing page for barelytics. It's looking like this at the moment.

landing page

I quickly whipped up a subscribe form. Not expecting any signups, as there's nothing on here.

alt text

I'll add event captures for both email signup and follow progress clicks.

I'll also need a proxy config on the landing page nginx.

location /event {
    proxy_pass https://api.barelytics.io/event;
    proxy_ssl_server_name on;
    proxy_ssl_name api.barelytics.io;
    proxy_ssl_verify off;
}

We now have the first events coming in! Pretty cool.

alt text

There's a weird bug that prevents me from clicking after I delete a goal. Spent some time trying all sorts of things, turns out it's a known bug in the shadcn component that's been present since 2023 with a weird but easy fix.

I'll now create the same on some of my other websites.

This is how I'm doing it at the moment:

(window as any).barelytics.capture('clicked_follow_progress');

It's not very pretty. There must be a nicer way that doesn't require installing an npm package. I'll have to look into that.

Decided to call it a day, but got a sudden burst of inspiration and sketched up a few ideas for the landing page.

alt text

Got a bit carried away and imagined some more features. Definitely won't implement them for the mvp, but maybe something to consider further down the line.

alt text

Brainstormed a bit the old User Journeys idea. I definitely want to build this and it's something I 100% need, just haven't really figured out the details.

alt text

Really shouldn't be wasting time on this, but did it for fun anyways.

Next time, I'll think about the third major feature of the MVP: session replays.