Description
Note
- You need an iAdvize account
- To implement AT Connect iAdvize, you will have to use the callback functions provided by iAdvize. For each callback, you will have to associate a pages tag, click tag or publisher tag according to your goals
Installation
iAdvize callback functions are listed here:
- onChatButtonDisplayed => display chat button
- onChatDisplayed => chat display
- onChatStarted => start of the chat (initiation of the chat with message sent by the chatbot to the internet user)
- onMessageReceived => message sent to the internet user
- onChatEnded => closing of the chat windows
When one of these callbacks is detected, you can trigger a tag in the form of an AT Internet hit url in the following formats:
- For a page:
1 2 3 |
tag.page.send ({name:#pagename#,level2:#level2#}); |
- For a click:
1 2 3 |
tag.click.send({elem:this, name:#click_name#, level2:#level_2_ click#,type:'click_type'}); |
- For a publisher:
1 2 3 |
tag.publisher.send({elem :this,click :{campaignId :#id#[#campaign_label#], creation :[#creation_label#],variant : [#variant_label#],format : [#format_label#],generalPlacement : [#general_placement_label#],detailedPlacement : [#detailed_placement_label#],advertiserId : [#advertiserId_label#],url : [#url#]}); |
Callback example
1 2 3 4 5 6 7 8 |
window.iAdvizeCallbacks = { //iAdvize callback functions are listed here onChatStarted: function(obj){ // Chat session starts tag.click.send({elem:this, name:#pagename#,level2:#level_2_click#,type:#click_type#}); } }; |
Reviews
There are no reviews yet.