A
A
Adel Abuhasira2020-11-10 18:06:48
Bitrix24
Adel Abuhasira, 2020-11-10 18:06:48

How to insert your js code into bitrix24 crm form?

1. In the Bitrix24 crm-form settings there is an item "Custom CSS" (see screenshot), but there is no "Custom js". The form is inserted on a third-party site and I would like to be able to leave some of my bike in this generated iframe, but I can’t find where
5faaabe03c503977927722.png
... I understand that if this form is used on the same Bitrix site, you need to include the metric code in the site template (I did it), but the metric does not work on submitting the form, when I insert this form through an iframe on a third-party site, can you tell me what to do more? In the goal metric itself with the desired names (which are offered), I created.
5faaac15ac854041474825.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey Nikolaev, 2020-11-10
@gromdron

1. In the Bitrix24 crm-form settings there is an item "Custom CSS" (see screenshot), but there is no "Custom js". The form is inserted on a third-party site and I would like to be able to leave some of my bike in this generated iframe, but I can’t find where ...

This is done for security reasons. You cannot add your own code to a Bitrix iframe. All interaction is carried out only through the described possibilities.
when i insert this form via iframe in third party site

Those. you insert Someone else's site -- iframe --> Your site -- Bitrix24 code --> Bitrix24??
You need the Y.Metrica code to be on your site.
If you insert:
External site --- widget --> Bitrix24
Then you need the YM code to be installed on the external site

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question