chauhanvikas / Sitecore-CDP

Sitecore CDP Integration Starter Kit and Samples

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sitecore-CDP

Sitecore CDP Examples code and the Sitecore CDP Integration Starter Kit This JavaScript sample code integrates the Sitecore CDP to gather information from any website, including page views, form submissions, add-on fields, add-to-cart events, and more.

window.mobileCheck

  • Function has been used to detect the device.

SitecoreCDPVariable : To declared the required parameters to connect Sitecore CDP and target website

SubscribeContactUS :

  • function is sample exaple to push the form data to CDP.

AddUpdateExtendedField :

  • function is used to extension field to Sitecore CDP

SubscribeUserRegistration :

  • function is used to save the Registered user data and identify the user

AddLocationTosession :

  • Function is used to add geo data and Geo location service needs tob integrate

AddItemtoCart :

  • function is used for to add product detail to CDP when user add prodcuts in Cart.

Checkout :

  • function is used to add checkout event

Search :

  • function is used to add search text to CDP

CollectPageView :

  • function is used to save page view event to CDP

Sample decision-model to identify most visited product category from Ordercloud headstart and recommonded the most viewd products of that category

An example decision-model and full stack experience implementation of how to push a personalised product recommendation based on user interest as determined by website form submission

About

Sitecore CDP Integration Starter Kit and Samples


Languages

Language:JavaScript 100.0%