Server-side Pixel integration

Integrating Bloomreach Pixels on the server-side lets you collect page view and event tracking data directly in your backend server. This approach can replace the more common client-side pixel integration, where the data is sent directly to Bloomreach. The server-side approach provides enhanced data accuracy, improved security, and greater control over your tracking implementation.

📘

Note

While the recommended client-side pixel integration offers the most comprehensive tracking features, server-side integration is available for use cases requiring enhanced control and event data security.

Why integrate server-side pixels?

Server-side tracking changes how you collect and manage user behavior data by moving the tracking logic from the browser to your backend infrastructure. Here's why this approach can be useful:

Enhanced data accuracy

Server-side tracking captures all user interactions, even when users disable cookies or use ad blockers. Unlike client-side pixels, which can fail in such cases, server-side implementation ensures every event is captured and results in more accurate data.

📘

Consent for tracking

Our Technical Consultants discuss best practices, but we let you decide how you want to set up your integration and if you require consumer tracking consent before initializing Pixel tracking.

You can choose to not collect tracking data for users who opt out of cookies or user data tracking to respect consumer privacy.

Improved data security

With server-side implementation, sensitive information like user IDs, event data, and purchase values stays away from the client's browser. Server-side tracking reduces exposure to browser-based security vulnerabilities.

Greater control over tracking

Collecting event data on the server gives you more control over storing and processing the data on your infrastructure. You can also use the data for internal analytics and monitoring systems.