Есть сайт на Тильде. Нужно настроить его связь с BPMOnline, чтобы передавалитсь данные форм.
Для этого нужно вставить код на сайт:
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
<script src="https://webtracking-v01.bpmonline.com/JS/track-cookies.js"></script>
<script src="https://webtracking-v01.bpmonline.com/JS/create-object.js"></script>
<script>
/**
* Replace the "css-selector" placeholders in the code below with the element selectors on your landing page.
* You can use #id or any other CSS selector that will define the input field explicitly.
* Example: "Email": "#MyEmailField".
* If you don't have a field from the list below placed on your landing, leave the placeholder or remove the line.
*/
var config = {
fields: {
"Name": "css-selector", // Name of a visitor, submitting the page
"Email": "css-selector", // Visitor's email
"Zip": "css-selector", // Visitor's ZIP code
"MobilePhone": "css-selector", // Visitor's phone number
"Company": "css-selector", // Name of a company (for business landing pages)
"Industry": "css-selector", // Company industry (for business landing pages)
"FullJobTitle": "css-selector", // Visitor's job title (for business landing pages)
"UseEmail": "css-selector", // Logical value: 'true' equals to visitor's opt-in to receive emails
"City": "css-selector", // City
"Country": "css-selector", // Country
"Commentary": "css-selector" // Notes
},
landingId: "9f3b1f3d-5726-4895-9ef5-8e4c82e68ea8",
serviceUrl: "https://*******************.bpmonline.com/0/ServiceModel/GeneratedObjectWebFormService.svc/SaveWebFormObjectData",
redirectUrl: ""
};
/**
* The function below creates a object from the submitted data.
* Bind this function call to the "onSubmit" event of the form or any other elements events.
* Example: <form class="mainForm" name="landingForm" onSubmit="createObject(); return false">
*/
function createObject() {
landing.createObjectFromLanding(config)
}
/**
* The function below inits landing page using URL parameters.
*/
function initLanding() {
landing.initLanding(config)
}
jQuery(document).ready(initLanding)
</script>
и добавить...
Place the edited code on your landing page. Insert the following code into the <form> tag of your form.
onSubmit="createObject(); return false"
Вторую часть добавить нельзя, так как нет доступа к коду.
Первую можно. Но вместо "css селекторов" использовать - вот это name="name" name="email" name="phone"
<input type="text" name="name" class="t-input js-tilda-rule " value="" placeholder="Иванов Александр" data-tilda-req="1" data-tilda-rule="name" style="color:#000000; border:1px solid #000000; ">
Ну... Как то так. Я так понимаю, что подобное решение описано здесь:
https://community.terrasoft.ua/articles/integracia-s-korobocnym-saitom-bez-dostupa-k-kodu-veb-formy
Ну и еще информация о внедрении:
https://academy.terrasoft.ru/documents/marketing/7-7/razdel-lendingi