Numbers
that agree.

And sites you can step inside.

I build the server-side tracking and consent that make ad platforms, GA4 and the order system report the same revenue, and I design and code frontends from scratch.

Portrait of Matthew Klette
Fig. 01 · South Africa SAST, UTC+2

Analytics engineering & AI automation

Tracking, consent and AI automation, end to end.

What I set up, and what you get from it. The measurement work makes your numbers agree; the automation work takes the repetitive jobs around them off your team, with a person approving anything that leaves.

Tracking & consent5 services

  1. /01

    Client & server-side GTM

    Your tags run through a server container you control, so browser restrictions cost you less data and every change ships as a tested, versioned release.

  2. /02

    Consent Mode v2 & OneTrust

    Every tag follows the visitor's consent choice, and Google still gets the consent signals it needs for modeled conversions.

  3. /03

    Meta CAPI & Google Ads server-side

    Purchases reach Meta and Google Ads from your server as well as the browser, counted once, so bidding learns from real orders.

  4. /04

    GA4 event specs

    A written spec for every event and parameter, so developers build exactly what your analysts expect to query.

  5. /05

    BigQuery & Looker Studio reporting

    Server-side events land in BigQuery with Looker Studio reports on top, so you can check GA4 and ad platform numbers against your own data.

AI automation4 services

  1. /06

    n8n & Claude workflows

    Repetitive work runs on its own and stops at a review card before anything goes live. I built 4 production n8n automations for a US apparel brand, including a product-page content pipeline where Claude drafts and a person approves.

  2. /07

    AI agents with a gate

    Agents that research, draft, check and queue work, then hold for a person, a policy check or a confidence threshold. Nothing sends, publishes or deletes on its own.

  3. /08

    Claude Code skills & MCP integrations

    Claude connected to the tools your team already uses through MCP, with skills and hooks so repeat jobs like release checks, specs and QA run the same way every time.

  4. /09

    Monitoring, evals & cost control

    Watchdogs that check your workflows still run as expected, eval sets that prove an automation works before it ships, and model cascades so the cheapest model that is sure does the job.

See 13 automations running, each with its gate. Run one, then break it.

Case studies from recent engagements

Server-side tracking

Server-side tracking and consent for a US apparel brand

/01
  1. dataLayer
  2. Web container
  3. Consent check (checked before it moves on)
  4. Server container
  5. GA4 · Meta CAPI · Google Ads
181
production GTM versions since January 2025, 111 web and 70 server-side
~⅓
of web tags gated on Consent Mode v2 consent checks
~2×
server-side event streams into the warehouse
Problem
Client-side and server-side event counts drift apart, and conversions in GA4, Meta and Google Ads don't reconcile with each other or with the order system. Every server-side ad tag needs deduplication against its browser counterpart and the same consent gating, or purchases get counted twice and consent choices aren't applied everywhere.
Approach
Build and publish changes across the web and server-side GTM containers. Trace each event from the dataLayer through the server container to Meta CAPI and Google Ads, deduplicate browser and server conversions, and gate tags on Consent Mode v2.
Outcome
  • Created 181 production GTM versions (111 web, 70 server-side) since January 2025.
  • Own security, data quality, consent and maintainability reviews for the server-side GTM container.
  • Added Consent Mode v2 consent checks to about a third of web tags.
  • Nearly doubled the server-side event streams feeding the data warehouse.
Privacy & consent

Consent that holds across every tag

/02
  1. Visitor choice
  2. Consent banner
  3. Consent Mode v2 (checked before it moves on)
  4. Server-side ad tags
Problem
A consent banner, Consent Mode v2 and server-side ad tags each carry their own idea of what a visitor agreed to. They have to agree across regions, browsers and every new tag that ships.
Approach
Manage OneTrust geolocation rules and regulatory templates, add vendor consent records for major ad platforms, and gate server-side advertising tags on consent state as new tracking ships.
Outcome
  • Consent checks are part of how new tags ship, with consent QA across browsers and environments before release.
Automation

n8n and Claude automation with a human in the loop

/03
  1. New product
  2. n8n
  3. Claude drafts
  4. Review card (checked before it moves on)
  5. Published
4
production n8n automations, each with a human review step
Problem
Product-page content and data sync between internal tools took repetitive manual work. Any automation had to keep a person in the loop and stop overlapping runs from colliding.
Approach
Built 4 production n8n automations, including a product-page content pipeline where Claude drafts and a person reviews before anything is published, with run-lock logic around shared state. Also contributed to an internal privacy scanner: headless scanning, report delivery and AI-generated reports.
Outcome
  • The content pipeline runs on its own up to the human review step, and overlapping runs are locked out.

