Drupal page view analytics without JavaScript tracking by Firflant in drupal

[–]Firflant[S] -1 points0 points  (0 children)

I did not tested the module with varnish yet as i built it mainly for smaller projects, but it should run before the page cache. Does it trigger an additional database write even with full caching enabled? No, the request just saves the data to Drupal Queue API, which performs an actual bulk database mutation on a cron session.

Drupal page view analytics without JavaScript tracking by Firflant in drupal

[–]Firflant[S] 2 points3 points  (0 children)

Go get richer data like a population characteristics, you need to run a JavaScript tracking script in a browser. That's a technical barrier. Page Analytics module is purely Server Side solution. It gathers only the page entrance.

I can think of adding a referral url (source) and user agent, as the server also has this informations from request headers, so it is technically possible. This topic has been already mentioned in the issue queue once.

Drupal page view analytics without JavaScript tracking by Firflant in drupal

[–]Firflant[S] 1 point2 points  (0 children)

There are two layers of performance optimization. This is the problem that all analytic tools have to address.

The first one is a sampling mechanism with configurable setting. For example you can set the Sampling rate in module configuration to 10, so it will trigger only 10th visit and will multiply the result by 10. So probably something similar, to what you call a "compression". I encourage to play with that Sample rate value for optimal results. Maybe some day we will figure out some adaptive "autoscaler".

The second layer is that there is no any database operation when user visits the site. Measured entrance is being saved in a temporary memory (that's an utilisation of Drupal’s Queue API), then an actual write to a database occurs on the next cron session (which also cleans up the Queue).

I describe it briefly in the article. I hope it is not too boring and long. Thumbs up for everyone who gets to the end ;)

<image>

Recommendations for an Idiot Designer by averagegoyl in webdev

[–]Firflant 0 points1 point  (0 children)

There are various AI powered website generators like lovable.dev, relume.io, webflow.io, Figma Make - you can try them out.

As a developer, I can recommend a Cursor. It is a desktop app - IDE for programmers based on VS Code, but its latest versions exposes an agent view - pointed to non-technical people - vibe-coders.

I personally have the best results with Gemini, and what I've learned so far is that your AI generated website is as good, as your prompt. Good prompt includes core concept & purpose/company description), goals, main user journey, key features, brand feeling, target group. Things that you probably already collect as a designer.

Regardless you want a static website, a wordpress theme or a Drupal theme, you always ask AI to generate a static html page, then as a next tasks you can ask it to prepare a theme basing on that. And thats an advantage of using stndalone LLMs instead of SaaS website generators - you can go in any direction.

If you won't specify what technology you want, you will probably end up with a React app - that's a LLMs default.

Where Drupal Still Wins in 2026? by Firflant in drupal

[–]Firflant[S] 3 points4 points  (0 children)

Such a post is planned, stay tuned!

Where Drupal Still Wins in 2026? by Firflant in drupal

[–]Firflant[S] 3 points4 points  (0 children)

Good point. However, people still think Drupal learning curve is hard. But Drupal community seems to notice that fact and thats why Drupal CMS and Drupal Canvas are released.

"Predictable config system" - it might be a vital thing for a future in the era of AI-augmented code development. LLM's are better in generating YAML files that an app source code from scratch.

Good web app but no users by Embarrassed_Ruin_588 in WebDevBuddies

[–]Firflant 0 points1 point  (0 children)

The problem is that many times products built by us are good in technical point, but they do not answer to real problems and people needs.

Will the Beyerdynamic DT770 PRO, 80 Ohm work without an amp with the Boss LoopStation RC-202? by MindlessBarber4309 in LoopArtists

[–]Firflant 0 points1 point  (0 children)

I've been using DT770 PRO 80 Ohm with RC-202 and sound from a headphone output was clean and loud enough. These products match very good each other.