A
A
Alexey Bespalov2019-09-23 16:35:30
1C-Bitrix
Alexey Bespalov, 2019-09-23 16:35:30

Where should I place the Bitrix24 end-to-end analytics code in order.ajax?

The instruction at the link https://helpdesk.bitrix24.ru/open/9257317/ says:

Now you need to place a special code on the page for successfully creating or paying for an order.

<script>(window.b24order = window.b24order || []).push({ id: "КОД_ЗАКАЗА", sum: "СУММА_ЗАКАЗА" });</script>

But where is this page in sale.order.ajax? After all, the entire order is generated dynamically. Tell?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander, 2019-09-23
@FreeArcher

Place the component in the template, in the block that is displayed when the order is placed.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question