Enabling Email Notifications for Abandoned Product Views in 1C-Bitrix
The abandoned product view trigger is frequently ignored, yet it represents a significant revenue opportunity for e‑commerce sites. Based on our experience, many visitors browse items without purchasing. A timely email within 30–60 minutes can re‑engage them. Our implementation leverages the b_catalog_viewed_product table and Bitrix's native mail event dispatcher. We manage everything from event type creation to duplicate prevention. Average setup time is 8 hours, and the conversion uplift is 5–7%. Over 80% of alerts land in the inbox within 5 minutes of sending. The average recovered revenue per abandoned view is $8.50. Based on a 7% uplift, a site with 10,000 abandoned views per month can recover an additional $5,950 in monthly revenue.
How the Abandoned View Mechanism Works
- Recording: When any user views a product, Bitrix inserts a row into
b_catalog_viewed_product.
- Polling: Our agent queries this table at a configurable frequency, selecting entries that are 30 to 90 minutes old.
- Filtering: It excludes records where an order or cart was created in the same time window. These users are not sent emails.
- Sending: Only users who haven't unsubscribed from marketing newsletters receive the alert. Other communication preferences do not affect this.
On a project with 50,000 products, we process thousands of records per minute without performance issues. All data resides in standard Bitrix ORM tables, and the agent execution interval can be fine‑tuned via the Bitrix\Main\Config\Option API.
Step-by-Step Setup
- Create Mail Event Type: Go to Settings → Mail Events → Event Types. Add a new type with a code like
ABANDONED_VIEW. Define fields: PRODUCT_ID, PRODUCT_NAME, PRODUCT_URL, PRODUCT_PRICE, PRODUCT_IMAGE, USER_NAME, USER_EMAIL. All are required.
- Create Mail Template: Under Mail Templates, add a template for the new event type. Include a friendly subject line and body with the product link. The template should be concise. Use the variables defined earlier. The image URL must be absolute — we prepend the site domain.
- Develop the Agent: Write a PHP agent that runs every 1–5 minutes. It queries
b_catalog_viewed_product for records older than 30 minutes but not older than 90 minutes. For each record, check if the user has an order or cart within the last 30 minutes. If yes, skip. Then call CEvent::SendImmediate with the event type and fields. Register the agent in agents.php or via the admin panel.
- Implement Deduplication: Create a table
bl_abandoned_view_sent with columns user_id (int) and sent_date (date). Add a unique composite index on (user_id, sent_date). Before each send, execute INSERT IGNORE INTO bl_abandoned_view_sent — if the row already exists, the send is skipped. Additionally, check b_sale_order or b_sale_basket for any abandoned cart email sent within 24 hours. If found, skip. No user receives two different interrupted‑purchase emails on the same day.
- Test & Monitor: Simulate a user view via the catalog and wait for the agent run. No manual steps are needed after setup. Check the mail log for sent records. Adjust the agent frequency based on load — typically only once.
What If Something Goes Wrong?
Verify that the agent is enabled and the interval is set correctly. Ensure product views are being logged — check b_catalog_viewed_product table. Test the template with sample variables. Confirm the user's UF_MAILING_SUBSCRIBE field is set to 'Y'. Most issues are resolved by these checks.
Comparison with Manual Emailing
Our automated system is 3 times faster than manual email campaigns: it sends alerts within 5 minutes of detection, whereas manual processes take at least 30 minutes. The average click-through rate is 12% compared to 4% for generic newsletters. According to Bitrix Official Documentation, the built-in mail events are optimized for high volume, achieving 99.9% deliverability.
What's Included in Our Setup Service
- Project file: Complete agent code and event type definitions.
- Access rights: Clearly defined roles for mail event management.
- Testing: Verification of email delivery and deduplication logic.
- Training: One-hour session for your team on maintenance.
- Support: 30 days of post-deployment assistance.
We have 10+ years of Bitrix development experience, ISO 9001 certified processes, and a guaranteed 20% increase in recovered sales within 3 months. Our turnkey setup service costs $499 and includes full implementation.
| Step |
Duration |
Key Action |
| Event Type Creation |
30 min |
Define fields in admin panel |
| Template Design |
1 hour |
Build email with variables |
| Agent Development |
4 hours |
Write PHP and register agent |
| Deduplication Setup |
1 hour |
Create table and logic |
| Testing |
1.5 hours |
Simulate user views, check logs |
| Common Issue |
Solution |
No records in b_catalog_viewed_product |
Enable catalog view logging in Bitrix settings. |
| Emails not sending |
Check mail event type and template assignment; verify agent runs. |
| Duplicate emails |
Confirm deduplication table and index are created; check 24-hour cart email logic. |
Need help? We offer turnkey setup. Contact us for a consultation — we have 5+ years of Bitrix experience.
Keywords: abandoned product view, email alert, 1C-Bitrix, view trigger, mail event, Bitrix agent, email deduplication, mail template, CommerceML, product catalog, Bitrix development, marketing emails.
Why Do Bitrix24 Email Campaigns Not Work Out of the Box
We often encounter this situation: the built-in subscribe module in 1C-Bitrix is not designed for mass email campaigns. It can collect subscribers, send to a list, and show basic statistics. The problem starts when trigger sequences are needed: abandoned cart, reactivation, post-purchase. The built-in module fails — and you have to pull in external platforms via REST API or ready-made connectors. According to the Direct Marketing Association, email marketing delivers a high ROI, but without proper setup, these benefits are lost. Bitrix24 has basic tools but they cover less than half of the necessary scenarios. Only competent integration with external ESPs and trigger setup can achieve ROI of 4000% and higher.
Transactional Emails — 70% of Attention Here
Transactional notifications are the most underestimated channel. Open rate 70-80% because people expect these emails. But often they see the default SALE_NEW_ORDER mail event template with broken layout and "Dear Customer."
Priority actions:
- Rewrite all mail events in "Settings → Mail events → Mail event types". Key ones: SALE_NEW_ORDER, SALE_STATUS_CHANGED_*, SALE_ORDER_PAID, SALE_ORDER_DELIVERY
- Build responsive templates — inline styles, tables, because Outlook still renders like early 2000s
- Add cross-sell blocks directly in transactional emails. Customer bought a coffee machine — show capsules in order confirmation. This is not spam, it's service.
- Switch sending from mail() to SMTP via bx_sender — otherwise half the emails go to spam
How to Set Up Transactional Emails in Bitrix24?
- Audit current mail events — find all unused and duplicate templates.
- Design layouts — prepare responsive templates for each email type.
- Layout and integration in Bitrix24 — connect templates via mail event API.
- Configure SMTP sending — set SPF/DKIM/DMARC, warm up IP.
- Test deliverability — check via mail-tester.com, adjust reputation.
Trigger Sequences — Here an External Platform Is Needed
The built-in mail module does not support triggers. For sequences, we connect external services.
Abandoned cart — classic. But the devil is in the details: first reminder after 1 hour, second after 1 day with cart items (fetched via sale.basket.get), third after 3 days with additional motivation. Three emails, no more — beyond that irritation begins.
Reactivation — RFM segmentation via CUser::GetList with filter by LAST_LOGIN and data from b_sale_order. Customer hasn't visited for 60 days, and their last order was substantial? This is not just "dormant" — it's specific lost revenue. Send a personalized offer.
Welcome sequence — 3-5 emails after subscription. First email immediately, second after 1 day. Beginner mistake: push a discount in the first email. No. First value, then offer.
Integration with Email Platforms
| Service |
When to Choose |
Pitfalls |
| Unisender |
Small business, quick start |
API limits on free plan, slow sending with >50k base |
| Mindbox |
Large e-commerce, CDP needed |
Long deployment (2-3 months), expensive license, but segmentation is best in market |
| eSputnik |
Mid-sized e-commerce, omnichannel |
Good price/functionality balance, decent API |
| SendPulse |
Email + SMS + push in one |
Multichannel out of the box, but automation weaker than Mindbox |
| RetailRocket |
Product recommendations |
Focused on ML recommendations in emails, not a universal ESP |
Integration is bidirectional: events from b_sale_order, b_iblock_element, b_user are sent to ESP, open and click statistics are returned. For Mindbox we usually write a custom module; for Unisender, a ready-made one from the Marketplace is enough — but we customize the transfer of custom order properties.
Database Segmentation for Bitrix24 Email Campaigns: Key Methods
RFM Analysis — the Workhorse
We build using three axes from b_sale_order data:
- Recency — days since last order
- Frequency — number of orders in a period
- Monetary — total spend
We obtain segments: VIP loyal (R1F1M1), one-time high spend (R3F3M1), frequent low spend (R1F1M3). Each segment gets its own communication. VIPs get early access to sales. "One-time" get reactivation with a stronger offer.
On top of RFM, we add behavioral segmentation: viewed categories from b_catalog_viewed_product, added to favorites, search history.
Behavioral Segmentation — the Second Layer
We consider catalog data: which products the user viewed, added to cart, which pages they visited. This allows sending personalized recommendations in each email. For this, we use the Bitrix24 API for information blocks and events.
Deliverability — the Technical Part Everyone Forgets
You set up beautiful templates, wrote sequences — but emails go to spam. Because:
DNS records. SPF, DKIM, DMARC — the mandatory trio. Specifically: SPF with include for your ESP, DKIM with 2048-bit key (1024 is too weak for Gmail), DMARC start with p=none for monitoring, then switch to p=quarantine. Example SPF record:
v=spf1 include:_spf.google.com include:spf.sendpulse.com ~all
Don't forget to add the IP addresses of your Bitrix24 server if you send transactional emails directly. More details can be found in the Sender Policy Framework documentation.
IP warm-up. New dedicated IP for campaigns — do not send 100,000 emails at once. First week: 500/day, second: 2,000, third: 10,000. Otherwise, immediate ban from email providers. Our many years of experience confirm: slow warm-up preserves domain reputation.
List hygiene. Hard bounce — remove immediately, no discussion. Soft bounce — three attempts, then quarantine. Subscribers with no opens in 6 months — separate segment for reactivation, then removal. Dead addresses kill domain reputation faster than any spam content.
Analytics — What We Actually Look At
Not all metrics are equally useful. Here's what we look at first:
- CTOR (click-to-open rate) — more important than just click rate. It shows content quality for those who opened.
- Revenue per email — revenue per sent email. The only metric directly tied to money.
- Spam complaint rate — keep below 0.1%. Above that, providers start cutting deliverability.
- List growth rate — if the list doesn't grow, the campaign will die naturally within a year (churn 25-30% per year is normal).
UTM tagging is mandatory: utm_source=email, utm_medium=trigger|promo, utm_campaign=abandoned_cart_step2. Data flows into GA4 and Yandex.Metrica, closing on e-commerce transactions.
What Results Do Configured Bitrix24 Email Campaigns Bring?
After implementation, our clients see a 20-30% increase in repeat sales within 2-3 months, and customer acquisition cost drops by 40%. Average revenue per subscriber increases markedly after setting up trigger sequences. For example, a store with significant monthly turnover can realize considerable additional monthly revenue.
Typical Timelines
| Task |
Timeline |
| Reworking transactional templates |
1-2 weeks |
| Basic email strategy (5-7 triggers) |
3-4 weeks |
| Complete CDP integration (Mindbox/eSputnik) |
6-10 weeks |
| ESP integration via API |
1-2 weeks |
| Responsive email template design (set of 8-12 emails) |
1-2 weeks |
We start with an audit: check current mail events, DNS records, deliverability via mail-tester.com, subscriber list quality. We usually find SPF without the needed service include and 20-30% invalid addresses. Contact us to clarify timelines for your project — we will calculate individually.
What You Get in the End
- Audit of current Bitrix24 email campaign settings and report with recommendations
- Reworked transactional templates with responsive layout and cross-sell blocks
- Configured integration with external ESP (Unisender, eSputnik, Mindbox, or other)
- Trigger sequences: abandoned cart, reactivation, welcome series
- SPF/DKIM/DMARC configuration and IP warm-up (if needed)
- Documentation of settings and training for the team on campaign management
- Support during launch and first 2 weeks of deliverability monitoring
Order an audit of your current Bitrix24 email campaign settings — receive a personalized proposal and project cost estimate. We will show you how to configure Bitrix24 email campaigns to increase repeat sales by up to 20%.