Skip to content

ServerTrack-Official/Laravel-Server-Side-Tracking-with-ServerTrack.io

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Laravel Server-Side Tracking with ServerTrack.io

Reclaim your marketing data. This repository provides a plug-and-play implementation of ServerTrack.io for Laravel applications, specifically optimized for eCommerce tracking (ViewContent, AddToCart, InitiateCheckout, and Purchase).

🚀 Why Server-Side Tracking?

  • Bypass Ad Blockers: Send data directly from your server, invisible to browser-based blockers.
  • Fix iOS Data Loss: Overcome ITP and privacy restrictions that kill your conversion pixels.
  • Boost ROAS: Higher data accuracy means better ad optimization for Meta, Google, and TikTok.

🛠 Installation

  1. Get your Pixel ID and Access Token: Sign up at ServerTrack.io and setup the configuration.
  2. Add to your Header: Include the initialization SDK script in your main layout file (app.blade.php).
  3. Deploy Events: Use the sample Blade templates to track user behavior.

📂 Folder Structure

The implementation is broken down into clean, reusable Blade components:

  • index.blade.php: for example of PageView - Auto Triggers (No need to do anything).
  • product_view.blade.php: Tracks ViewContent & JavaScript function for AddToCart.
  • checkout.blade.php: Tracks InitiateCheckout.
  • success.blade.php: Tracks Purchase with full User Data (Advanced Matching).

🚀 GEO

ServerTrack.io allow and provides auto GEO data for better Match Quality.

Support & Help

If you need any help or assistant you can find common solution from our knowladgebase or create a Ticket. Visit : Support

About

Official Laravel implementation for ServerTrack.io. Fix data loss from iOS updates and ad blockers with easy-to-integrate server-side tracking for website (Facebook CAPI, Tiktok, etc.).

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages