Configuration

Our documentation to help you customize Leadaki to fit your website

Before you load your the Script you can override default configurations for your website by defining leadakiSettings object.

<script>
window.cliengoCustoms = {
	googleAdWordsConversionId : "",
	googleAnalyticsId : "", 
	chatbotName : "Pilar",
	formHooksEnabled : true,
	automaticRemarketingEnabled : true,  
	chatEnabled : true,
	chatSaluteTimeInSeconds : 15,
	sessionPath: "/", /* specify script cookies path */
	hasConvertedLead : false
}
</script>

Each one of this configurations give you the ability to change default beheaviour or even implement different actions when some event happens.

googleAdWordsConversionIdIf you want to use Google AdWords Remarketing complete this Id with your AdWords Convertion Id. Check that automaticRemarketingEnabled is 'true'.
googleAnalyticsIdUse this to enable the Google Analytics integration with your account. It use to have some format like 'UA-12341234-1'
chatbotNameDefault Pilar
automaticRemarketingEnabledDefault true
chatEnabledDefault true
chatSaluteTimeInSecondsThe time when the chatbots says 'hello' the first time the visitors arrive to a website. Default 15.
hasConvertedLeadbecame true after chatbot detects a lead and post it to Cliengo