> ## Documentation Index
> Fetch the complete documentation index at: https://developers.criteo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Sponsored Products

> Here is a breakdown of the requirements for your sponsored product placement to pass both technical and design QA:

# Beaconing

<table>
  <thead>
    <tr>
      <th>
        Level
      </th>

      <th>
        Title
      </th>

      <th>
        Response field
      </th>

      <th>
        Explanation
      </th>

      <th>
        Mandatory
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        Placement
      </td>

      <td>
        Impression
      </td>

      <td>
        `onLoadBeacon`
      </td>

      <td>
        URL to be called when the whole placement is loaded onto the page. For sponsored products, the placement is considered "loaded" when at least one product is rendered.
      </td>

      <td>
        Yes
      </td>
    </tr>

    <tr>
      <td>
        Placement
      </td>

      <td>
        View
      </td>

      <td>
        `onViewBeacon`
      </td>

      <td>
        URL to be called when at least 50% of the first product is in the user's viewport for at least 1 uninterrupted second.

        This beacon should only be fired once.
      </td>

      <td>
        Yes
      </td>
    </tr>

    <tr>
      <td>
        Product
      </td>

      <td>
        Impression
      </td>

      <td>
        `onLoadBeacon`
      </td>

      <td>
        URL to be called when the individual product tile is loaded onto the page. If leveraging

        [universal beacons](https://developers.criteo.com/retailer-integration/docs/legacy-universal-beacons.md)

        , this field will be blank.

        This beacon should only be fired once.
      </td>

      <td>
        Yes
      </td>
    </tr>

    <tr>
      <td>
        Product
      </td>

      <td>
        View
      </td>

      <td>
        `onViewBeacon`
      </td>

      <td>
        URL to be called when the individual product tile is viewed according to IAB's viewable ad impression measurement guidelines. At least 50% of the placement must be in the user's viewport for at least 1 uninterrupted second.

        This beacon should only be fired once per product.
      </td>

      <td>
        Yes
      </td>
    </tr>

    <tr>
      <td>
        Product
      </td>

      <td>
        Click
      </td>

      <td>
        `productPage`

        and/or

        `onClickBeacon`
      </td>

      <td>
        **productPage**

        This element is a URL that will send an

        `OnClickBeacon`

        beacon to Criteo and then redirect the shopper to the item's PDP link (pulled from the product feed).

        It is possible to use this as the

        `href`

        value for the sponsored product as a way to track clicks instead of calling the

        `OnClickBeacon`

        URL.

        **onClickBeacon**

        URL to be called when the individual product tile is clicked. This refers to *any*

        click interaction with the product tile outside of adding to cart or adding to wishlist (see next two rows).

        This beacon should fire on all the range of clicks; left click, middle click, right click to open in a new tab and keyboard shortcuts that simulate a click.

        **Both**

        This label refers to cases where both

        `OnClick`

        and

        `ProductPage`

        beacons are triggered.

        <ul>
          <li>
            Important\_: These beacons are treated as separate events and are not deduplicated against each other.
          </li>
        </ul>

        Deduplication is performed only when multiple beacons of the same type are received. Criteo will handle this deduplication internally for billing purposes.
      </td>

      <td>
        Yes
      </td>
    </tr>

    <tr>
      <td>
        Product
      </td>

      <td>
        Add-to-cart
      </td>

      <td>
        `onBasketChangeBeacon`
      </td>

      <td>
        URL to be called when a product is added to or removed from the basket/cart. You can add the quantity of products as a query string parameter. If no

        `quantity`

        parameter is provided, it defaults to

        `1`

        .

        This beacon should be fired on *every* add-to-cart click event. Criteo will deduplicate clicks for billing purposes internally.
      </td>

      <td>
        Yes
      </td>
    </tr>

    <tr>
      <td>
        Product
      </td>

      <td>
        Add-to-wishlist
      </td>

      <td>
        `onWishlistBeacon`
      </td>

      <td>
        URL to be called when the product is added to the wishlist/favorites.

        This beacon should be fired on *every* add-to-wishlist click event. Criteo will deduplicate clicks for billing purposes internally.
      </td>

      <td>
        Yes
      </td>
    </tr>
  </tbody>
</table>

# Ad design

<table>
  <thead>
    <tr>
      <th>
        Check
      </th>

      <th>
        Explanation
      </th>

      <th>
        Mandatory
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        Breakpoint adherence
      </td>

      <td>
        For each window size (breakpoint), ensure the sponsored products are positioned properly and that all "sponsored" badges are displayed correctly, as shown in the mock-ups provided by Criteo.
      </td>

      <td>
        Yes
      </td>
    </tr>

    <tr>
      <td>
        Mock-up adherence
      </td>

      <td>
        The design of the mock-ups should be followed as specified:

        <ul>
          <li>
            **Product information:**

            Layout, price, rating, text orientation, and text centering.
          </li>

          <li>
            **Navigation elements:**

            Include any arrows or scrolls that are part of the product.
          </li>

          <li>
            **Title:**

            Font style should match the mock-ups.
          </li>

          <li>
            **Text:**

            Placement, font family, font size, and colors should match the mock-ups.
          </li>

          <li>
            **Sponsored text:**

            Placement, font family, font size, and color should match the mock-ups.
          </li>

          <li>
            **Contour:**

            Ensure there is a contour around the solution, following the mock-up design.
          </li>
        </ul>
      </td>

      <td>
        Yes
      </td>
    </tr>
  </tbody>
</table>

# API features

<table>
  <thead>
    <tr>
      <th>
        Check
      </th>

      <th>
        Explanation
      </th>

      <th>
        Mandatory
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        Filters leveraged in ad calls
      </td>

      <td>
        <ul>
          <li>
            **Format:**

            Ensure the filters in the ad call match the product feed.
          </li>

          <li>
            **Multiple values:**

            Ensure filters with multiple values are passed correctly using the 'in' operator.
          </li>

          <li>
            **Removal:**

            Ensure that when filters are removed, updated ad calls are made to Criteo reflecting on site.
          </li>
        </ul>
      </td>

      <td>
        Yes, if filters have been implemented
      </td>
    </tr>

    <tr>
      <td>
        Leveraging regiondata
      </td>

      <td>
        <ul>
          <li>
            **Format:**

            Ensure that the region IDs in the ad call match what is passed in the product feed
          </li>

          <li>
            **Adherence:**

            Ensure that Criteo is adhering properly to the region in our ad response
          </li>
        </ul>
      </td>

      <td>
        Yes, if regiondata has been implemented
      </td>
    </tr>
  </tbody>
</table>

# Attribution

<table>
  <thead>
    <tr>
      <th>
        Check
      </th>

      <th>
        Explanation
      </th>

      <th>
        Mandatory
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        Test purchase
      </td>

      <td>
        <ul>
          <li>
            **Format:**

            Ensure that the

            `trackTransaction`

            page is passing all parameters properly, including unitary price for each item.
          </li>

          <li>
            **Returns:**

            If leveraging the return functionality, ensure that returned orders trigger a new API call with

            `quantity=0`

            for all returned items.
          </li>
        </ul>
      </td>

      <td>
        Yes
      </td>
    </tr>
  </tbody>
</table>
