Installation
To integrate the widget into your website, follow these steps:
Step 1: Install the widget script
<script>
!function(e,t,n,s,a,c){e.AvestWidgetObject=s,e[s]=e[s]||function(){(e[s].q=e[s].q||[]).push(arguments)},e[s].l=1*Date.now(),a=t.createElement(n),c=t.getElementsByTagName(n)[0],a.async=!0,a.src="https://widget.avest.fr/widget.js",a.type="module",c?.parentNode?.insertBefore(a,c)}(window,document,"script","_aw");
_aw('init', {
// This is your leadgen app URL (eg. xxx.data-immo.com)
appUrl: 'YOUR_APP_URL',
// Possible values : 'bottom-right', 'bottom-left', 'bottom-center', 'top-right', 'top-left', 'top-center'
placement: 'bottom-right'
})
</script>Step 2: Replace YOUR_APP_URL
YOUR_APP_URLStep 3: Enjoy
Mis à jour