Overview
Developers & API
The REST APIs for reading and inserting data, and the JavaScript pixel API.
Pull your attribution data into your own tools with the data read API, send events directly with the data insert API, or customize what the pixel tracks with the JavaScript API.
Data read API
Introduction
Read your ThoughtMetric marketing attribution data programmatically.
Performance data
Store-wide performance across every channel.
Performance by channel
Performance metrics split by marketing channel.
Performance by campaign
Ad performance broken out per campaign.
Performance by product
Your top 100 products by total sales.
Performance by category
Product metrics rolled up by category.
New vs returning customers
Orders and sales split between first-time and returning buyers.
New vs returning by channel
The new versus returning split, per channel.
Customer lifetime value
Lifetime value curves over time.
Customer LTV by channel
Average lifetime spend of customers acquired per channel.
All orders
Order-level rows with attribution attached.
Survey results
Post-purchase survey responses by answer.
Data insert API
Introduction
Send pageview, order and customer events into ThoughtMetric directly, without the tracking pixel.
Pageview event
Record a pageview.
Order event
Record an order.
Customer event
Identify the customer behind a visit.
Add to cart event
Record an add to cart.
View product event
Record a product view.