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
  1. Implementation guide

REST API

Use the REST API to send custom activities: generate session IDs, create valid JSON activity objects, and make POST requests with your tracker key for tracking

PreviousGoogle Tag ManagerNextIdentities

Last updated 3 months ago

To construct activities yourself and devise your own method of sending them, use the Rest API:

  1. Generate your own session ID when sending activities via the Rest API. More information on session IDs can be found in the .

  2. Ensure that the request is a valid activity object in JSON format. The activity object must include the , i.e you have to generate a unique session ID for each user. More information on the activity object can be found in the .

  3. Make a POST request to the following URL with your :

POST https://collect-eu.attraqt.io/:trackerKey

To obtain your tracker key(s), reach out to your Customer Support Manager.

Identities section
user object
Activities section
tracker key