---
title: "Signal Tag Management"
id: "signal_tag_mgr"
project: "Ratings & Reviews"
url: "https://docs.bazaarvoice.com/articles/ratings-reviews/signal_tag_mgr"
updated: 2026-11-16T14:06:51Z
---

# Signal Tag Management

**Note:** You must implement Analytics for API on a whitelisted domain. Bazaarvoice manages the domain allowlist (sometimes called a "whitelist") internally. If you are in the implementation stage of a project, contact your Bazaarvoice implementation team to request changes to the allowlist. If you are in the support stage, contact [Bazaarvoice Support](/smart/bv-basics/Contacting_support) to request changes.

Perform the following steps to configure the Signal tags and templates: 
  
1. Add events to trigger tags.

Recommended event names and their definitions

Bazaarvoice tested and approved these events, so their use is highly recommended. Although these recommended events are not required, their configurations are specific. Use caution if you intend to change them.
 **Note:** If Ratings & Reviews is deployed on an HTTPS site, you must provide image URLs at an HTTPS location in your [product catalog](/articles/ratings-reviews/product_catalog). If you do not, your customers will see a mixed content warning.
 
In Signal's user interface, the events are *conditional events* used in the *firing rules* of a tag.

| Event Name | Definition | Used by |
| --- | --- | --- |
| bvConversion | Trigger: Click Selector: .bvConversion | [Conversion](/articles/ratings-reviews/signal_tag_mgr/a/conversion-tag) (non-commerce) <br>Multiple conversions will require a different **Selector** and **Event Name** for each feature type. <br>For example: bvConversionCatalog (Selector .bvConversionCatalog), <br>bvConversionLocator (Selector .bvConversionLocator). |
| bvFeature | Trigger: Click Selector: .bvFeature | [FeatureUsed](/articles/ratings-reviews/signal_tag_mgr/a/featureused-tag) <br>Multiple features used will require a different **Selector** and **Event Name** for each feature type.<br> <br>For example: bvFeatureSort (Selector .bvFeatureSort), bvFeaturePaginate (Selector .bvFeaturePaginate) |
| bvViewRawEvent | Trigger: load, scroll, resize Selector: window | [FeatureUsedInView](/articles/ratings-reviews/signal_tag_mgr/a/featureusedinview-tag) |
| bvTransaction | Trigger: Click Selector: .bvTransaction | [ConversionTransaction](/articles/ratings-reviews/signal_tag_mgr/a/conversiontransaction-tag) and [PIIConversionTransaction](/articles/ratings-reviews/signal_tag_mgr/a/piiconversiontransaction-tag) |
| bvViewedUGC | Trigger: bvViewedUGC Selector: window | [FeatureUsedViewedUGC](/articles/ratings-reviews/signal_tag_mgr/a/featureusedviewedugc-tag) |
| onLoad | Trigger: load Selector: window | [PageViewProduct](/articles/ratings-reviews/signal_tag_mgr/a/pageviewproduct-tag) and [PageViewCategory](/articles/ratings-reviews/signal_tag_mgr/a/pageviewcategory-tag) |

HTML and user interface elements in Signal initiate click-triggered events, which then trigger the associated tag. In some cases, such as [ConversionTransaction](/articles/ratings-reviews/signal_tag_mgr/a/conversiontransaction-tag) and [PIIConversionTransaction](/articles/ratings-reviews/signal_tag_mgr/a/piiconversiontransaction-tag), the tag triggers on a page load, rather than by selecting a button.

2. Complete a data mapping that contains relevant and required information for the tags.

Data mappings

**Datum Names** used in your data mapping can be changed for your use case. The connection to data on your product pages is determined by how data is organized on each page.

| Datum Name | Data Description |
| --- | --- |
| Average Rating | The average star rating for this product.<br> <br>Tag support:<br> <ul> <li>PageViewProduct (optional) </li> </ul> |
| Brand Name | Client-centric brand name to which the product belongs, if available.<br> <br>Tag support:<br> <ul> <li>FeatureUsed (optional) </li> <li>FeatureUserdInView (optional) </li> <li>FeatureUsedViewedUGC (optional) </li> <li>PageViewProduct (optional) </li> </ul> |
| Category (key) | Category key for items in the JSON object that should reflect the exact key name in the JSON object.<br> <br>Tag support:<br> <ul> <li>ConversionTransaction (optional) </li> <li>PIIConversionTransaction (optional) </li> </ul> |
| Category ID | Client-centric ID of the category being viewed. This ID is unique within your product catalog.<br> <br>Tag support:<br> <ul> <li>FeatureUsed (optional) </li> <li>FeatureUsedInView (optional) </li> <li>FeatureUsedViewedUGC (optional) </li> <li>PageViewCategory (required) </li> <li>PageViewProduct (optional) </li> </ul> |
| City | The city to associate with the event.<br> <br>Tag support:<br> <ul> <li>Conversion (optional) </li> <li>ConversionTransaction (optional) </li> <li>PIIConversionTransaction (optional) </li> </ul> |
| Client ID | Your Bazaarvoice client ID. Typically a constant in the template.<br> <br>Tag support:<br> <ul> <li>Conversion (required) </li> <li>ConversionTransaction (required) </li> <li>FeatureUsed (required) </li> <li>FeatureUsedInView (required) </li> <li>FeatureUsedViewedUGC (required) </li> <li>PageViewCategory (required) </li> <li>PageViewProduct (required) </li> <li>PIIConversionTransaction (required) </li> </ul> |
| Conversion Type | The type of conversion that is taking place. A separate Conversion tag needs to be created for each conversion type.<br> <br>Tag support:<br> <ul> <li>Conversion (required) </li> </ul> |
| Conversion Value | The numerical value to attribute to the conversion.<br> <br>Tag support:<br> <ul> <li>Conversion (required) </li> </ul> |
| Currency Code | ISO 4217 alphabetic currency code.<br> <br>Tag support:<br> <ul> <li>ConversionTransaction (optional) </li> <li>PIIConversionTransaction (optional) </li> </ul> |
| Country | The country associated with the event.<br> <br>Tag support:<br> <ul> <li>Conversion (optional) </li> <li>ConversionTransaction (optional) </li> <li>PIIConversionTransaction (optional) </li> </ul> |
| Debounce Period | The time period in milliseconds that is enforced between debounced events. Typically a constant value, default is 250ms.<br> <br>Tag support:<br> <ul> <li>FeatureUsedInView (optional) </li> <li>FeatureUsedViewedUGC (optional) </li> </ul> |
| Delivery Date | Used to schedule the delivery of the email. Bazaarvoice will send the email *x* days from this date per your emailDelayDays specification. If this is not specified, the current date/time will be used automatically.<br> <br>Tag support:<br> <ul> <li>PIIConversionTransaction (optional) </li> </ul> |
| Detail 1 | First-level detail for the feature.<br> <br>Bazaarvoice recommends that the fields `filter`, `sort`, and `paginate`are tagged and labeled in this field.<br> <br>Tag support:<br> <ul> <li>FeatureUsed (required) </li> </ul> |
| Detail 2 | Second-level detail for the feature.<br> <br>Tag support:<br> <ul> <li>FeatureUsed (optional) </li> </ul> |
| Display Code | Display code or other UI variant identifier. If you are not familiar with this code, please contact your Support Engineer.<br> <br>Tag support:<br> <ul> <li>Conversion (optional) </li> <li>ConversionTransaction (optional) </li> <li>FeatureUsed (optional) </li> <li>FeatureUsedInView (optional) </li> <li>FeatureUsedViewedUGC (optional) </li> <li>PageViewCategory (optional) </li> <li>PageViewProduct (optional) </li> <li>PIIConversionTransaction (optional) </li> </ul> |
| E-Mail | The email address of the user.<br> <br>Tag support:<br> <ul> <li>PIIConversionTransaction (required) </li> </ul> |
| Feature Name | Name of the feature used, for example *sort*, *paginate*, *InView*. A separate [FeatureUsed](/articles/ratings-reviews/signal_tag_mgr/a/featureused-tag) tag needs to be created for each feature used.<br> <br>Tag support:<br> <ul> <li>FeatureUsed (required) </li> </ul> |
| Host Name | Hostname for the page from which the event was sent. If no value is specified, this defaults to window.location.host.<br> <br>Tag support:<br> <ul> <li>Conversion (optional) </li> <li>ConversionTransaction (optional) </li> <li>FeatureUsed (optional) </li> <li>FeatureUsedInView (optional) </li> <li>FeatureUsedViewedUGC (optional) </li> <li>PageViewCategory (optional) </li> <li>PageViewProduct (optional) </li> <li>PIIConversionTransaction (optional) </li> </ul> |
| Image URL (key) | Image URL key for items in the JSON object. This should reflect the exact key name in the JSON object.<br> <br>Tag support:<br> <ul> <li>ConversionTransaction (optional) </li> <li>PIIConversionTransaction (optional) </li> </ul> |
| In-View Time | How long the user-generated content (UGC) container must be visible, in milliseconds, for it to be considered "viewed." Typically a constant value, defaulting to 5000ms (5 seconds).<br> <br>Tag support:<br> <ul> <li>FeatureUsedInView (optional) </li> <li>FeatureUsedViewedUGC (optional) </li> </ul> |
| Items Object | This is a JSON or JSON-like object that is referenced by the data dictionary. This referenced object contains the item-level information for the order.<br> <br>Tag support:<br> <ul> <li>ConversionTransaction (required) </li> <li>PIIConversionTransaction (required) </li> </ul> |
| Label | A descriptive label to apply to the conversion.<br> <br>Tag support:<br> <ul> <li>Conversion (optional) </li> </ul> |
| Min Visible Pixels | The minimum number of vertical pixels of the UGC container that must be displayed for UGC to be considered visible. Typically a constant value. Default is 100 pixels.<br> <br>Tag support:<br> <ul> <li>FeatureUsedInView (optional) </li> <li>FeatureUsedViewedUGC (optional) </li> </ul> |
| Num Answers | Number of answers for this product.<br> <br>Tag support:<br> <ul> <li>PageViewProduct (optional) </li> </ul> |
| Num Questions | Number of questions for this product.<br> <br>Tag support:<br> <ul> <li>PageViewProduct (optional) </li> </ul> |
| Num Reviews | Number of reviews for this product.<br> <br>Tag support:<br> <ul> <li>PageViewProduct (optional) </li> </ul> |
| Order ID | The unique ID of the order.<br> <br>Tag support:<br> <ul> <li>ConversionTransaction (required) </li> <li>PIIConversionTransaction (required) </li> </ul> |
| Order Total | The total amount of the order.<br> <br>Tag support:<br> <ul> <li>ConversionTransaction (required) </li> <li>PIIConversionTransaction (required) </li> </ul> |
| Percent Recommended | Percentage of users who would recommend this product. The value should be between 0 and 100.<br> <br>Tag support:<br> <ul> <li>PageViewProduct (optional) </li> </ul> |
| Price (key) | Price key for items in the JSON object and should reflect the exact key name in the JSON object.<br> <br>Tag support:<br> <ul> <li>ConversionTransaction (optional) </li> <li>PIIConversionTransaction (optional) </li> </ul> |
| Product ID | Client-centric product ID for features used in the context of a product. Unique within your product catalog.<br> <br>Tag support:<br> <ul> <li>FeatureUsed (optional) </li> <li>FeatureUsedInView (optional) </li> <li>FeatureUsedViewedUGC (optional) </li> <li>PageViewProduct (required) </li> </ul> |
| Product Name (key) | Product Name key for items in the JSON object and should reflect the exact key name in the JSON object.<br> <br>Tag support:<br> <ul> <li>ConversionTransaction (optional) </li> <li>PIIConversionTransaction (optional) </li> </ul> |
| Quantity (key) | Quantity key for items in the JSON object and should reflect the exact key name in the JSON object.<br> <br>Tag support:<br> <ul> <li>ConversionTransaction (optional) </li> <li>PIIConversionTransaction (optional) </li> </ul> |
| Referring URL | Referrer of the page from which the event was sent, if available. The default is document.referrer.<br> <br>Tag support:<br> <ul> <li>Conversion (optional) </li> <li>ConversionTransaction (optional) </li> <li>FeatureUsed (optional) </li> <li>FeatureUsedInView (optional) </li> <li>FeatureUsedViewedUGC (optional) </li> <li>PageViewCategory (optional) </li> <li>PageViewProduct (optional) </li> <li>PIIConversionTransaction (optional) </li> </ul> |
| Root Category ID | Client-centric category ID of the root category relative to the category identified by the *categoryId* property value. This ID is unique within your product catalog.<br> <br>Tag support:<br> <ul> <li>FeatureUsed (optional) </li> <li>FeatureUsedInView (optional) </li> <li>FeatureUsedViewedUGC (optional) </li> <li>PageViewCategory (optional) </li> <li>PageViewProduct (optional) </li> </ul> |
| Shipping Amount | The cost of shipping for the order.<br> <br>Tag support:<br> <ul> <li>ConversionTransaction (optional) </li> <li>PIIConversionTransaction (optional) </li> </ul> |
| SKU (key) | SKU or Product ID key for items in the JSON object and should reflect the exact key name in the JSON object.<br> **Note:** It **MUST match** the product `ExternalId` that is sent to Bazaarvoice in your product catalog. If the ID you set for the `sku` parameter is not in your product catalog, the product will NOT be included in the review request (formerly post-interaction email or PIE).<br> <br>Tag support:<br> <ul> <li>ConversionTransaction (required) </li> <li>PIIConversionTransaction (required) </li> </ul> |
| State | The state to associate with the event.<br> <br>Tag support:<br> <ul> <li>Conversion (optional) </li> <li>ConversionTransaction (optional) </li> <li>PIIConversionTransaction (optional) </li> </ul> |
| Tax Amount | The amount of tax applied to the order.<br> <br>Tag support:<br> <ul> <li>ConversionTransaction (optional) </li> <li>PIIConversionTransaction (optional) </li> </ul> |
| UGC Container ID | The DOM ID of the container that holds Bazaarvoice UGC. This informs the tag which DOM object to watch for visibility.<br> <br>Tag support:<br> <ul> <li>FeatureUsedInView (required) </li> <li>FeatureUsedViewedUGC (required) </li> </ul> |
| User ID | The unique ID of the user.<br> <br>Tag support:<br> <ul> <li>PIIConversionTransaction (optional) </li> </ul> |
| User Nickname | The first name or nickname of the user.<br> <br>Tag support:<br> <ul> <li>PIIConversionTransaction (optional) </li> </ul> |
| Zip Code | The postal code to associate with the transaction.<br> <br>Tag support:<br> <ul> <li>PIIConversionTransaction (optional) </li> </ul> |

3. Fill in the tag templates with data mappings.

4. Fill in the tag triggering event.

**Note:** You can use the analytics tags as the BV Pixel by using Signal's **BVConversion** and **BVTransaction** tags.

##  Conversion tag

**Conversion** indicates a non-commercial conversion. Conversions keep track of user activities that do not directly generate revenue but are still valuable, such as using a dealer locator page or ordering a free catalog.

**Note:** The Analytics for API tags **ConversionTransaction**, **PIIConversionTransaction**, and **Conversion** together perform the same functions as the BV Pixel. If you have already implemented the BV Pixel, it is not necessary to change your implementation to use these tags.

Refer to Implementing the BV Pixel with analytics tags for full implementation examples.

### Event binding

Conversion can be triggered explicitly by the conversion button, as shown in the following example:


Code

```
<button onclick="_bvapiq.push(['Conversion', ConversionData]);">Test Conversion</button>

```


###  Data and mapping

| Field | Built-in Mapping | Description |
| --- | --- | --- |
| clientID | clientID | Name of the Bazaarvoice client on whose behalf the event was sent.<br> <br>This is the same value as the Workbench login.<br> <br>**Priority:** Required |
| type | conversion.type, conversion.category.type | Type of conversion that is taking place.<br> <br>**Priority:** Required |
| value | conversion.value, conversion.attributes.value | Value attributed to the conversion.<br> <br>**Priority:** Required |
| city | conversion.city, conversion.profile.address.city | City associated with the transaction. <br>**Priority:** Recommended |
| country | conversion.country, conversion.profile.address.country | Country associated with the transaction. <br>**Priority:** Recommended |
| dc | page.dc, page.pageInfo.region | Display code or other UI variant identifier. If you are not familiar with this code, contact your Support Engineer.<br> <br>**Default value:** window.navigator.language<br> <br>**Priority:** Required |
| environment | environment | Application environment from which the event was sent. **prod** is for production code. **staging** is for testing and debugging.<br> <br>**Default value:** 'prod'<br> <br>**Priority:** Recommended |
| label | conversion.label, conversion.attributes.label | Descriptive label to apply to the conversion.<br> <br>**Priority:** Recommended |
| ref | page.ref, page.pageInfo.referringURL | Referrer of the page from which the event was sent, if available. <br>**Default value:** document.referrer<br> <br>**Priority:** Recommended |
| state | conversion.state, conversion.profile.address.state | State associated with the transaction.<br> <br>**Priority:** Recommended |
| host | page.host, page.pageInfo.hostName | Hostname for the page from which the event was sent.<br> <br>**Default value:** window.location.hostname<br> <br>**Priority:** Optional |

##  ConversionTransaction tag

**ConversionTransaction** indicates a commercial transaction or conversion. Conversion transactions keep track of purchases and are a key component in calculating conversion lift.

**Note:** The Analytics for API tags **ConversionTransaction**, **PIIConversionTransaction**, and **Conversion** together perform the same functions as the BV Pixel. If you have already implemented the BV Pixel, it is not necessary to change your implementation to use these tags.

Refer to Implementing the BV Pixel with analytics tags for full implementation examples.

### Event binding

Include the **ConversionTransaction** tag on a confirmation page load, as shown in the following example:


Code

```
<script>
    window._bvapiq = window._bvapiq || [];
    _bvapiq.push(['ConversionTransaction', TransactionData]);
    $.getScript('//magpie-static.ugc.bazaarvoice.com/magpie-api/1.4/
bvAnalyticsAPITracker.min.js.gz');
</script>

```


###  Data and mapping

| Field | Built-in Mapping | Description |
| --- | --- | :---: |
| clientID | clientID | Name of the Bazaarvoice client on whose behalf the event was sent.<br> <br>This is the same value as the Workbench login.<br> <br>**Priority:** Required |
| orderId | transaction.orderId, transaction.transactionID | Unique ID of the order.<br> <br>**Priority:** Required |
| sku | items[].sku, items[].productInfo.sku | This is the Bazaarvoice product external ID. Sometimes this is a SKU code, but often it is some other product ID. It is used specifically with Bazaarvoice to uniquely identify your products.<br> **Note:** It **MUST match** the product's `ExternalId` that is sent to Bazaarvoice in your product catalog. If the ID you set for the `sku` parameter is not in your product catalog, the product will NOT be included in the review request.<br> <br>**Priority:** Required |
| total | transaction.total, transaction.total.transactionTotal | Total amount of the order.<br> <br>**Priority:** Required |
| city | conversion.city, conversion.profile.address.city | City associated with the transaction.<br> <br>**Priority:** Recommended |
| country | conversion.country, conversion.profile.address.country | Country associated with the transaction.<br> <br>**Priority:** Recommended |
| currency | transaction.currency, transaction.total.currency | ISO 4217 alphabetic currency code.<br> <br>**Priority:** Recommended |
| dc | page.dc, page.pageInfo.region | Display code or other UI variant identifier. If you are not familiar with this code, contact your Support Engineer.<br> <br>**Default value:** window.navigator.language<br> <br>**Priority:** Required |
| environment | environment | Application environment from which the event was sent. **prod** is for production code. **staging** is for testing and debugging.<br> <br>**Default value:** 'prod'<br> <br>**Priority:** Recommended |
| label | conversion.label, conversion.attributes.label | Descriptive label to apply to the conversion.<br> <br>**Priority:** Recommended |
| ref | page.ref, page.pageInfo.referringURL | Referrer of the page from which the event was sent, if available. <br>**Default value:** document.referrer<br> <br>**Priority:** Recommended |
| state | conversion.state, conversion.profile.address.state | State associated with the transaction.<br> <br>**Priority:** Recommended |
| category | items[].category, items[].category.primaryCategory | Product category.<br> <br>**Priority:** Optional |
| host | page.host, page.pageInfo.hostName | Hostname for the page from which the event was sent.<br> <br>**Priority:** Optional |
| imageUrl | items[].imageUrl, items[].productInfo.productImage | Product image URL.<br> <br>**Priority:** Optional |
| name | items[].name, items[].productInfo.productName | Product name.<br> <br>**Priority:** Optional |
| price | items[].price, items[].price.basePrice | Product price.<br> <br>**Priority:** Optional |
| quantity | items[].quantity | Purchase quantity.<br> <br>**Priority:** Optional |
| shipping | transaction.shipping, transaction.total.shipping | Cost of shipping for the order.<br> <br>**Priority:** Optional |
| tax | transaction.tax, transaction.total.taxAmount | Amount of tax applied to the order.<br> <br>**Priority:** Optional |

##  FeatureUsed tag

**FeatureUsed** indicates user interaction with the UGC container and controls. This tag should be used for features such as:

* Filter
* Sort
* Paginate

### Event binding

Attach the **FeatureUsed** tag to the click event of any user interface element, as shown in the following example:


Code

```
    <button onclick="_bvapiq.push(['FeatureUsed', {
        clientID: 'testClient',
    bvProduct: 'AskAndAnswer',  
        environment: 'staging',
        dc: 'custom_DC',
        name: 'Feature_Button',
        brand: 'Test Brand',
        productId: '1234567-bunnyhat',
        categoryId: 'hats',
        detail1: 'First feature detail',
        detail2: 'Second feature detail'
    }]);">Feature Button</button>


```


###  Data and mapping

| Field | Built-in Mapping | Description |
| :---: | :---: | :---: |
| brand | product.brand, product.productInfo.brandID | Client-centric brand name to which the product belongs, if available.<br> <br>**Priority:** Recommended |
| bvProduct | bvProduct | Name of the Bazaarvoice product for the event being sent. Possible values include **RatingsAndReviews** and **AskAndAnswer**.<br> <br>**Priority:** Required |
| categoryId | product.categoryId, product.category.primaryCategory | Client-centric ID of the category being viewed.<br> <br>Unique within the client's product catalog.<br> <br>**Priority:** Recommended |
| clientID | clientID | Name of the Bazaarvoice client on whose behalf the event was sent.<br> <br>This is the same value as the Workbench login.<br> <br>**Priority:** Required |
| dc | page.dc, page.pageInfo.region | Display code or other UI variant identifier. If you are not familiar with this code, contact your Support Engineer.<br> <br>**Default value:** window.navigator.language<br> <br>**Priority:** Required |
| detail1 | event.detail1, event[].detail1, event.category.subDetail1, event[].category.subDetail1, (attribute) bvDetail1 | First-level sub-detail for the feature.<br> <br>Bazaarvoice recommends that the fields `filter`, `sort`, and `paginate` are tagged and labeled in this field.<br> <br>Feature usage metrics automatically aggregate by feature name, detail1, and detail2 (in that order), so you can extract hierarchical metrics given carefully crafted detail attributes.<br> <br>**Priority:** Required |
| detail2 | event.detail2, event[].detail2, event.category.subDetail2, event[].category.subDetail2, (attribute) bvDetail2 | Second-level sub-detail for the feature. See "detail1." Default = \_bvGetState("event.detail2").<br> <br>**Priority:** Recommended |
| environment | environment | Application environment from which the event was sent. **prod** is for production code. **staging** is for testing and debugging.<br> <br>**Default value:** 'prod'<br> <br>**Priority:** Recommended |
| host | page.host, page.pageInfo.hostName | Hostname for the page from which the event was sent.<br> <br>**Default value:** window.location.hostname<br> <br>**Priority:** Optional |
| name | event.name, event[].name, (attribute) bvName | Name of the feature used, for example: "sort", "paginate", "InView."<br> <br>**Priority:** Required |
| productId | product.productId, product.productInfo.productID | Client-centric product ID for features used in the context of a product.<br> <br>Unique within the client's product catalog.<br> **Note:** It **MUST match** the product's `ExternalId` in your product catalog.<br> <br>**Priority:** Required |
| ref | page.ref, page.pageInfo.referringURL | Referrer of the page from which the event was sent, if available. <br>**Default value:** document.referrer<br> <br>**Priority:** Recommended |
| rootCategoryId | product.rootCategoryId, product.category.rootCategory | Client-centric category ID of the root category relative to the category identified by the `<categoryId>` property value.<br> <br>Unique within the client's product catalog.<br> <br>**Priority:** Optional |

##  FeatureUsedInView tag

**FeatureUsedInView** indicates that UGC is visible on the page. Since this tag is triggered when UGC is first made visible, users have not yet had the opportunity to interact with the content. This tag will only be triggered once each page loads.

### Event binding

**FeatureUsedInView** is paired with **FeatureUsedViewedUGG** and executed on page load. This tag binds to the **bvViewedUGC** event as shown in the following example:


Code

```
    var InViewData = {
        clientID: 'testClient',
    bvProduct: 'RatingsAndReviews', 
        environment: 'staging',
        bvAttributes: {
            minVisiblePixels: 100,
            debouncePeriodMs: 250,
            inviewTime: 5000,
            containerId: 'bvUGC'
        },
        dc: "custom_DC",
        productId: '1234567-bunnyhat',
        brand: 'Test Brand',
        categoryId: 'hats',
        rootCategoryId: 'garments'
    };
    _bvapiq.push(['FeatureUsedInView', InViewData]);
    $(window).on('resize, scroll', function(event) {_bvapiq.push(['FeatureUsedInView', InViewData]); });
    $(window).on('bvViewedUGC', function(event) {_bvapiq.push(['FeatureUsedViewedUGC', InViewData]); });

```


**Note:** This tag binds to high-volume events. Code internal to the tag filters events, so that tests are not performed on every occurrence of an event. This filtering limits test frequency to prevent excessive CPU load.

### Data and mapping

| Field | Built-in Mapping | Description |
| :---: | :---: | :---: |
| brand | product.brand, product.productInfo.brandID | Client-centric brand name to which the product belongs, if available. <br>**Priority:** Recommended |
| bvProduct | bvProduct | Name of the Bazaarvoice product for the event being sent. Possible values include **RatingsAndReviews** and **AskAndAnswer**.<br> <br>**Priority:** Required |
| categoryId | product.categoryId, product.category.primaryCategory | Client-centric ID of the category being viewed.<br> <br>Unique within the client's product catalog.<br> <br>**Priority:** Recommended |
| clientID | clientID | Name of the Bazaarvoice client on whose behalf the event was sent.<br> <br>This is the same value as the Workbench login.<br> <br>**Priority:** Required |
| dc | page.dc, page.pageInfo.region | Display code or other UI variant identifier. If you are not familiar with this code, contact your Support Engineer.<br> <br>**Default value:** window.navigator.language<br> <br>**Priority:** Required |
| debouncePeriodMs | bvAttributes.dbouncePeriodMs | Time period in milliseconds that is enforced between debounced events.<br> <br>**Default value:** 250<br> <br>**Priority:** Optional |
| environment | environment | Application environment from which the event was sent. **prod** is for production code. **staging** is for testing and debugging.<br> <br>**Default value:** 'prod'<br> <br>**Priority:** Recommended |
| host | page.host, page.pageInfo.hostName | Hostname for the page from which the event was sent. <br>**Default value:** window.location.hostname<br> <br>**Priority:** Optional |
| productId | product.productId, product.productInfo.productID | Client-centric product ID for features used in the context of a product.<br> <br>Unique within the client's product catalog.<br> **Note:** It **MUST match** the product's `ExternalId` in your product catalog.<br> <br>**Priority:** Required |
| ref | page.ref, page.pageInfo.referringURL | Referrer of the page from which the event was sent, if available. <br>**Default value:** document.referrer<br> <br>**Priority:** Recommended |
| rootCategoryId | product.rootCategoryId, product.category.rootCategory | Client-centric category ID of the root category relative to the category identified by the `<categoryId>` property value.<br> <br>Unique within the client's product catalog.<br> <br>**Priority:** Optional |

The following table is a set of control parameters that are not sent with the tag but control the tag's behavior. The parameters must appear in the data layer.

