It seems that Adobe Analytics is not supported on SPA Core and SPA react libraries. There is nothing explicitly mentioned in documentation, and we would like some confirmation.
Note:
/libs/core/wcm/components/page/v3/page/page.html (HTL core page)
This has logic to include 'data-cmp-data-layer-enabled' on body tag, whereas:
/apps/spa-project-core/components/page/page.html (SPA core page)
does not have it.
Neither do any of the react core components output any of the following data tags on their respective markups:
We are working on a new development using aem-spa-project-core with React frontend and would like to implement Adobe Analytics as described here: https://experienceleague.adobe.com/docs/experience-manager-core-components/using/developing/data-layer/overview.html?lang=en
We are also utilzing the SPA React libs:
It seems that Adobe Analytics is not supported on SPA Core and SPA react libraries. There is nothing explicitly mentioned in documentation, and we would like some confirmation.
Note:
/libs/core/wcm/components/page/v3/page/page.html
(HTL core page) This has logic to include 'data-cmp-data-layer-enabled' on body tag, whereas:/apps/spa-project-core/components/page/page.html
(SPA core page) does not have it.Neither do any of the react core components output any of the following data tags on their respective markups:
Looking at the react code for the Title component, There is no reference to anything related to Analytics data: https://github.com/adobe/aem-react-core-wcm-components-base/blob/master/src/authoring/title/v2/TitleV2.tsx
Please advise:
Marking this as 'bug' and not 'feature request', due to the assumption that the page component should work at part between classical and spa versions.