<script>
window.replainSettings = {
id: '<тут значение вашего ID, его вы получили в вашем мессенджере>',
showChat: <тут значение триггера>,
excludePages: <тут значение списка страниц>,
includePages: <тут значение списка страниц>,
openChatAfterPageLoad: <тут значение да или нет>,
};
(function(u){var s=document.createElement('script');s.type='text/javascript';s.async=true;s.src=u;
var x=document.getElementsByTagName('script')[0];x.parentNode.insertBefore(s,x);
})('https://widget.replain.cc/dist/client.js');
</script>
window.replainSettings = {
id: '<ID>',
openChatAfterPageLoad: location.hash === '#open-chat',
};
<script>
window.replainSettings = {
id: 'b32e602b-4c07-41df-b37f-a2e769edc0b5', //Тут укажите ваш собственный ID
openChatAfterPageLoad: location.hash === '#open-chat',
};
(function(u){var s=document.createElement('script');s.type='text/javascript';s.async=true;s.src=u;
var x=document.getElementsByTagName('script')[0];x.parentNode.insertBefore(s,x);
})('https://widget.replain.cc/dist/client.js');
</script>
window.replainSettings = {
id: '<ID>',
excludePages: ['/news', '/articles', '/blogs'],
};
<script>
window.replainSettings = {
id: 'b32e602b-4c07-41df-b37f-a2e769edc0b5', //Тут укажите ваш собственный ID
excludePages: ['/news', '/articles', '/blogs'],
};
(function(u){var s=document.createElement('script');s.type='text/javascript';s.async=true;s.src=u;
var x=document.getElementsByTagName('script')[0];x.parentNode.insertBefore(s,x);
})('https://widget.replain.cc/dist/client.js');
</script>
window.replainSettings = {
id: '<ID>',
includePages: ['/', '/contacts'],
};
<script>
window.replainSettings = {
id: 'b32e602b-4c07-41df-b37f-a2e769edc0b5', //Тут укажите ваш собственный ID
includePages: ['/', '/contacts'],
};
(function(u){var s=document.createElement('script');s.type='text/javascript';s.async=true;s.src=u;
var x=document.getElementsByTagName('script')[0];x.parentNode.insertBefore(s,x);
})('https://widget.replain.cc/dist/client.js');
</script>
window.replainSettings = {
id: 'b32e602b-4c07-41df-b37f-a2e769edc0b5', //Тут укажите ваш собственный ID
includePages: ['/ru*', '/catalog*'],
};
<script>
window.replainSettings = {
id: 'b32e602b-4c07-41df-b37f-a2e769edc0b5', //Тут укажите ваш собственный ID
includePages: ['/ru*', '/catalog*'],
};
(function(u){var s=document.createElement('script');s.type='text/javascript';s.async=true;s.src=u;
var x=document.getElementsByTagName('script')[0];x.parentNode.insertBefore(s,x);
})('https://widget.replain.cc/dist/client.js');
</script>
window.replainSettings = {
id: '<ID>',
showChat: false,
};
<script>
window.replainSettings = {
id: 'b32e602b-4c07-41df-b37f-a2e769edc0b5', //Тут укажите ваш собственный ID
showChat: false,
};
(function(u){var s=document.createElement('script');s.type='text/javascript';s.async=true;s.src=u;
var x=document.getElementsByTagName('script')[0];x.parentNode.insertBefore(s,x);
})('https://widget.replain.cc/dist/client.js');
</script>
window.replainSettings = {
id: '<ID>',
openChatAfterPageLoad: true,
};
<script>
window.replainSettings = {
id: 'b32e602b-4c07-41df-b37f-a2e769edc0b5', //Тут укажите ваш собственный ID
openChatAfterPageLoad: true,
};
(function(u){var s=document.createElement('script');s.type='text/javascript';s.async=true;s.src=u;
var x=document.getElementsByTagName('script')[0];x.parentNode.insertBefore(s,x);
})('https://widget.replain.cc/dist/client.js');
</script>
<script>
var showReplainTimeout = 10;
setTimeout(function showReplain() {
window.ReplainAPI('open');
}, showReplainTimeout * 1000);
</script>
window.replainSettings = {
id: 'b32e602b-4c07-41df-b37f-a2e769edc0b5', //Тут укажите ваш собственный ID
showChat: !('ontouchstart' in window || navigator.maxTouchPoints),
};
<script>
window.replainSettings = {
id: 'b32e602b-4c07-41df-b37f-a2e769edc0b5', //Тут укажите ваш собственный ID
showChat: !('ontouchstart' in window || navigator.maxTouchPoints),
};
(function(u){var s=document.createElement('script');s.type='text/javascript';s.async=true;s.src=u;
var x=document.getElementsByTagName('script')[0];x.parentNode.insertBefore(s,x);
})('https://widget.replain.cc/dist/client.js');
</script>
window.replainSettings = {
id: 'b32e602b-4c07-41df-b37f-a2e769edc0b5', //Тут укажите ваш собственный ID
showChat: 'ontouchstart' in window || navigator.maxTouchPoints > 0
};
<script>
window.replainSettings = {
id: 'b32e602b-4c07-41df-b37f-a2e769edc0b5', //Тут укажите ваш собственный ID
showChat: 'ontouchstart' in window || navigator.maxTouchPoints > 0
};
(function(u){var s=document.createElement('script');s.type='text/javascript';s.async=true;s.src=u;
var x=document.getElementsByTagName('script')[0];x.parentNode.insertBefore(s,x);
})('https://widget.replain.cc/dist/client.js');
</script>
window.replainSettings = [
{
id: '<ID>',
includePages: ['/', '/news'],
},
{
id: '<ID>',
includePages: ['/', '/blogs'],
}
];
<script>
window.replainSettings = [
{
id: '47f02936-f598-4068-ba5d-8776812930fc', //Тут укажите ваш собственный ID
includePages: ['/', '/news'],
},
{
id: 'fe6fc03b-f30e-4ce1-b2e2-50f97bad4bde', //Тут укажите ваш собственный ID
includePages: ['/blogs'],
}
];
(function (u) {var s = document.createElement('script'); s.type = 'text/javascript'; s.async = true; s.src = u; var x = document.getElementsByTagName('script')[0]; x.parentNode.insertBefore(s, x); })('https://widget.replain.cc/dist/client.js');
</script>