What Gravity does for you
Gravity places your brand inside real conversations on AI platforms — chat apps, coding assistants, AI search. When a conversation is relevant to your product, Gravity generates an ad tuned to that specific conversation. You don’t write ad copy. There are two things you need to set up:- Install the Gravity pixel on your website so we can track who clicked your ad
- Send us your conversions so we can tell you which ads are actually driving revenue
Step 1 — Sign up and create a campaign
- Go to app.trygravity.com/advertiser/signup
- Enter your email and company name
- Add a credit card (you can set a billing plan later)
Hit save — your campaign is live.
Step 2 — Install the pixel on your website
Add this snippet to the<head> of your website. It needs to be on every page and every subdomain where a visitor might land or convert.
YOUR_ADVERTISER_ID with your ID from Settings → Organization in the dashboard.
Using Shopify? Skip this — connecting Shopify installs the pixel for you.
Verify the pixel is working
- Open your website in a browser
- Open DevTools (right-click → Inspect → Network tab)
- Look for a request to
api.trygravity.ai/track/gr-events - A
200response means it’s working
Step 3 — Set up conversion tracking
CAPI is required for conversion campaigns. Use the pixel for browser activity and CAPI for backend-confirmed purchases, signups, leads, and any other event type. Without it, conversions blocked or missed by browser tracking can go unattributed. Pick the option that matches your setup:Shopify
One-click connect. Pixel + conversions are automatic — no code needed.
Conversions API
Send conversions from your backend. Works with any platform.
App installs
Track iOS / Android installs via your backend or MMP postback.
Stripe
Connect your Stripe account or point a webhook at Gravity.
Cal.com
Booking webhook for demo / consulting flows.
Quick CAPI example
If you’re not on Shopify, here’s the gist. Full guide: Server-side conversions. 1. On your checkout/thank-you page, read the pixel’s attribution data:Step 4 — Watch it run
Dashboard → Campaigns → your campaign. You’ll see:- Impressions, clicks, and spend
- Conversion count and ROAS (once conversions are flowing)
- Top-performing publishers and conversation topics
Optional — Improve attribution accuracy
For even better tracking (especially on Safari and browsers that block third-party cookies), you can route pixel requests through your own domain. It’s a simple forwarding rule — no custom code. See the first-party proxy setup in the Pixel guide.Next
Conversions API
Full CAPI setup guide with Python, Node.js, and cURL examples.
Campaigns
Targeting, bidding, and creative guidelines.

