You need to develop an integration with an analytics platform that tracks shopper activity across all Commerce Cloud pages and provides its own JavaScript library. Which statement describes how you can implement this use case in Commerce Cloud?
A. Create a custom non-global widget that includes the analytics JavaScript library and upload to Commerce Cloud as a Storefront extension which will automatically apply to all layouts.
B. Create a custom global widget with a display template that includes an inline script reference to the analytics JavaScript library and upload to Commerce Cloud as a Storefront extension.
C. On the “Application-Level JavaScript” tab on the Settings Page, add the URL for the analytics JavaScript library so that it will automatically apply to all layouts.
D. Create a custom global widget that includes the analytics JavaScript library and upload to Commerce Cloud as a Storefront extension.
Answer:B
You need to develop an integration with an analytics platform that tracks shopper activity across all Commerce Cloud pages and provides its own JavaScript library. Which statement describes how you can implement this use case in Commerce Cloud?
A. Create a custom non-global widget that includes the analytics JavaScript library and upload to Commerce Cloud as a Storefront extension which will automatically apply to all layouts. B. Create a custom global widget with a display template that includes an inline script reference to the analytics JavaScript library and upload to Commerce Cloud as a Storefront extension. C. On the “Application-Level JavaScript” tab on the Settings Page, add the URL for the analytics JavaScript library so that it will automatically apply to all layouts. D. Create a custom global widget that includes the analytics JavaScript library and upload to Commerce Cloud as a Storefront extension.