Logo Help Portal
  • Démarrer

    Introduction

    • Aperçu de l'intégration
    • Initiation de projet
    • Conformité Email
    • Gestion de Compte

    Données

    • Echange de données
    • Adaptation de données
    • Collecte de données Web
    • Intégrations

    Channels

    • Intégration Email
    • Smart Insight
    • Predict
  • Formation

    Resources

    • Introduction
    • Auto-formation en ligne
    • Vidéos d'intégration

    Events

    • Formation mené par un formateur
    • Webinaires
    • Séminaires
    • Calendrier de formation
  • Guides d'utilisation

    Stratégie

    • Personnalisation
    • Automatisation
    • Data Monitoring

    Channels

    • Email
    • Application mobile
    • Web
    • Ads
    • SMS

    Add-ons

    • Smart Insight
    • Predict
    • Recommandations d'incitations
    • AIM
    • Relational Data
  • Articles de support technique
    Forrester Wave CCCM (Independent Platforms) Report Q4 2019

    Actualités

    • Quoi de neuf sur la Plateforme Emarsys ?
    • Mises à jour issus du CSA
    • Fonctionnalités pilotes
    • Articles sur la RGPD et la Protection des Données

    Support

    • L'aide et le support chez Emarsys
    • Gérer votre profil d'utilisateur
    • Preparing for Black Friday 2019
    • Black Friday 2019 - Best practices
  • |
  • Partners

    Enhance Partners

    • Getting Started as an Emarsys Partner
    • The Emarsys Integration Platform
    • Automation Center Integrations
  • Dévelopeurs
  • Etat du système
Besoin d’aide?
Français Deutsch English Español Русский Türkçe 简体中文 Test New Chat
Connexion
  • Commencer
  • Web Data Collection
  • 0 Commencer Web Data Collection

Dans cette section :

  • Web Extend - Aperçu
  • Référence API du JavaScript de collecte de données
  • A propos du code de traçage Web Extend
  • Identifier les utilisateurs avec Web Extend
EDIT
Expand all

Référence API du JavaScript de collecte de données

Updated: 30 mai 2019 00:00
Le contenu de cet article a été mis à jour et la traduction est en cours. Nous vous recommandons de vous référer à la version anglaise jusqu'à ce que la traduction soit intégrée et que ce message soit supprimé.

The Emarsys JavaScript API (also sometimes referred to as Web Extend) is a data collection system that captures the activity and behavior of website visitors. This information is used to enrich your Emarsys contact database with web behavior fields, and to generate personalized product recommendations for the Predict solutions.

Ready to jump in? Find our Javascipt API reference on the Emarsys Developer Hub.

How this works with other Emarsys products

The Emarsys JavaScript API may be used for both data collection and for obtaining Predict product recommendations. API features which are related to other Emarsys products (such as Predict) are marked as such in the Command Reference.

Prerequisites

In order to use the JavaScript API, you have to load the scarab-v2.js JavaScript source to your page. The code snippet you need to insert into your websites HTML is available in your Emarsys Marketing Platform account. To display it, go to Admin > Data Sources and click Show tracking code in the Web Behavior box. The code you will see in the modal window already contains your Merchant ID, so all you need to do is paste it into your websites HTML.

Make sure to add our tracking code to all pages on your website, immediately before the </head> element. As the scarab-v2.js file is loaded asynchronously, it does not block the rendering of the page or the execution of other JavaScript code.

If you have already implemented the tracking code in your website, you can still display it at any time on the Data Sources page. To do so, find the Account Details box on the bottom right-hand side, and click Tracking code next to your Merchant ID.

Command Reference

You can find all information on implementing the Javascript API on your site on the Emarsys Developer Hub.

Web Extend supports the following commands:

  • availabilityZone (Predict command)
  • cart
  • category
  • displayCurrency
  • exclude (Predict command)
  • go
  • include (Predict command)
  • language (Predict command)
  • purchase
  • recommend (Predict command)
  • SC Object
  • searchTerm
  • setCustomerId
  • setEmail
  • tag
  • testMode
  • view
Cet article vous a-t-il été utile ?

Vous avez d’autres questions ? Envoyer une demande
Retour en haut

Emarsys est un Leader

You may also be interested in:

Articles associés

  • A propos du code de traçage Web Extend
  • Web Extend - Aperçu
  • Inspecteur
  • Implémenter les scripts de Collecte de Données Web Extend
  • Préparer votre fichier de données produit
Copyright © 2019 Emarsys eMarketing Systems. All rights reserved
Legal Notice Privacy Policy Master Services Agreement Anti-spam Policy