| bvAttribute | Description |
| :---: | :---: |
| containerId | DOM ID of the container that holds UGC items.<br> <br>**Priority:** Required |
| debouncePeriodMs | Time period in milliseconds that is enforced between debounced events.<br> <br>**Default value:** 250<br> <br>**Priority:** Optional |
| inviewTime | How long the UGC container must be visible, in milliseconds, for it to be considered "viewed."<br> <br>**Default value:** 5000<br> <br>**Priority:** Optional |
| minVisiblePixels | Minimum number of vertical pixels of the UGC container that must be displayed for UGC to be considered visible.<br> <br>**Default value:** 100<br> <br>**Priority:** Optional |

##  FeatureUsedViewedUGC tag

Five seconds, or a client-defined delay, after the **FeatureUsedViewedUGC** event is triggered, a **bvViewedUGC** event occurs. The **ViewedUGC** tag is triggered if UGC is still visible in the display window when this event is processed. **ViewedUGC** only triggers once each page loads. If UGC is not viewable when **ViewedUGC** tests it, the tag will re-arm the **bvViewedUGC** event and try again later.

### Event binding

**FeatureUsedViewedUGG** is paired with **FeatureUsedInView** and is executed on page load. This tag binds to the **bvViewedUGC** event as shown in the following example:


Code

```
    var InViewData = {
        clientID: 'testClient',
    bvProduct: 'Sampling', 
        environment: 'staging',
        bvAttributes: {
            minVisiblePixels: 100,
            debouncePeriodMs: 250,
            inviewTime: 5000,
            containerId: 'bvUGC'
        },
        dc: "custom_DC",
        productId: '1234567-bunnyhat',
        brand: 'Test Brand',
        categoryId: 'hats',
        rootCategoryId: 'garments'
    };
    _bvapiq.push(['FeatureUsedInView', InViewData]);
    $(window).on('resize, scroll', function(event) {_bvapiq.push(['FeatureUsedInView', InViewData]); });
    $(window).on('bvViewedUGC', function(event) {_bvapiq.push(['FeatureUsedViewedUGC', InViewData]); });



```


###  Data and mapping

The data and mapping used by **FeatureUsedViewedUGC** matches the data and mapping used by **FeaturesUsedInView**. These two tags are essentially two versions of the same event.

| Field | Built-in Mapping | Description |
| :---: | :---: | :---: |
| brand | product.brand, product.productInfo.brandID | Client-centric brand name to which the product belongs, if available. <br>**Priority:** Recommended |
| bvProduct | bvProduct | Name of the Bazaarvoice product for the event being sent. Possible values include **RatingsAndReviews** and **AskAndAnswer**.<br> <br>**Priority:** Required |
| categoryId | product.categoryId, product.category.primaryCategory | Client-centric ID of the category being viewed.<br> <br>Unique within the client's product catalog.<br> <br>**Priority:** Recommended |
| clientID | clientID | Name of the Bazaarvoice client on whose behalf the event was sent.<br> <br>This is the same value as the Workbench login.<br> <br>**Priority:** Required |
| dc | page.dc, page.pageInfo.region | Display code or other UI variant identifier. If you are not familiar with this code, contact your Support Engineer.<br> <br>**Default value:** window.navigator.language<br> <br>**Priority:** Required |
| debouncePeriodMs | bvAttributes.dbouncePeriodMs | Time period in milliseconds that is enforced between debounced events.<br> <br>**Default value:** 250<br> <br>**Priority:** Optional |
| environment | environment | Application environment from which the event was sent. **prod** is for production code. **staging** is for testing and debugging.<br> <br>**Default value:** 'prod'<br> <br>**Priority:** Recommended |
| host | page.host, page.pageInfo.hostName | Hostname for the page from which the event was sent. <br>**Default value:** window.location.hostname<br> <br>**Priority:** Optional |
| productId | product.productId, product.productInfo.productID | Client-centric product ID for features used in the context of a product.<br> <br>Unique within the client's product catalog.<br> **Note:** It **MUST match** the product's `ExternalId` in your product catalog.<br> <br>**Priority:** Required |
| ref | page.ref, page.pageInfo.referringURL | Referrer of the page from which the event was sent, if available. <br>**Default value:** document.referrer<br> <br>**Priority:** Recommended |
| rootCategoryId | product.rootCategoryId, product.category.rootCategory | Client-centric category ID of the root category relative to the category identified by the `<categoryId>` property value.<br> <br>Unique within the client's product catalog.<br> <br>**Priority:** Optional |

The following table is a set of control parameters that are not sent with the tag but control the tag's behavior. The parameters must appear in the data layer.

| bvAttribute | Description |
| :---: | :---: |
| containerId | DOM ID of the container that holds UGC items.<br> <br>**Priority:** Required |
| debouncePeriodMs | Time period in milliseconds that is enforced between debounced events.<br> <br>**Default value:** 250<br> <br>**Priority:** Optional |
| inviewTime | How long the UGC container must be visible, in milliseconds, for it to be considered "viewed."<br> <br>**Default value:** 5000<br> <br>**Priority:** Optional |
| minVisiblePixels | Minimum number of vertical pixels of the UGC container that must be displayed for UGC to be considered visible.<br> <br>**Default value:** 100<br> <br>**Priority:** Optional |

##  PageViewCategory tag

**PageViewCategory** indicates that a user has loaded a product category page. The **PageViewCategory** tag should be triggered on every category page, on every load.

### Event binding

**PageViewCategory** should be enabled on the analytics JavaScript load, so the tag is triggered immediately upon page load, as shown in the following code:


Code

```
window._bvapiq = window._bvapiq || [];
_bvapiq.push(['PageViewCategory', CategoryData]);
$.getScript('http://magpie-static.ugc.bazaarvoice.com/magpie-api/1.2/bvAnalyticsAPITracker.js')


```