Other workA legislator lookup and postcard tool for a US wildlife conservation campaign (Wix Studio, Velo, Geocodio API).

Frontend builds

Every build is a real site. Open any of them.

Concept sites, scroll stories and motion pieces I designed and built. Press Run preview to load the live site inside its card.Tap a card to open the live site. Swipe for the rest.

7 finished, 6 live, 8 upcoming

Hydrurga, the opening screen

Specimen catalog/06 · Oct 2026

Hydrurga

A catalog of one animal that you read by diving, from the pack ice down to 1,256 metres.

  • Vite
  • React
  • WebGL2
  • d3-geo
Open site
Notes & Hours, the opening screen

Encyclopedia/05 · Oct 2026

Notes & Hours

58 real fragrances with official bottles, filtered by season and hour, with originals set against their dupes.

  • Next.js
  • GSAP
  • Lenis
  • WebGL
Open site
Nishiki, the opening screen

Field guide/03 · Oct 2026

Nishiki

Eight koi varieties drawn live in code, with a judging vocabulary, an ID game and a pond you can feed.

  • Vite
  • React
  • TypeScript
  • Canvas 2D
Open site Source
Aubade, the opening screen

Concept site/02 · Oct 2026

Aubade

A lamp that matches the daylight outside your window, minute by minute. The product is fictional; the frontend is real.

  • Next.js
  • three.js
  • GSAP
  • Lenis
Open site Source
Ledger, real screens

Community platform/01 · Nov 2026

Ledger

A job board and community services for the iNethi network in Ocean View, Cape Town, served from a Raspberry Pi so people can find work, apply and talk to recruiters without internet. A year-long team project: our year set the foundation and the standard the next teams build on.

  • React
  • Express
  • PostgreSQL
  • Keycloak
  • Raspberry Pi
Private repo · team project

In the works 8

Scroll storyUpcoming

Minecraft Nightfall

One night in a voxel world, told by scrolling: sunset on a cliff, a creeper ambush, a fight back to back and a wolf at sunrise.

  • three.js
  • GSAP
  • Lenis

Not live yet. It joins the builds above when it ships.

ProductUpcoming

Tagflow

Release checks for Google Tag Manager: every container change gets a diff, pre-publish tests and a named approval, then a daily consent and revenue monitor.

  • TypeScript
  • GTM API
  • Headless Chrome
  • SQLite

Not live yet. It joins the builds above when it ships.

Developer toolUpcoming

GS Code

A free VS Code extension and CLI that mirrors a Google Tag Manager workspace to files, so you can pull, merge, push and publish from the editor.

  • TypeScript
  • VS Code API
  • GTM API
  • MCP

Not live yet. It joins the builds above when it ships.

SaaSUpcoming

Pixel Check

An outside-in tracking check: scans a store's pages for GA4, GTM and ad pixels, checks they respect consent, and monitors them on a schedule so you hear when tags break.

  • TypeScript
  • Cloudflare Workers
  • D1
  • Playwright
Open the live beta ↗

Open-source toolUpcoming

Synthetic Crowd

A Claude Code skill that tests a page, ad or price on a panel of independent personas before it goes live, each one a separate model call.

  • Python
  • Claude Code

Not live yet. It joins the builds above when it ships.

Campus analyticsUpcoming

Occupi

Shows which campus rooms are really in use from the Wi-Fi the campus already runs, so students find a free seat and estates teams stop booking rooms nobody sits in.

  • Next.js
  • Cloudflare Workers
  • SQLite
Open the live beta ↗

Mobile appUpcoming

Med Scanner

Scan a South African medicine box to see what it's for, whether it needs a prescription and what the leaflet says about side effects.

  • React
  • Capacitor
  • Tesseract.js
  • Python

Not live yet. It joins the builds above when it ships.

3D editorUpcoming

Bonsai Sandbox

Turn a photo of a bonsai into a 3D tree you can prune and shape, then watch it grow in a timelapse.

  • React
  • three.js
  • React Three Fiber

Not live yet. It joins the builds above when it ships.

Open source

Code you can read, with tests that say so.

