Installation
To integrate the widget into your website, follow these steps:
Step 1: Install the widget script
Add the following code to your <head>
tag on every page where you want to use the widget.
<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_URL
Replace YOUR_APP_URL
with your leadgen app URL. If you don't have an app URL, please contact your account manager.
Step 3: Enjoy
That's it! You've successfully integrated the Avest widget into your website. Start enjoying its features and enhance user experience.
Dernière mise à jour
Cet article vous a-t-il été utile ?