###  Data and mapping

| Field | Built-in Mapping | Description |
| :---: | :---: | :---: |
| clientID | clientID | Name of the Bazaarvoice client on whose behalf the event was sent.<br> <br>This is the same value as the Workbench login.<br> <br>**Priority:** Required |
| categoryId | product.categoryId, product.category.primaryCategory | Client-centric ID of the category being viewed.<br> <br>Unique within the client's product catalog.<br> <br>**Priority:** Recommended |
| dc | page.dc, page.pageInfo.region | Display code or other UI variant identifier. If you are not familiar with this code, contact your Support Engineer.<br> <br>**Default value:**window.navigator.language<br> <br>**Priority:** Required |
| environment | environment | Application environment from which the event was sent. **prod** is for production code. **staging** is for testing and debugging.<br> <br>**Default value:**'prod'<br> <br>**Priority:** Recommended |
| ref | page.ref, page.pageInfo.referringURL | Referrer of the page from which the event was sent, if available. <br>**Default value:**document.referrer<br> <br>**Priority:** Recommended |
| rootCategoryId | product.rootCategoryId, product.category.rootCategory | Client-centric category ID of the root category relative to the category identified by the `<categoryId>` property value.<br> <br>Unique within the client's product catalog.<br> <br>**Priority:** Recommended |
| host | page.host, page.pageInfo.hostName | Hostname for the page from which the event was sent. <br>**Default value:**window.location.hostname<br> <br>**Priority:** Optional |

### Data examples


Code

```
var ProductData = {
    clientID: 'example_client_name',
    environment: 'staging',
    page: {
        pageInfo: {
            region: "custom_dc",
            hostName: "bazaarvoice.com"
        }
    },
    product: {
        category: {
            categoryID: 'testCategory',
            rootCategory: 'testing'
        }
    }
};


var ProductDataFlat = {

    clientID: 'example_client_name',
    environment: 'staging',
    dc: "custom_dc",
    host: "bazaarvoice.com",
    categoryId: 'testCategory',
    rootCategoryId: 'testing'
};
```


##  PageViewProduct tag

**PageViewProduct** indicates that a user has loaded a product page. The **PageViewProduct** tag should be triggered on every product page and every load. It should not be hidden behind a tab or otherwise prevented from triggering on page load. This tag works in conjunction with the **[ConversionTransaction](/articles/ratings-reviews/signal_tag_mgr/a/piiconversiontransaction-tag)** tag to power much of Bazaarvoice's internal reporting.

### Event binding

As shown in the following example, loading the analytics tag's JavaScript enables **PageViewProduct**, so the tag is triggered immediately upon page load:


Code

```
    _bvapiq.push(['PageViewProduct', {
        clientID: 'testClient',
    bvProduct: 'RatingsAndReviews', 
        environment: 'staging',
        dc: "custom_DC",
        productId: '1234567-bunnyhat',
        brand: 'Test Brand',
        categoryId: 'hats',
        rootCategoryId: 'garments',
        numReviews: 1,
        numQuestions: 0,
        numAnswers: 0,
        avgRating: 5.0,
        percentRecommended: 100
    } ]);


```


###  Data and mapping

| Field | Built-in Mapping | Description |
| :---: | --- | --- |
| avgRating | product.avgRating, product.attributes.ugc.averageRating | Average star rating for this product.<br> <br>Include if this value is shown to users, even if the value is **0**; otherwise, do not include this field.<br> <br>**Priority:** Recommended |
| brand | product.brand, product.productInfo.brandID | Client-centric brand name to which the product belongs, if available. <br>**Priority:** Recommended |
| bvProduct | bvProduct | Name of the Bazaarvoice product for the event being sent. Possible values include **RatingsAndReviews** and **AskAndAnswer**.<br> <br>**Priority:** Required |
| categoryId | product.categoryId, product.category.primaryCategory | Client-centric ID of the category being viewed.<br> <br>Unique within the client's product catalog.<br> <br>**Priority:** Recommended |
| clientID | clientID | Name of the Bazaarvoice client on whose behalf the event was sent.<br> <br>This is the same value as the Workbench login.<br> <br>**Priority:** Required |
| dc | page.dc, page.pageInfo.region | Display code or other UI variant identifier. If you are not familiar with this code, contact your Support Engineer.<br> <br>**Default value:** window.navigator.language<br> <br>**Priority:** Required |
| environment | environment | Application environment from which the event was sent. **prod** is for production code. **staging** is for testing and debugging.<br> <br>**Default value:** 'prod'<br> <br>**Priority:** Recommended |
| host | page.host, page.pageInfo.hostName | Hostname for the page from which the event was sent. <br>**Default value:** window.location.language<br> <br>**Priority:** Optional |
| numAnswers | product.numAnswers, product.attributes.ugc.numAnswers | Number of answers for this product.<br> <br>Include if this value is shown to users, even if the value is **0**; otherwise, do not include this field.<br> <br>**Priority:** Required if bvProduct:'AskAndAnswer' |
| numQuestions | product.numQuestions, product.attributes.ugc.numQuestions | Number of questions for this product.<br> <br>Include if this value is shown to users, even if the value is **0**; otherwise, do not include this field.<br> <br>**Priority:** Required if bvProduct:'AskAndAnswer' |
| numReviews | product.numReviews, product.attributes.ugc.numReviews | Number of reviews for this product.<br> <br>Include if this value is shown to users, even if the value is **0**; otherwise, do not include this field.<br> <br>**Priority:** Required if bvProduct:'RatingsandReviews' |
| percentRecommended | product.percentRecommended, product.attributes.ugc.percentRecommended | Percentage of users who would recommend this product. The value should be between **0** and **1**.<br> <br>Include if this value is shown to users, even if the value is **0**; otherwise, do not include this field.<br> <br>**Priority:** Optional |
| productId | product.productId, product.productInfo.productID | Client-centric product ID for features used in the context of a product.<br> <br>Unique within the client's product catalog.<br> **Note:** It **MUST match** the product's `ExternalId` in your product catalog.<br> <br>**Priority:** Required |
| ref | page.ref, page.pageInfo.referringURL | Referrer of the page from which the event was sent, if available. <br>**Default value:** document.referrer<br> <br>**Priority:** Recommended |
| rootCategoryId | product.rootCategoryId, product.category.rootCategory | Client-centric category ID of the root category relative to the category identified by the `<categoryId>` property value.<br> <br>Unique within the client's product catalog.<br> <br>**Priority:** Recommended |