Public repositories and upstream work. Each one has a test suite, and the README says what it proves.

  1. /01

    patch-audit

    Code review tool

    Reviews a patch before a person does. It flags skipped tests, removed assertions, secrets and risky code, then applies the patch to a throwaway clone and runs the tests before and after.

    Standard library only, about 90% test coverage, and CI runs it on its own pull requests.

    Go / GitHub Actions

  2. /02

    inference-queue

    Backend service

    A self-hostable service for batch LLM inference and eval runs: a Postgres queue with leases, retries and dead-letter, a Redis result cache, per-key rate limits, idempotent submits and signed webhooks.

    Integration tests run against real Postgres, including a worker crash mid-lease. Load test numbers are in the repo.

    Go / PostgreSQL / Redis / Prometheus / Docker

  3. /03

    Full-stack casebook

    Debugging casebook

    A team shift board and seven failure cases, from a stale cache and a renamed API field to a lost update and a duplicate payroll export. Each one is traced from the browser to the database and fixed.

    Every case has a seed commit and a fix commit, with a regression test that fails on the first and passes on the second.

    FastAPI / SQLAlchemy / React / TypeScript / Playwright

  4. /04

    UI task bench

    Frontend tasks

    Frontend tasks written from mockups and diagrams: a checkout form, an SVG chart, a canvas colour picker and a virtual list bug. Each comes with a rubric, a starter, a reference solution and a verifier.

    One command proves every verifier passes the reference and fails the starter on each rubric line.

    React / TypeScript / SVG / Canvas / Vitest

  5. /05

    couch-tv

    Upstream contribution

    The first working Hisense VIDAA support for an open-source Google TV home screen: modern-firmware auth, PIN pairing and a native app tile, then a standalone home that needs no computer.

    Two pull requests merged by the maintainer, tested on a real TV.

    Python / MQTT / Reverse engineering

AI automations

The jobs that run while I work. Each one stops at a gate.

13 automations from work, side projects and home, rebuilt with made-up data so you can run them, break them and see what holds.

Open the runner

Stack

The working toolkit, grouped by job.

Everything here has shipped in a live build, a production job or one of my repos.

/01Languages
TypeScriptJavaScriptPythonC#KotlinJavaSQLGoSwiftHTML & CSS
/02Measurement
Server-side & web GTMCustom GTM templatesGA4Meta CAPI & PixelGoogle AdsConsent Mode v2OneTrustMicrosoft ClarityKlaviyo, Criteo & Bazaarvoice tags
/03AI & automation
Claude APIClaude Code skills, hooks & subagentsMCP integrationsn8nMulti-agent systemsModel cascades & evalsHeadless Chrome QALocal image models
/04Frontend & motion
ReactNext.jsViteTailwindthree.js & WebGL2GLSL shadersGSAP & LenisCanvas 2DWeb Audiod3Accessibility (WCAG)
/05Backend
ASP.NET Core (.NET 10, MVC, Web API)SignalREF CoreNode.js & ExpressFastAPIJavaCloudflare WorkersREST & OpenAPI
/06Mobile
Kotlin & Jetpack Compose (Android)Room, WorkManager & FCMReact Native (Expo)SwiftUI (macOS)Capacitor (iOS)On-device OCR & barcode scanning
/07Data
BigQuery SQLPostgreSQL & SupabaseSQL Server & T-SQLOracle SQL & PL/SQLMongoDBFirebaseRedisSQLiteLooker Studio
/08Cloud & delivery
Azure (App Service, SQL, Storage, Functions)Google Cloud (Cloud Run, Pub/Sub)Cloudflare Pages & D1VercelDocker & ComposeCaddy & nginxGitHub ActionsGit & GitHub
/09Security
Auth (password hashing, TOTP, sessions)CSRF, rate limits & lockoutHMAC-signed requestsAES-GCM encryptionSemgrep, gitleaks, Trivy & ZAP in CIThreat modelling
/10Real-time & IoT
SignalR pushBackground stream pipelinesESP32 firmware (C++)Webhook, SMS & push alerts
/11Testing
Vitest & Testing LibraryPlaywrightxUnit & MoqJUnitpytestBenchmarkDotNet
/12Foundations
Data structures & graph algorithmsBig-O & benchmarkingNetworking (subnetting, VLANs, routing)UI/UX research & usability testingBlender & ffmpeg pipelines

Education

Two qualifications, every mark on the record.

A Higher Certificate in mobile and web development, then a three-year degree in Application Development that I finish at the end of 2026. The coursework below is real software, built and marked.

