Documentation
Feedback
Guides
API Reference

Guides
Guides

Placement naming conventions

Learn the standardized naming conventions for VTEX Ads placements to ensure accurate metrics tracking and reporting.

When implementing VTEX Ads on your storefront, placement names are essential for accurate measurement and reporting of advertising metrics for each ad region on your site.

VTEX Ads uses placement identifiers to track performance, attribution, and revenue across different locations and contexts within your store. Use the following standardized naming convention to ensure consistent tracking and analytics across your VTEX Ads implementation:


_10
{platform}_{context}_{position}_{type}

Naming convention components

  • Platform: The medium where the ad is displayed (site, msite, app).
  • Context: The page or section context (home, product, search, category).
  • Position: The specific location within the page layout.
  • Type: The advertisement format (banner, product).

Examples

The following table shows how to combine these components into complete placement names:

PlatformContextPositionTypeComplete placement name
sitehomemiddlebannersite_home_middle_banner
msiteproducttop-vitrineproductmsite_product_top-vitrine_product
appsearchtop-vitrineproductapp_search_top-vitrine_product
appsearchtop-vitrinebannerapp_search_top-vitrine_banner
sitecategorybottom-vitrinebannersite_category_bottom-vitrine_banner
siteproductfilter-barproductsite_product_filter-bar_product
Contributors
1
Photo of the contributor
Was this helpful?
Yes
No
Suggest Edits (GitHub)
Contributors
1
Photo of the contributor
Was this helpful?
Suggest edits (GitHub)
On this page