##   
PIIConversionTransaction tag

**PIIConversionTransaction** indicates a commercial conversion occurred that includes personal identifying information (PII), but is otherwise a duplicate **ConversionTransaction**. This tag is sent through different channels and to a different endpoint to satisfy privacy concerns. The collected PII information is transmitted, stored, and used only for review requests.

**Note:** The Analytics for API tags **ConversionTransaction**, **PIIConversionTransaction**, and **Conversion** together perform the same functions as the BV Pixel. If you have already implemented the BV Pixel, it is not necessary to change your implementation to use these tags.

Refer to Implementing the BV Pixel with analytics tags for full implementation examples.

### Event binding

Include the **PIIConversionTransaction** tag on a confirmation page load, as shown in the following example:


Code

```
<script>
    window._bvapiq = window._bvapiq || [];
    _bvapiq.push(['PIIConversionTransaction', TransactionData]);
    $.getScript('//magpie-static.ugc.bazaarvoice.com/magpie-api/1.4/bvAnalyticsAPITracker.min.js.gz');
</script>

```


###  Data and mapping

| Field | Built-in Mapping | Description |
| :---: | :---: | :---: |
| clientID | clientID | Name of the Bazaarvoice client on whose behalf the event was sent.<br> <br>This is the same value as the Workbench login.<br> <br>**Priority:** Required |
| email | transaction.email, transaction.profile.profileInfo.email | User's email address.<br> <br>**Priority:** Required |
| orderId | transaction.orderId, transaction.transactionID | Unique ID of the order.<br> <br>**Priority:** Required |
| sku | items[].sku, items[].productInfo.sku | This is the Bazaarvoice product external ID. Sometimes this is a SKU code, but often it is some other product ID. It is used specifically with Bazaarvoice to uniquely identify your products.<br> **Note:** It **MUST match** the product's `ExternalId` that is sent to Bazaarvoice in your product catalog. If the ID you set for the `sku` parameter is not in your product catalog, the product will NOT be included in the review request.<br> <br>**Priority:** Required |
| total | transaction.total, transaction.total.transactionTotal | Total amount of the order.<br> <br>**Priority:** Required |
| userId | no, unless using site authentication | userId must match the userToken (user id) passed to Bazaarvoice during the review submission process. Can be omitted if an ID is not created, such as in the case of guest purchasers.<br> **Note:** Ensure your review request configuration worksheet reflects this accurately.<br> <br>**Priority:** Recommended |
| city | conversion.city, conversion.profile.address.city | City associated with the transaction. <br>**Priority:** Recommended |
| country | conversion.country, conversion.profile.address.country | Country associated with the transaction. <br>**Priority:** Recommended |
| currency | transaction.currency, transaction.total.currency | ISO 4217 alphabetic currency code.<br> <br>**Priority:** Recommended |
| dc | page.dc, page.pageInfo.region | Display code or other UI variant identifier. If you are not familiar with this code, contact your Support Engineer.<br> <br>**Default value:** window.navigator.language<br> <br>**Priority:** Required |
| environment | environment | Application environment from which the event was sent. **prod** is for production code. **staging** is for testing and debugging.<br> <br>**Default value:** 'prod'<br> <br>**Priority:** Recommended |
| nickname | transaction.nickname, transaction.profile.profileInfo.userName | User’s first name or nickname.<br> <br>**Priority:** Recommended |
| ref | page.ref, page.pageInfo.referringURL | Referrer of the page from which the event was sent, if available. <br>**Default value:** document.referrer<br> <br>**Priority:** Recommended |
| state | conversion.state, conversion.profile.address.state | State associated with the transaction.<br> <br>**Priority:** Recommended |
| zip | transaction.zip, transaction.profile.address.postalCode | Postal code associated with the transaction.<br> <br>**Priority:** Recommended |
| category | items[].category, items[].category.primaryCategory | Product category.<br> <br>**Priority:** Optional |
| shippingDate | transaction.shippingDate, transaction.total.shippingDate | Used to schedule the delivery of the email. We will send the email *x* days from this date per your specification for emailDelayDays.<br> <br>If this is not specified, the current date/time will be used automatically.<br> <br>Must be in the following format: YYYY-MM-DDTHH:mm:ss.SSS.<br> <br>**Priority:** Optional |
| host | page.host, page.pageInfo.hostName | Hostname for the page from which the event was sent. <br>**Default value:** window.location.hostname<br> <br>**Priority:** Optional |
| imageUrl | items[].imageUrl, items[].productInfo.productImage | Product image URL.<br> <br>**Priority:** Optional |
| name | items[].name, items[].productInfo.productName | Product name.<br> <br>**Priority:** Optional |
| price | items[].price, items[].price.basePrice | Product price.<br> <br>**Priority:** Optional |
| quantity | items[].quantity | Purchase quantity.<br> <br>**Priority:** Optional |
| shipping | transaction.shipping, transaction.total.shipping | Cost of shipping for the order.<br> <br>**Priority:** Optional |
| tax | transaction.tax, transaction.total.taxAmount | Amount of tax applied to the order.<br> <br>**Priority:** Optional |

[![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)