Coursework I built

  1. PROG7312Solo

    Smart-X mission control

    Control room for a 36-node ESP32 hydroponics mesh: signed device telemetry, a live command stream with undo, a mesh map that reroutes around failed nodes, and a suggestion engine that predicts threshold breaches from trends.

    AVL tree, binary heap, union-find, BFS/DFS, Dijkstra, Prim and Kruskal written by hand and benchmarked. 436 xUnit and 50 Vitest tests. HMAC-signed devices, TOTP sign-in, CSRF and rate limits behind a Caddy HTTPS gateway. Part 2 marked 100%.

    • .NET 10
    • ASP.NET Core
    • SignalR
    • React 19
    • TypeScript
    • ESP32 (C++)
    • Docker
    • Caddy
  2. PROG7314Team of 3

    TeeUp

    Android golf app: book tee times, fill a four-ball with other players and keep live GPS scores, backed by its own API and database.

    248 JUnit and 171 xUnit tests, offline sync, push notifications and biometric sign-in; prepared for the Play Store.

    • Kotlin
    • Jetpack Compose
    • Room
    • Firebase
    • MapLibre
    • ASP.NET Core
    • PostgreSQL
    • Azure
    Source ↗
  3. INSY7314Team of 3

    HustleHub+

    A freelance marketplace built security-first: role-based access, CSRF protection, account lockout, session revocation and an audit log.

    I built the DevSecOps part: CI that runs Semgrep, gitleaks, Trivy and OWASP ZAP on every change, non-root Docker images and cloud logging.

    • MongoDB
    • Express
    • React
    • Node.js
    • GitHub Actions
    • Docker
  4. PROG7313Team of 5

    Ingot

    An Android budget tracker with receipts, savings goals, subscriptions, streaks and charts.

    I built the data layer, navigation, theme, home screen and goals.

    • Kotlin
    • Firebase
    • MPAndroidChart
  5. PROG7311Solo

    Logistics management system

    Clients, contracts and service requests for a logistics company, as an MVC web app over its own REST API.

    JWT auth, EF Core migrations on SQL Server, and unit plus integration tests with xUnit, Moq and WebApplicationFactory.

    • ASP.NET Core MVC
    • Web API
    • EF Core
    • SQL Server
    • Docker
  6. CLDV6211 · CLDV6212Solo

    Azure cloud apps

    A venue booking system on Azure App Service with Azure SQL and Blob Storage, then a retail back end on Azure Storage tables, queues, blobs and file shares with Azure Functions.

    Marked 89% and 95%.

    • Azure
    • ASP.NET Core
    • Azure SQL
    • Azure Storage
    • Azure Functions
  7. INSY7213Solo

    Delivery company database

    Design and build of a relational database for a delivery company: ERD, tables, views, sequences, users and privileges with separation of duties, and PL/SQL reports.

    Marked 92%.

    • Oracle SQL
    • PL/SQL
    • ERD
  8. PROG5121 · PROG6112 · MAST5112 · IMAD5112 · WEDE5020Solo

    Java, React Native and web foundations

    Java console and object-oriented apps with unit tests, a React Native mobile app in TypeScript, a native Android app and hand-coded responsive websites.

    Mobile development 98%, web development 96%.

    • Java
    • JUnit
    • React Native
    • TypeScript
    • Kotlin
    • HTML
    • CSS
    • JavaScript
Full academic record (8 semesters)

Bachelor of Computer and Information Sciences in Application Development

Bachelor of Computer and Information Sciences in Application Development results by semester
SemesterCodeModuleMarkResult
2024 · Semester 1PRLD5121Programming Logic and Design77%Credited
MAPC5112Mathematical Principles for Computer Science58%Pass
NWEG5111Network Engineering 1A80%Distinction
PROG5121Programming 1A77%Distinction
2024 · Semester 2NWEG5122Network Engineering 1B72%Pass
PRSE6212Principles of Security70%Pass
PROG6112Programming 1B77%Distinction
ITPP5112IT Professional Practice75%Distinction
2025 · Semester 3INSY6211Information Systems 2A66%Pass
INSY6112Information Systems 1B50%Pass
CLDV6211Cloud Development A89%Distinction
PROG6221Programming 2A75%Distinction
2025 · Semester 4CLDV6212Cloud Development B95%Distinction
INSY6212Information Systems 2B68%Pass
PROG6212Programming 2B86%Distinction
INSY7213Information Systems 2C92%Distinction
2026 · Semester 5PROG7313Programming 3C88%Distinction
INSY7311Information Systems 3A81%Distinction
PROG7311Programming 3A85%Distinction
IRIT7311Introduction to Research for ICT50%Pass
2026 · Semester 6PROG7314Programming 3DIn progress
INSY7315Information Systems 3E (work-integrated learning)In progress
INSY7314Information Systems 3DIn progress
PROG7312Programming 3BIn progress

