Consent from the chatbox: engage your visitors, even if they refuse cookies

An increasing number of Internet users systematically refuse cookies when they arrive on a site, even if those cookies can be useful, like iAdvize's. This article explains how to continue to engage all your visitors, even when they refuse to accept cookies when arriving on your site. To learn more about the legal framework and the iAdvize cookie, the article iAdvize and cookies summarizes this topic.

1. Principle

Usually, as explained in this article, the data collected by the iAdvize cookie allows it to work in two ways:

  • by targeting visitors according to the criteria of your engagement strategy
  • by tracking the data of the conversation held with iAdvize

When a visitor refuses the deposit of cookies on a site, the solution you can implement works as follows:

  • by targeting visitors according to simple criteria that do not require cookies such as the current page address, the type of device (mobile or desktop), the browser language, the time and day of the visit, etc. 
  • by offering them to accept the use of the cookie from the chatbox, so that iAdvize can follow the conversation before they engage in it. 

Since visitors have refused cookies when they arrive on your site, targeting cannot take into account:

  • the number of pages viewed
  • the time spent on the site
  • the previous page
  • the time elapsed since the last visit
  • the visits
  • referencing
  • the probability of intelligent targeting functions
  • rating criteria
  • and these visitors cannot be taken into account in the calculation of increment tests.

On the other hand, you can engage 100% of your site's visitors with iAdvize, without ever tracking them on your site for that.

2. Technical implementation

Step 1: add the "explicit cookies consent” mode in the iAdvize tag

To benefit from the explicit cookie consent :

1.1. The implementation of the iAdvize tag must be reviewed on your website, in order to add an additional parameter useExplicitCookiesConsent with the value true.

The implementation below replaces the code you were currently using on your pages.

NB: The implementation is evolving, but the iAdvize code that will be loaded and its performance remain unchanged.

This implementation does not automatically drop cookies on your site anymore, so you must now drop this tag on all your pages, without worrying about the visitor's consent. This code must therefore be executed as soon as a new visitor arrives on the site.

 

The cookie consent code is available in your iAdvize administration.

You will need to log in to iAdvize:

Once connected:

  • Click on your 'Profile' button at the top right, then click the links "Projects" and "insert this script"
  • only managers and administrators have access to the iAdvize administration

ue0OF1rw.png

BCchdkn0.png

 

On this page, you can set the Explicit Cookie consent and access the code

mceclip0.png


Available parameters:

Parameter
Type
Description
Default value
sid
(required)
Integer
Your project / website ID
-
lang
(optional)
String
Language of the livechat used for the display of chat elements in a given language.
Browser language
useExplicitCookiesConsent
(optional)
Boolean
If true, this tag will no longer automatically set a cookie on the visitor’s browsers by default. The cookie  vuid  is only implemented after the visitor has provided his explicit content when accepting the GDPR consent at the beginning of a conversation. 
false

 

1.2. Activating consent is highly recommended within the iAdvize administration

cookie-consent-implem-guide-EN-visitor-06.png

Thus, if a visitor refuses cookies from your site, he will still have access to information related to the cookies installed by iAdvize that are essential to start a conversation.

 

Step 2: set up an additional script to indicate the visitor consent on the cookie banner

In order to enable all visitors who has consented to the iAdvize cookie deposit, you will have to differentiate the audiences.

You will have to call a simple additional script when a visitor communicates its consent on the cookie consent banner of your website.

⚠ WARNING ⚠ 
You will need to add / run the following script each time the user sets or updates their consent.
This script must be triggered after the main script


When the
visitor gives his consent you must pass as second parameter true and when the visitor refuses to give his consent, you must pass as second parameter false :

Example with a visitor who gives consent:

<script>
window.iAdvizeInterface = window.iAdvizeInterface || [];
window.iAdvizeInterface.push(function(iAdvize) {
	iAdvize.set('visitor:cookiesConsent', true);
});
</script>

 

iAdvize sets an expiration date by default of 12 months for the cookie (renewable each time the visitor starts a chat on iAdvize). You can customize this expiration date by adding a third parameter expressed in seconds.


For example to set the expiration date of one year:

<script>
window.iAdvizeInterface = window.iAdvizeInterface || [];
window.iAdvizeInterface.push(function(iAdvize) {
	iAdvize.set('visitor:cookiesConsent', true, 31536000);
});
</script>

 

To go further :

  • As a visitor who already had an iAdvize conversation and now refuses cookies: the cookie will be cleaned and so, the visitor will lose access to its conversation history
  • There is no impact on the tag performance with this new parameter
  • Transaction tag: how it works? No difference
  • Custom data tag: how it works? Custom data present on the page will be available for the targeting engine, however, custom data on the previous pages for a visitor that did not consent won’t be available for the targeting engine
  • Duration of consent: starting a conversation extends the lifetime of the iAdvize cookie, to guarantee access to the conversation to the visitor
  • Duration is 12 months

3. Admin setup for GDPR consent

2 sections have been added in the Settings > Privacy > GDPR tab to allow the visitor to specify that an iAdvize cookie will be set when accepting the GDPR banner at the start of the conversation.

Both sections are customizable.

Section 1: Personalize the message when opening the chatbox

Default message:
[ENG] "To support you to the best of our ability, we use a conversational cookie and keep a history of that conversation. We also have access to your site navigation."

Engagement > Setting > Privacy > Display of legal information

cookie-consent-implem-guide-EN-legal-03.png

 

This message will be visible in the preview of the GDPR inside the chatbox.

cookie-consent-implem-guide-EN-LC-05.png

 

Section 2: Enter your legal info

A section dedicated to cookie has been added Cookie deposit” and can be customizable. 
To make it appear you will need to update the GDPR page.

Default message:

[ENG] "The cookie (vuID) that we deposit on your browser is technically necessary for the display and provision of the chat service (exchange with an agent or a chatbot). It is also used to store the language used, the number of pages viewed, the browsing time and the time of connection, and the browser type, and their URL."

implem-cookie-EN.png