Client-Side Implementation
The general implementation process consists of the following stages (the process is described in more detail in the documentation by the links below):
Script installation. 1. Gravity Field Script
Context setup. 2. Page Context Context markup is a message to the platform about which page the user is currently on.
Setting up events for key metrics. 3. Events
For e-commerce "add to cart" and "purchase" events are mandatory. For properties that do not sell products, within the framework of the same events, other key metrics can be passed to the platform.
Product feed creation. 4. Feed - General Requirements and Additional Parameters
The feed should contain information about all the products and services the company provides. The feed is used for:
product recommendations,
user interests calculations (user affinity),
displaying Social Proof,
and in may other use cases.
Ensuring seamless user identification regardless of the limitations of the browser used (cloning third-party cookies). 5. Cookies cloning with front-end implementation
Configuring SPA events (similar to page changes on non-SPA websites). Implementation on SPA-enabled sites
Last updated
Was this helpful?