LogoLogo
Support
Front End Tracking
Front End Tracking
  • Introduction to front-end tracking
  • Setup guide
    • Prerequisites
    • FHR activities
    • XO Search activities
    • XO Recommendations activities
  • Implementation guide
    • SDK
    • Google Tag Manager
    • REST API
  • Identities
    • User object
    • Working with identities
  • Activities
    • Activity object
    • View
    • Click
    • Add to cart
    • Remove from cart
    • Purchase
    • Custom actions
  • AI Scores
    • Setup
    • Usage
  • Best practice
  • Data handling
  • Acronyms and abbreviations
Powered by GitBook

Copyright @ 2024 Crownpeak Technology, Inc. All rights reserved.

On this page
  • SDK
  • Google Tag Manager
  • REST API

Implementation guide

PreviousXO Recommendations activitiesNextSDK

Last updated 3 months ago

You can choose from three methods to implement front-end tracking on your platform.

The Crownpeak Product Discovery client is a (universal) JavaScript library. It can be used both on the client-side and on the server-side. We recommend including the client from our for browser usage. For more advanced use cases (where a bundler is involved), we recommend the if you intend to use our client on the server-side.

We recommend this method if you are already using Google Tag Manager (GTM).

We recommend this implementation method if you do not use JavaScript and prefer to send direct HTTP requests.

SDK
Google Tag Manager
REST API
CDN
npm package