MARKETING TECHNOLOGY / SERVER-SIDE TRACKING

Savanna Roast Co.

A server-side tracking and automation stack built to recover lost conversions, bypass ad blockers, and power automated cart recovery.

Server-Side Tracking GA4 TikTok CAPI Automation Laravel AWS EC2 Docker Nginx
3
Platforms Integrated
100%
First-Party Data Ownership
15 min
Recovery Interval

THE PROBLEM

Tracking was broken.

Browser-based tracking was blocked by ad blockers, privacy settings, and iOS restrictions, causing lost conversions and incomplete attribution.

BEFORE — Browser-Side
Visitor
→
Website
→
Facebook Pixel / TikTok Pixel
→
Blocked by Ad Blocker
Missing conversions Incomplete attribution Lost revenue
AFTER — Server-Side
Visitor
→
Website
→
First-Party Endpoint
→
Server Container (GTM)
→
GA4
TikTok CAPI
Event Database
Complete conversions Reliable attribution Revenue recovered

OUR SOLUTION

A self-hosted tracking pipeline with automation on top.

We built a reliable, privacy-friendly tracking infrastructure that captures every event, routes it server-side through our own domain, and triggers automated recovery for abandoned carts. Click a step below, or press Play to see the request move through the system.

Step 0 / 5
Browser Website Server-SideGTM GA4 TikTokCAPI EventStore Purchase / Add to Cart Event + event_id Forward to GA4 Forward to TikTok CAPI (same event_id) Store raw event Browser Website Server-SideGTM GA4 TikTokCAPI EventStore
Click a step below, or press Play to walk through the flow.

Separately, a scheduled Laravel worker checks the event store every 15 minutes for carts with no matching purchase, and automatically triggers a recovery message (email, SMS, or WhatsApp) without any manual monitoring.

AUTOMATED CART RECOVERY FLOW

From an abandoned cart to a recovered sale, with no human involved.

🛒
Cart Started
✕
No Purchase
⌚
Wait 15 Minutes
SCHEDULED CHECK
✉
Send Recovery Message
✓
Purchase Completed

WHAT WE BUILT

📡

Server-Side GA4 Tracking

Events routed through our own domain to Google Analytics, bypassing browser-level blocking.

↻

TikTok Conversions API

Server events shared via Conversions API for accurate attribution, deduplicated against client-side events.

🗃

First-Party Event Store

All events stored for debugging, reporting, and independent of any ad platform's dashboard.

⏳

Automated Cart Recovery

Scheduled job checks every 15 minutes and triggers recovery automatically, no manual monitoring required.

IMPLEMENTATION TIMELINE

1
Tracking Audit
2
GTM Server Setup
3
First-Party Endpoint
4
GA4 Integration
5
TikTok CAPI
6
Event Database
7
Cart Recovery Automation
8
Verification Testing

RESULTS

A working, verifiable pipeline, tested and confirmed.

We validated the full chain from browser to destinations end to end.

✓

GA4 Verified

Events received with correct event_id.

✓

TikTok Verified

Conversions API events matched successfully.

✓

Deduplication Verified

No duplicate events across platforms.

✓

Recovery Flow Verified

Abandoned carts detected and actions triggered on schedule.

TECHNOLOGIES

Google Tag Manager (Server-Side) AWS EC2 Docker Nginx Laravel GA4 TikTok Conversions API SHA-256 Hashing

WALKTHROUGH

See it running.

A short video walking through the tracking pipeline and cart recovery flow live.

►
Video walkthrough coming soon
HAVE A SIMILAR PROBLEM?

Have a similar tracking or automation problem?

If your marketing data feels unreliable, or your business is losing sales it never follows up on, that's exactly the gap we look for.

Start a Conversation