On SFRA

This document outlines adding the Nosto tagging using Storefront Reference Architecture (SFRA). You can find an example SFRA implementation herearrow-up-right.

Path for files below are based on SFRA so you must make sure you are adding the code snippets into the relevant cartridge. Sample files below are present in int_nosto_sfraarrow-up-right cartridge for comparison purpose.

htmlHead.isml

Adds the Nosto include script to all pages (html head).

Path: app_storefront_base/cartridge/templates/default/common/htmlHead.isml

<iscomment>NOSTO Script Tag</iscomment>
<isinclude template="nostoHeaderScript"/>
image

homePage.isml

Adds page type tagging to the home page / front page of a store.

Path: app_storefront_base/cartridge/templates/default/home/homePage.isml

image

cart.isml

Adds page type tagging to the cart page.

Path: app_storefront_base/cartridge/templates/default/cart/cart.isml

image

pageFooter.isml

Adds cart tagging to all pages.

Path: app_storefront_base/cartridge/templates/default/components/footer/pageFooter.isml

image

productDetails.isml

Adds product tagging to product detail pages.

Path: `app_storefront_base/cartridge/templates/default/product/productDetails.isml``

image

bundleDetails.isml

Adds product tagging to product bundle pages.

Path: app_storefront_base/cartridge/templates/default/product/bundleDetails.isml

image

setDetails.isml

Adds product tagging to product set pages.

Path: app_storefront_base/cartridge/templates/default/product/setDetails.isml

image

searchResults.isml

Adds category tagging to search results page.

Path: app_storefront_base/cartridge/templates/default/search/searchResults.isml

image

catLanding.isml

Adds category tagging into category pages.

Path: app_storefront_base/cartridge/templates/default/rendering/category/catLanding.isml

image

confirmation.isml

Adds order tagging to order confirmation page.

Path: app_storefront_base/cartridge/templates/default/checkout/confirmation/confirmation.isml

image

page.isml

Adds customer tagging to all pages.

Path: app_storefront_base/cartridge/templates/default/common/layout/page.isml

image

checkout.isml

Adds customer tagging to checkout pages.

Path: app_storefront_base/cartridge/templates/default/common/layout/checkout.isml

image

Last updated