Ready to jump in? Find our Javascipt API reference on the Emarsys Developer Hub.
How this works with other Emarsys products
Make sure to add our tracking code to all pages on your website, immediately before the
</head> element. As the
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.
scarab-v2.js file in the tracking code.
In this case, it is the responsibility of the customers to comply with the Chrome requirements by updating their own
This ensures that Web Extend and Predict capabilities are unchanged with respect to user privacy.
Using the Emarsys hosted
scarab-v2.js file provides backward compatibility with older Chrome versions and other browsers.
For more information on the required cookie headers and attributes, see:
Capture explicit consent before collecting data
You must capture explicit consent before you start to collect data with Web Extend in that given web session.
Before you use Web Extend it is your responsibility to ensure that you always obtain the necessary consent for that data from your consumers (i.e: a natural person such as a customer, contact, or account). For more about Web Extend data collection, see the Emarsys Developer Hub.
Web Extend supports the following commands: