Coding week for 29th April to 05th May was a bit of a downer. I had big plans but couldn’t manage to do all that I wanted to do in the week. A bit of a recurring theme for the last couple of weeks as other aspects of my life (day job/personal life) have been bleeding into my solopreneur life.
Nevertheless, I did some additional work around the web analytics which I shipped the week before and also tackled a problematic issue with deployment for Stomod. Let’s dive into those.
Improved Web Analytics
If you remember from my Attention metric on the Stomod dashboard
The attention metric shows the average time spent on a specific blog post or on a specific blog as a whole as well as the accumulative time spent on the blog.
It also shows a breakdown of the average time spent on each blog post as well.
As I wrote down this paragraph, I realized I could also include estimated reading time vs average reading time on that metric block - the pros of blogging down my thought! 😅
Campaign Metrics
If you run ads or any other type of promotional campaigns, you may have come across UTM tags.
UTM tags, short for Urchin Tracking Module tags, are simple code snippets added to the end of a URL to help marketers track the performance of online campaigns across traffic sources and publishing media. They work by capturing specific data about the link a visitor clicked to arrive at a site.
Here are the common UTM parameters:
utm_source : Identifies the source of the traffic, such as a search engine, newsletter, or other referral.
utm_medium : Describes the medium used to share the link, such as email, social media, or cost-per-click.
utm_campaign : Specifies the individual campaign name, slogan, promo code, etc., that the link is part of.
Stomod Web Analytics now captures metrics around UTM campaigns and displays those stats from within your dashboard so that you can have an idea of how your different campaigns are performing. This is how it looks like:
Tightly integrated analytics under the blog posts listing in Stomod
While at it, I also took the opportunity to migrate the table which displays the posts to use server-side pagination which I previously figured out how to implement using Detailed analytics for a specific blog post
Remembering Analytics Interval
A piece of UX improvement in the analytics which I also shipped was for it to remember across sessions which timespan you were previously looking at. By default the analytics view shows the stats for the last 7 days.
With the update, I made use of LocalStorage to locally store the interval each time the user changes it and then display that same interval on subsequent visits.
This is something super helpful as I found myself constantly switching between intervals on each visit.
which did the following
- Build Next.js app
- Reload PM2
When Stomod was small in size and still not in a TurboRepo monorepo, this setup worked fine for me as I felt no need to automate or complicate things. This setup meant
That’s it from me - another week of marketing now awaits and I intend to make it count 💪
SOCIAL SHARE CARD GENERATOR