---
url: /guides/api/browser-setup.md
---
# Browser Setup

This section is required for all integrations, regardless of your platform.
Complete the Browser Setup to install Elevar's tracking scripts and implement
Data Layer events that capture user interactions across your website.

## Steps to Complete

### 1. Install Scripts

Install the Elevar browser script on all pages of your website. This script
initializes tracking functionality and enables Data Layer event processing.

**[Install Scripts Guide](/guides/api/browser-setup/install-scripts)**

### 2. Push Events

Implement Data Layer events to track user interactions across your site. This
includes standard ecommerce events like product views, add to cart, and more.

**[Push Events Guide](/guides/api/browser-setup/push-events)**

### 3. Debug Mode

Use the Elevar debugger to validate your Data Layer implementation in real-time.
The debugger identifies schema violations and data type errors before they reach
production.

**[Debug Mode Guide](/guides/api/browser-setup/debug-mode)**

### 4. User ID

Pass your own user identifier to improve cross-session tracking, prevent user
count inflation and better recognize returning users with session enrichment.

**[User ID Guide](/guides/api/browser-setup/user-id)**

### 5. Proxy Path

Configure a proxy path to route Elevar requests through your own domain,
preventing ad-blockers from blocking tracking requests.

**[Proxy Path Guide](/guides/api/browser-setup/proxy-path)**

## Common Questions

**If Elevar is a server-side tracking solution, why do I need to implement
browser events?**

Elevar uses a browser-to-server data processing, the browser events you
implement are sent to Elevar's server-side infrastructure, where they're
enriched and forwarded to your marketing destinations.

**Can I skip Debug Mode?**

No, we recommend validating all events before deploying to production. Events
that fail validation may not be processed correctly, resulting in data loss.

**How long does the setup take?**

Implementing all Data Layer events varies by site complexity, plan for several
hours to implement and test all events thoroughly.

**Should I implement User ID and Proxy Path?**

While technically optional, both are highly recommended enhancements that
significantly impact Elevar's performance. Together, they ensure maximum data
accuracy and tracking reliability.
