@magento/venia-adobe-data-layer

Provides Adobe Client Data Layer support in PWA Studio

Usage no npm install needed!

<script type="module">
  import magentoVeniaAdobeDataLayer from 'https://cdn.skypack.dev/@magento/venia-adobe-data-layer';
</script>

README

Venia Adobe Client Data Layer Extension

The goal of this extension is to load the Adobe Client Data Layer in an optimal way so that implementers of PWA Studio don't have to worry about it.

Note that the ACDL should only be included once on your page/app, so if you use another extension or third party script that also loads the ACDL then you would not want to use this extension. Please see this issue for more information.

Install

To install this extension, add it to the package.json of your scaffolded app, or venia-concept directory if you did not scaffold. For example:

dependencies: {
  ...
  "@magento/venia-adobe-data-layer": "~1.0.0",
  ...
}