---
title: "BV Pixel implementation (bv.js)"
id: "bv-pixel-implementation-bv-js"
project: "Ratings & Reviews"
url: "https://docs.bazaarvoice.com/articles/ratings-reviews/bv-pixel-implementation-bv-js"
updated: 2026-11-16T14:07:45Z
---

# BV Pixel implementation \(bv\.js\)

To begin collecting data, you must integrate the Bazaarvoice loader file (bv.js) into your website. Once you’ve added the loader file `bv.js` to a page, the event tracking code fires automatically and captures **Page views**, **Impressions**, and **Feature events**.

## Pre-requisites

Before starting the implementation, ensure you have the following:

* Whitelisted domains: If you’re at the Bazaarvoice implementation stage, contact your Bazaarvoice implementation team to request allowlist (sometimes called a "whitelist") updates.
* Bazaarvoice credentials: If you’ve completed implementation, contact [Bazaarvoice support](/smart/bv-basics/contacting_support) to request changes.

![Note](/resources/Storage/ratings-reviews/bv-global/note.png)
 **Note:** If you’re an API client, follow the instructions in our [API documentation](https://developer.bazaarvoice.com/docs/read/conversations_api/tutorials/analytics) to implement BV Pixel. If you're a native app client, follow our [Mobile SDK](/articles/ratings-reviews/sdk) implementation instructions.

BV Pixel tells Bazaarvoice when a consumer converts on your site. There’re two types of BV Pixel tags:

* Transaction events: Transaction tags collect purchase data from your order confirmation page.
* Conversion events: Conversion event tags are triggered by coupon downloads, newsletter sign-ups, or product warranty registrations.

**Transaction event for e-Commerce sites**

1. [Add the BV loader.](/articles/ratings-reviews/bv-pixel-implementation-bv-js/a/add-the-bv-loader)
2. [Add the transaction event.](/articles/ratings-reviews/transaction-and-conversion-events/a/h2_158617623)
3. (Optional) [Add PII parameters](/articles/ratings-reviews/personally-identifiable-information-integration-security/a/h2__1003716278) to send review requests (formerly post-interaction email or PIE).
4. [Test your implementation.](/articles/ratings-reviews/verify-and-troubleshoot-bv-pixel-integration/a/test-product-display-page-pdp)

Conversion event for non-Commerce sites

1. /articles/ratings-reviews/bv-pixel/a/add-the-bv-loader[Add the BV loader.](/articles/ratings-reviews/bv-pixel-implementation-bv-js/a/add-the-bv-loader)
2. [Add the conversion event.](/articles/ratings-reviews/transaction-and-conversion-events/a/h2__1854065215)
3. (Optional) /articles/ratings-reviews/bv-pixel/a/add-pii-parameters-to-events[Add PII parameters](/articles/ratings-reviews/personally-identifiable-information-integration-security/a/h2__1003716278) to collect information about the consumer.
4. /articles/ratings-reviews/bv-pixel/a/test-your-bv-pixel-implementation[Test your implementation.](/articles/ratings-reviews/verify-and-troubleshoot-bv-pixel-integration/a/test-product-display-page-pdp)

## Add the BV loader

The BV loader `<bv.js>` loads the **Bazaarvoice JavaScript library**. This library contains event-tracking code that captures consumer activity on your website.

### Integration

Add the BV loader code to the `head` of your page. This ensures the loader is initialized before any subsequent event tags fire.


```html
<!-- load BV loader -->
<script async src="https://apps.bazaarvoice.com/deployments/<client_name>/<site_ID>/<environment>/<locale>/bv.js"></script>

```


###  Deployment

Replace the placeholders in the URL with your account-specific data:

| Parameter | Description |
| --- | --- |
| `client_name` | Client name provided by Bazaarvoice. Use lowercase letters. |
| `site_ID` | ID of the deployment zone you want to use.<ul> <li>This is set up in the Bazaarvoice configuration. Default deployment zone is &#39;main_site&#39;. </li> <li>To ensure your have the correct ID, select <img src="/resources/Storage/ratings-reviews/bv-global/_includes-fixed/ConvBeeTopics/images/zone_id1.PNG" alt="Site ID icon" class="bvimageinline" data-ch-thumbnail-mode="none" style="height: auto; max-width: 41px; width: 100%;" loading="lazy">to the right of the deployment zone on the configuration <b>Site Manager</b> page. </li> </ul> |
| `environment` | Deployment environment where you want to implement BV Pixel.<ul> <li>For a production environment, include <b>production</b> in the path. </li> <li>If you&#39;re referencing a staging environment, include <b>staging</b> in the path. </li> </ul> |
| `locale` | Locale used by your BV Pixel implementation. If you're not using US English (en\_US), ensure use the correct [locale code](/articles/ratings-reviews/localization)locale code. |

**Examples:**

The URLs below are examples based on the *Endurance Cycle* implementation. When setting up a different implementation, replace `endurancecycles` and the `deployment_zone` with appropriate values.

| Environment | Deployment Zone | Example |
| --- | --- | --- |
| Staging | main\_site | `https://apps.bazaarvoice.com/deployments/`endurancecycles/`main_site``/``staging``/en_US/bv.js` |
| Production | mobile | `https://apps.bazaarvoice.com/deployments/`endurancecycles/`mobile``/``production``/en_US/bv.js` |

![Caution](/resources/Storage/ratings-reviews/bv-global/caution.png)
 You may have added the BV loader while implementing [Bazaarvoice-hosted display](/articles/ratings-reviews/display_integration/a/add-bazaarvoice-code-to-your-site) or [DCC](/articles/ratings-reviews/dcc). Do not add it again. It only needs to be added once.
 
### Verification

Once deployed, check your browser console. If the loader fails to initialize:

1. Verify the `environment` parameter matches your current domain.
2. Confirm the domain is listed in your Bazaarvoice Portal whitelist.

[![Provide feedback button](/resources/Storage/ratings-reviews/bv-global/topic-footer-2026/provide-feedback-button.png)](https://docs.google.com/forms/d/1qGZ5rApqDrXO_j6vNzcDihDAOPMEjmUr1alHvcEIbQU/edit)