Data Science & Analytics

Using data to drive decisions and uncover insights

Onboarding and Habit Formation: The Science of Making Products Stick

A comprehensive deep dive into the psychology and mechanics of user onboarding and habit formation. From finding your product's Aha moment through cohort analysis to Nir Eyal's Hook model, James Clear's habit stacking, the Zeigarnik effect, endowed progress effect, and goal gradient effect. Includes Chamath Palihapitiya's Facebook growth team methodology, research data, Python code for measuring activation, and practical implementation strategies.

Conversion and UX Psychology: The Science of Why Users Click or Bounce

A comprehensive deep dive into the psychological laws that govern user behaviour and conversion. From Hick's law and Fitts's law to the peak-end rule, serial position effect, Miller's law, cognitive load theory, friction frameworks, and attribute framing. Includes research data, Python code for measuring UX impact, and practical implementation strategies backed by Baymard Institute research.

Behavioural Economics Frameworks: The Science of How Customers Actually Decide

A comprehensive deep dive into the behavioural economics frameworks that shape consumer decisions. From Kahneman's dual process theory to Thaler's choice architecture, cognitive biases, hyperbolic discounting, mental accounting, choice overload, and status quo bias. Includes when each framework applies, how to design for real human behaviour, and Python code for measuring effectiveness.

Referral and Viral Mechanics: Engineering Exponential Growth

A comprehensive deep dive into the mathematics and psychology of referral programmes and viral growth. From K-factor calculations to viral cycle time, two-sided incentives, network effects versus viral effects, referral psychology, Jonah Berger's STEPPS framework, and NPS as a growth predictor. Includes Python code for modelling viral growth and measuring programme effectiveness.

Social Proof and Trust: The Psychology of Why We Follow the Crowd

A comprehensive deep dive into the psychology of social proof and trust in marketing and product design. From the six types of social proof to review psychology, authority signals, trust stacking, reciprocity, and herd behaviour. Includes when each strategy works (and when it backfires), research from Spiegel and Baymard Institute, and Python code for measuring effectiveness.

Less Well Known but Battle Tested: The Hidden Psychology That Actually Converts

A comprehensive deep dive into 18 lesser-known but highly effective psychology principles for conversion and retention. From goal-gradient acceleration and temporal landmarks to identity-based marketing, implementation intentions, foot-in-the-door, labour illusion, operational transparency, defaults as nudges, status games, sunk cost retention, social comparison, reactance, and risk reversal. Includes research data, Python code for measuring impact, and practical implementation strategies backed by academic literature.

The Math Behind It All: Growth Marketing Mathematics Explained

A comprehensive deep dive into the mathematics that powers growth marketing and data-driven decision making. From LTV:CAC ratio and payback period to cohort analysis, survival analysis with Kaplan-Meier curves, Bayesian A/B testing, multi-armed bandits with Thompson sampling, marketing mix modelling vs attribution, power law distributions, price elasticity with Van Westendorp's price sensitivity meter, and the compounding math of retention. Includes LaTeX formulas, Python code, visual explanations, and practical implementation guidance for both beginners and advanced practitioners.

Scarcity, Urgency, and Loss Aversion: The Psychology of Now or Never

A comprehensive deep dive into the psychology of scarcity, urgency, and loss aversion in marketing and product design. From Cialdini's scarcity principle to the endowment effect and IKEA effect. Includes when each strategy works (and when it destroys trust), how to measure effectiveness with data science, and Python code for experimentation.

Pricing Psychology: The Science of Making Your Prices Irresistible

A comprehensive deep dive into the psychology of pricing. From anchoring to prospect theory, learn the cognitive biases that shape how customers perceive value. Includes when each strategy works (and when it backfires), how to measure effectiveness with data science, and Python code for A/B testing your pricing experiments.

AI for Reducing Cart Abandonment and Returns

The average cart abandonment rate is 70%. Ecommerce returns cost US retailers $890 billion in 2024, with fashion return rates hitting 24-30%. AI reduces cart abandonment by 18% and size-related returns by 27%. This post shows how to build predictive models that spot drop-off patterns and sizing issues before they cost you money - with Python scripts for abandonment risk scoring and return prediction, plus the Solidus/Rails implementation that wires them into your checkout and product pages.

Dynamic Pricing With AI: A Growth Hacker's Guide

The dynamic pricing software market is projected to grow from $6.16 billion in 2025 to $41.43 billion by 2033, and 55% of retailers plan to implement AI pricing in 2026. Amazon changes prices 2.5 million times a day. You don't need to be Amazon. This post breaks down how ML-driven dynamic pricing actually works - price elasticity estimation, demand signals, competitor monitoring, and margin guardrails - with practical Solidus/Rails code and Python scripts you can run today.

AI-Powered Demand Forecasting for eCommerce

IKEA's Demand Sensing tool halved their forecast error rate from 8% to 2% by using up to 200 data sources per product. That's what AI-powered demand forecasting looks like at scale. But you don't need IKEA's budget to get meaningful results. This post compares three forecasting approaches - Prophet, SARIMA, and XGBoost - with practical examples from Solidus ecommerce and custom SaaS, showing which model works best for which scenarios and how to implement them in a Rails-based product stack.

GDPR and AI: The "Right to Be Forgotten" Now Means "Unlearning"

When GDPR's Article 17 was written, 'erasure' meant deleting a row from a database. In 2026, it means something far more complicated. If a user's data was used to train an AI model, deleting the database record isn't enough. The data has been absorbed into model weights, influencing predictions for every subsequent user. The EDPB has made right to erasure its coordinated enforcement priority for 2025-2026, with 30 data protection authorities investigating how organisations handle deletion requests. And the Italian DPA already fined OpenAI 15 million euros for, among other things, failing to handle training data properly under GDPR. This post explains what machine unlearning is, why it's a nightmare for developers, and what practical architectural decisions you can make right now to avoid the problem in the first place.

How to Actually Integrate AI Into Your Existing Workflows (Without Breaking Everything)

Most AI projects fail. Not because the technology is bad, but because the data is messy, the systems are old, and nobody knows where to start. Gartner predicts that 60 percent of AI projects will be abandoned due to poor data quality. This is the where do I even start post. Data quality, legacy systems, realistic first steps, and real examples from Rails, Solidus, and SaaS projects I have actually built.

Building Custom AI Recommendations in Solidus

A technical but accessible walkthrough of adding ML-powered product recommendations to Solidus, the open-source Ruby on Rails ecommerce framework. Covers three recommendation approaches (collaborative filtering, content-based, and hybrid), complete with Python ML scripts, full Solidus/Rails integration code, event tracking, cold start handling, A/B testing, GDPR compliance, and the honest limitations and pitfalls you'll hit along the way. No black boxes - every piece is explained and every trade-off is named.

TDD and BDD in Ruby on Rails: How to Ship Without Fear, and How AI Is Changing the Game

A deep dive into Test Driven Development and Behaviour Driven Development in Ruby on Rails. What they are, how they differ, why they exist, and how they prevent the costly bugs that plagued the old way of building software. Includes a detailed comparison of RSpec, Minitest, and Cucumber, practical examples from building Auto-Prammer.at on Solidus and the Regios fintech SaaS powered by GrowCentric.ai, plus a best practice guide for using AI tools like Claude to supercharge your testing without losing control.

Why I Moved from Growth Hacking to Data Driven Ecommerce Growth

In this blog post, I explain why I moved away from growth hacking informational websites to focus on transactional websites, such as ecommerce stores and subscription based apps. I delve into the role of data science in overcoming growth challenges and automating marketing campaigns, ultimately leading to more efficient and measurable growth strategies.