developer-en
  • Apprendre à utiliser Axeptio
  • SDK
    • SDK’s integration
    • Project publication
  • Cookie configuration
    • Free version
    • Pro version
    • La formule Agence
  • STEPS
    • Welcome screen
    • Les étapes
      • Choose your cookies
      • Choose your pictures
      • Texts steps
      • Le soft opt-in
  • CUSTOMIZATION
    • Personnalisez Axeptio
      • Graphic charter and front
      • The texts of the buttons
      • Widget position
      • Choice of font style and size
      • Choice of typography
    • Choisissez vos images
    • L'apparence du bouton widget
  • WEBSITE INTEGRATION
    • Typeform
    • Intégration CMS
      • Squarespace Integration
      • Joomla Integration
      • Shopify Integration
      • Drupal Integration
      • WordPress Integration
      • Intégration WIX
  • TECHNICAL INTEGRATION
    • Google Tag Manager
      • Configuration of your GTM account
      • Control your Axeptio tags with Google Tag Manager
      • Contrôle Avancé sous Google Tag Manager
    • Control your cookies in custom mode
      • Cookie Sellsy
      • Cookie Google Analytics et facebook en mode custom
  • Marketing Consent
    • Le module Consentements Marketing
      • Créer une checkbox Marketing
      • Configuration de votre registre de consentement
    • Intégration Avancé
      • Synchro Wordpres Formulaire Elementor
      • Relier Axeptio à une checkbox existante
      • Consentement Indispensable
      • Relier son consentement au mail présent dans le formulaire
  • ADVANCED SETTINGS
    • IAB
    • Consent Register
    • Multisites
    • Multilingual
    • A/B Testing
    • Activation Code
    • Base de données dédiée
  • RestFull API
    • Client API Documentation
    • API Documentation
      • Project resource example
      • Consent Box Resource Example
Powered by GitBook
On this page
  • 1. Présentation Vidéo
  • 2. Intégration du cookie Sellsy en mode custom
  • A - Représentation du chat Sellsy
  • B - Le localiser dans votre site
  • C - Le déclencher avec Axeptio

Was this helpful?

  1. TECHNICAL INTEGRATION
  2. Control your cookies in custom mode

Cookie Sellsy

Vous avez uniquement un cookie sellsy ou sellsy+ Google Analytics et ne souhaitez pas passer par Google Tag manager pour installer. Nous répondons à toutes vos questions

PreviousControl your cookies in custom modeNextCookie Google Analytics et facebook en mode custom

Last updated 5 years ago

Was this helpful?

1. Présentation Vidéo

2. Intégration du cookie Sellsy en mode custom

A - Représentation du chat Sellsy

B - Le localiser dans votre site

Voici le code qui sert à Activer le Chat Sellsy et que vous devez avoir dans le Header de votre site

<script type="application/javascript" src="https://www.sellsy.fr/?_f=snippet&hash=JUU0JUY4JThFJTgyLSU4QSVFQyVCRiVBQiVBRSUyMyVBNyVENmolQzMlMjUlRkIlOTglQUIlQzAlRjQlMTN4JUJBJUFDQiUwQSVFRnUlMDElQUElQUJhJTI3JTBCJUM5JThDJTJDJTI2byVCNSUxMDFJNiUwMiU4MiU5NiVFNiVFNiVBMTclQjAlOTclMDlPRCVENSVBNyUxOCVENiVCRiU2MCUzQw=="></script>

Il doit donc être présent sous cette forme

Nous devons donc supprimer le script et question ou désactiver le code

C - Le déclencher avec Axeptio

Nous allons transformer le script et l'encapsuler dans une fonction qui permet de lancer le script (la fonction launchSellsy

<script type="text/javascript">
    function launchSellsy(){
      var el = document.createElement('script');
      el.setAttribute('src', 'https://www.sellsy.fr/?_f=snippet&hash=JUU0JUY4JThFJTgyLSU4QSVFQyVCRiVBQiVBRSUyMyVBNyVENmolQzMlMjUlRkIlOTglQUIlQzAlRjQlMTN4JUJBJUFDQiUwQSVFRnUlMDElQUElQUJhJTI3JTBCJUM5JThDJTJDJTI2byVCNSUxMDFJNiUwMiU4MiU5NiVFNiVFNiVBMTclQjAlOTclMDlPRCVENSVBNyUxOCVENiVCRiU2MCUzQw==');
      document.head.append(el);
    }

Puis nous reprenons la fonction qui permet de lancer les scripts présente dans le back office d'Axeptio et nous disposons que si l'utilisateur choisi Sellsy on lance la fonction qui exécute le script Sellsy

    void 0 === window._axcb && (window._axcb = []);
    window._axcb.push(function(axeptio) {
      axeptio.on("cookies:complete", function(choices) {
        if(choices.Sellsy) {
          launchSellsy();
        }
      });
    });

Nous ajouterons simplement le script total en dessous du sdk ce qui donnera

<script type="text/javascript">
//Le sdk qui permet de lancer le widget Axeptio et de sauvegarder les acceptations
    var el = document.createElement('script');
      el.setAttribute('src', 'https://static.axept.io/sdk.js');
      el.setAttribute('type', 'text/javascript');
      el.setAttribute('async', true);
      el.setAttribute('data-id', '5da595af629c0c21f324965a');
      el.setAttribute('data-cookies-version', 'cabinet-mosselmans_ProdFR');
  if (document.body !== null) {
    document.body.appendChild(el);
  }

// La fonction qui permet de lancer SellSy
    function launchSellsy(){
      var el = document.createElement('script');
      el.setAttribute('src', 'https://www.sellsy.fr/?_f=snippet&hash=JUU0JUY4JThFJTgyLSU4QSVFQyVCRiVBQiVBRSUyMyVBNyVENmolQzMlMjUlRkIlOTglQUIlQzAlRjQlMTN4JUJBJUFDQiUwQSVFRnUlMDElQUElQUJhJTI3JTBCJUM5JThDJTJDJTI2byVCNSUxMDFJNiUwMiU4MiU5NiVFNiVFNiVBMTclQjAlOTclMDlPRCVENSVBNyUxOCVENiVCRiU2MCUzQw==');
      document.head.append(el);
    }

// La fonction qui relie Axeptio au lancement du cookie Sellsy
    void 0 === window._axcb && (window._axcb = []);
    window._axcb.push(function(axeptio) {
      axeptio.on("cookies:complete", function(choices) {
        if(choices.Sellsy) {
          launchSellsy();
        }
      });
    });
    </script>

Félicitation le chat Sellsy n’apparaît plus que lorsque l'utilisateur accepte de lancer celui-ci

Gérer son chat conformément au RGPD