Skip to main content
The Tracking API is how data about browsing behavior, conversion events, account information, and payments is sent to your RevGems workspace. The Tracking API receives “messages” that correspond to these events and attributes.

The Message Log

The Message Log in your RevGems dashboard gives you full insight into the data that’s being pushed to your workspace. This is especially useful while building and troubleshooting your RevGems integration.

Write-Only API

The Tracking API is a write-only API. This means data can be sent (or “pushed”) to your RevGems account, but cannot be read from it. As such, it doesn’t follow the same conventions you might find in a REST API.

Message Types

The Tracking API currently supports the message types below.
pageRepresents a page view on your marketing website, web app, help site, etc.
leadIndicates that the current visitor has just converted to a lead.
accountIdentifies an account (i.e. customer) in your system.
user(Optional) Identifies an individual belonging to an account in your system.
paymentRepresents a payment made by one of your accounts.

Client-Side Tracking (JavaScript)

Messages (aside from payments) can be tracked using the RevGems JavaScript library. The Setup Guide walks you through each step:
  1. Track Visitors (page views)
  2. Track Accounts
  3. Track Leads
The Setup Guide also shows how to Track Payments if you’re using Stripe. You can use Server-Side Payment Tracking to integrate with all other payment processors.

Server-Side Tracking

The complete Server-Side Tracking API is still in development. However, you can still use Server-Side Payment Tracking.