Higher Certificate in Mobile Application and Web Development

Higher Certificate in Mobile Application and Web Development results by semester
SemesterCodeModuleMarkResult
2023 · Semester 1WEDE5020Web Development (Introduction)96%Distinction
DIAL5111Digital and Academic Literacies60%Pass
IQTT5111Introduction to Quantitative Thinking and Techniques87%Distinction
IPRG5111Introduction to Programming Logic77%Distinction
2023 · Semester 2IMAD5112Introduction to Mobile Application Development98%Distinction
PIXD5112Principles of UI and UX Design70%Pass
MAST5112Mobile App Scripting75%Distinction
XHAW5112Work Integrated Learning 179%Distinction

From the IIE results portal.

About

Independent, remote, built for outcomes.

I'm an independent MarTech engineer working remotely from South Africa with US e-commerce teams. I'm available across the full South African workday (UTC+2), which overlaps US Eastern mornings. I build the systems that sit between marketing platforms and the numbers teams rely on: client and server-side tracking, consent, and the automation that keeps them running.

Most of my work starts with numbers that don't agree: attribution that doesn't reconcile, consent that isn't applied the same way in every tag, or workflows that still depend on someone copying data between tools by hand. I fix the underlying system, not just the symptom.

On the other side of the work I build software end to end: full-stack apps in TypeScript, React and Next.js, .NET and SignalR back ends, native Android in Kotlin, and concept sites in three.js and WebGL. I'm finishing a degree in Application Development at Emeris (18 distinctions across two qualifications, completing 2026), and every project, mark and skill is on this site in one place.

  1. Dec 2024 to present · Remote

    Contract MarTech Engineer

    Independent contractor for a US apparel brand, via MBK Consulting Group

    Contract MarTech engineer for a US apparel brand since December 2024, and the primary engineer for client and server-side tagging and consent: from browser capture through the server-side container to the ad platforms, and the GA4 specs and reporting built on top.

    What the work covers (8 areas)
    1. Tag management & server-side tracking

      Build and publish changes across the client and server-side GTM containers: custom JavaScript variables, triggers and tags capturing e-commerce events across the full customer journey. Own security, data quality, consent and maintainability reviews for the server-side GTM container.

    2. Event specs & reporting

      Write the GA4 event and parameter specs that BigQuery tables are built from, including row-level product attribution for on-site recommendation modules. Query those tables in SQL and build the Looker Studio reports on top for attribution, recommendation performance and channel-level reporting.

    3. Privacy & consent management

      Manage OneTrust geolocation and regulatory template configuration, vendor consent records for major ad platforms, and consent gating on server-side advertising tags as new tracking ships. Added Consent Mode v2 consent checks to about a third of web tags.

    4. Advertising platform integration

      Meta Conversions API and Google Ads server-side tags with browser and server deduplication, click and browser ID passthrough, and ongoing event-quality checks in Meta Events Manager.

    5. Marketing analytics & reporting

      Configure Microsoft Clarity (session tooling, funnels, Core Web Vitals monitoring) and use it to investigate layout stability on high-traffic product pages. Scope and deliver custom reports on feature usage and conversion impact for product and merchandising decisions.

    6. Automation & internal tooling

      Built 4 production n8n automations, including a product-page content pipeline with human review, with run-lock logic so overlapping runs can't collide. Use MCP integrations to connect Claude to tools like Linear and n8n. Contributed to an internal privacy scanner: headless scanning, report delivery and AI-generated reports.

    7. Data integrity & QA

      Take tracking work from requirements through implementation to QA. Reconcile client-side and server-side event counts, and configure server-side tags for platform-specific event handling.

    8. Stakeholder coordination & documentation

      Coordinate directly with stakeholders to translate business reporting needs into tracking specifications and dashboard requirements. Document tracking architecture and data flow so the setup stays maintainable.

  2. Education

    Emeris

    Formerly IIE Varsity College

    • Bachelor of Computer and Information Sciences in Application DevelopmentCompleting 2026 · 12 distinctions
    • Higher Certificate in Mobile Application and Web Development2023 · 6 distinctions

    Coursework, marks and the full record →

Contact

Something doesn't add up? Start with an email.

Tell me what doesn't add up. I reply within three business days.

Based in
South Africa
Hours
UTC+2, overlapping US Eastern mornings
Works as
Contract and project work, remote