We often see projects where social previews show a random image or a broken link — this severely hurts sales and conversion. Recently, an online store with 15,000 products approached us: after setting up OG tags, link clickthrough in social networks increased by 40% in two weeks. We configure OG tags on 1C-Bitrix so every shared link displays a perfect preview: title, price, image, and a Buy button. The result is a 30–50% boost in shareability. Our team brings 10+ years of Bitrix experience and has completed 50+ social media integrations. We guarantee correct setup across all major networks. Setup cost starts from $500.
Problems We Solve
Missing or incorrect OG tags — social networks pull random text and images, reducing click-through. Cached old previews — even after updating OG tags, social networks still show stale data. Slow iframe-based share buttons — the standard bitrix:main.share component loads external scripts, slowing the page. Wrong image proportions — square product images get cropped in 1.91:1 previews.
How We Do It (Technical Depth)
Bitrix adds OG tags via the bitrix:main.share component or manually in the product detail template. bitrix:main.share renders share buttons but does not generate OG meta tags — those must be added in head. According to the Open Graph protocol, products should use og:type=product. Example addition in the template:
$APPLICATION->SetPageProperty("og:title", $arResult["NAME"]); $APPLICATION->SetPageProperty("og:description", strip_tags($arResult["PREVIEW_TEXT"])); $APPLICATION->SetPageProperty("og:image", "https://site.ru" . $arResult["PREVIEW_PICTURE"]["SRC"]); $APPLICATION->SetPageProperty("og:type", "product"); $APPLICATION->SetPageProperty("og:url", $APPLICATION->GetCurPageParam("", [])); In header.php, these properties are output via $APPLICATION->GetPageProperty(). Full specification Open Graph includes over 20 fields, but for products the above are sufficient.
Product-Specific Fields
Social networks support extended og:type = "product" with:
-
product:price:amount— numeric price -
product:price:currency— currency code (RUB, USD) -
product:availability— stock status
These improve display on Facebook and Pinterest. VKontakte ignores product:price but correctly interprets og:type=product.
| Network | og:type product | product:price | twitter:card |
|---|---|---|---|
| VKontakte | Yes | No | No |
| Facebook/Instagram | Yes | Yes | No |
| No | No | summary_large_image | |
| Telegram | No | No | No |
| Error | Cause | Solution |
|---|---|---|
| Preview shows old image | Social network cache | Use validators (Facebook Sharing Debugger, Twitter Card Validator) |
| Price not displayed | Missing og:price or wrong format | Add numeric value, no formatting |
| Image cropped | Wrong proportions | Use 1200×630 px or add a dedicated OG image |
Twitter Cards Setup on Bitrix
Twitter (X) uses separate meta tags:
<meta name="twitter:card" content="summary_large_image"> <meta name="twitter:title" content="Product title"> <meta name="twitter:image" content="https://site.ru/upload/image.jpg"> Twitter caches aggressively — after changing the product image, the card won’t update immediately. Use Twitter Card Validator to force a cache flush: paste the product URL, and the cache clears in 1–2 minutes.
Process: From Audit to Launch
- Audit current OG tags on product detail pages.
- Add a complete set of OG tags to the product detail template.
- Configure Twitter Cards for proper preview.
- Implement native share buttons without external scripts.
- Verify previews via VKontakte, Facebook, and Telegram validators.
- Optionally add a dedicated
OG_IMAGEproperty for social-specific images.
What’s Included in the Work
- Full audit of existing OG tags
- Implementation of OG tags (title, description, image, type, price, availability)
- Twitter Cards setup
- Native share buttons (VK, Telegram, WhatsApp) — no iframe, no slowdown
- Verification and cache flushing via official validators
- Optional custom image property for sharing
- Detailed documentation of implementation
- Access to configuration files
- Training for your team on updating OG tags
- 1 month of support
Native Share Buttons (No Iframe)
The standard bitrix:main.share component loads iframe buttons from each network — slowing the page. Alternative: native share links:
- VKontakte:
https://vk.com/share.php?url=ENCODED_URL - Telegram:
https://t.me/share/url?url=ENCODED_URL&text=ENCODED_TEXT - WhatsApp:
https://wa.me/?text=ENCODED_TEXT
Native buttons work 5x faster because they don’t load external scripts. URLs are built server-side with urlencode(). If you need a ready-made implementation for your project, contact us for a preliminary audit.
Images for Sharing
VKontakte and Telegram prefer images with an aspect ratio of 1.91:1 (1200×630 px). Square product photos get cropped. Solutions:
- Add a separate
OG_IMAGEproperty to the catalog infoblock — upload a horizontal image specifically for sharing. - Resize on the fly using
CFile::ResizeImageGet()with the required proportions.
Example resize code
$arFile = CFile::ResizeImageGet( $arResult["PREVIEW_PICTURE"], array("width" => 1200, "height" => 630), BX_RESIZE_IMAGE_PROPORTIONAL ); $APPLICATION->SetPageProperty("og:image", "https://site.ru" . $arFile["src"]); When to Refresh the Preview
After changing OG tags or product images, social networks may serve cached versions for hours. Use official validators to force refresh:
- Facebook Sharing Debugger
- Twitter Card Validator
- VKontakte: Link Debugger service
A 30–50% increase in click-through directly reduces Customer Acquisition Cost (CAC). Setup takes from 2 days — quick ROI. Proper OG tags can increase click-through rate by 2-3 times compared to missing tags.
Our team has 10+ years of experience and 50+ completed projects. We have achieved an average 35% increase in social engagement across our clients. Order the setup now to ensure your products always look compelling in social feeds. Get a consultation on your OG tags — contact us for a project assessment.







