Setting up product advertising in VK 1C-Bitrix

Our company is engaged in the development, support and maintenance of Bitrix and Bitrix24 solutions of any complexity. From simple one-page sites to complex online stores, CRM systems with 1C and telephony integration. The experience of developers is confirmed by certificates from the vendor.
Our competencies:
Development stages
Latest works
  • image_website-b2b-advance_0.png
    B2B ADVANCE company website development
    1212
  • image_bitrix-bitrix-24-1c_fixper_448_0.png
    Website development for FIXPER company
    815
  • image_bitrix-bitrix-24-1c_development_of_an_online_appointment_booking_widget_for_a_medical_center_594_0.webp
    Development based on Bitrix, Bitrix24, 1C for the company Development of an Online Appointment Booking Widget for a Medical Center
    565
  • image_bitrix-bitrix-24-1c_mirsanbel_458_0.webp
    Development based on 1C Enterprise for MIRSANBEL
    747
  • image_crm_dolbimby_434_0.webp
    Website development on CRM Bitrix24 for DOLBIMBY
    657
  • image_crm_technotorgcomplex_453_0.webp
    Development based on Bitrix24 for the company TECHNOTORGKOMPLEKS
    980

Configuring Product Ads in VK 1С-Bitrix

Product ads in VK are dynamic advertisements with product cards from your store catalog. To make it work, you need to: send product catalog to VK via feed, install VK pixel on site, and link purchase events to the advertising account. Bitrix supports all three steps — partly through built-in tools, partly through custom settings.

Exporting product feed for VK

VK accepts feeds in YML (Yandex Market) format or its own JSON format. Bitrix has built-in YML export via the catalog module: "Shop → Export Products → Yandex.Market". This same file works for VK.

Configure the export:

  • Select required infoblock and catalog sections
  • Enable image export (PICTURE → absolute URLs)
  • Set up OFFER_URL template — URL to product detail page
  • Specify currency type and delivery settings

Feed is saved at the path you specify (e.g., /upload/vk_feed.xml) and updated by agent per schedule — every 2–4 hours. In VK Ads personal account, add feed via URL https://your-site.ru/upload/vk_feed.xml.

Installing VK pixel

VK pixel is JavaScript code that tracks visitor actions. Get pixel ID in "VK Ads → Audiences → Pixels".

Insert pixel code in site template. In Bitrix, this is done via "Settings → Product Settings → Analytics" or directly via header.php template editing. You can also use tag manager (Google Tag Manager).

Basic pixel events to send:

  • VK.Goal('view_home') — homepage
  • VK.Goal('view_product', {products: [{id: 'PRODUCT_ID', price: PRICE}]}) — product page
  • VK.Goal('add_to_cart', {...}) — add to cart
  • VK.Goal('purchase', {products: [...], value: TOTAL}) — successful order

In catalog.element component template, add JavaScript with VK.Goal call and current product data from $arResult.

Linking purchase events via server

Browser pixel is blocked by AdBlock. For reliable purchase event delivery, use VK Conversions API — server-side sending. On order completion in OnSaleOrderPaid event handler, send POST request to https://api.vk.com/method/ads.checkRetargetingPixelDomain with order data via \Bitrix\Main\Web\HttpClient.

What we configure

  • Product export to YML with VK settings and agent update schedule
  • VK pixel code installation in site template
  • JavaScript events on product, cart, and successful order pages
  • Server-side purchase event sending via Conversions API on OnSaleOrderPaid
  • Feed binding to VK advertising account to launch dynamic ads