Track Stripe Payments: Complete Setup Guide 2025

Connect Stripe to Pimms in minutes with no coding required. Track every payment with complete sales attribution showing which campaigns generate your best customers.

Published May 16, 2025
Updated September 14, 2025
Track Stripe Payments: Complete Setup Guide 2025

Stripe payment tracking lets you see exactly which marketing campaigns generate actual sales from your online store. This complete guide shows you how to connect Stripe to Pimms in 5-10 minutes with zero coding required.

You'll get real-time sales attribution showing which ads, email campaigns, or YouTube posts drive actual purchases through your Stripe checkout. Perfect for e-commerce analytics with complete revenue tracking from click to sale.

What you'll accomplish: Complete Stripe integration, payment tracking setup, and sales attribution for every transaction in your store.

Pimms is officially listed on the Stripe marketplace:
👉 View listing

You have two ways to connect Stripe and Pimms:

  • Option A: Share tracked short links created with Pimms (best for email, LinkedIn, social, etc.)
  • Option B: Add Pimms tracking on your website and keep Stripe buttons as-is

Let’s go through it step by step.

1. Connect Stripe to Pimms

  1. Log in to your Pimms dashboard
  2. Go to Integrations → Stripe and click Enable
  3. Choose Test or Production mode
  4. Click Accept to authorize Stripe

Authorize Stripe permissionsAuthorize Stripe permissions

  1. Double-check your Stripe settings:

If needed:

  • Go to Settings → Team and security → Apps
  • Find Pimms and click Connect workspace

Connect workspace StripeConnect workspace Stripe

  • Choose your workspace and confirm

Authorize Pimms StripeAuthorize Pimms Stripe

✅ You’re now connected!

Successful connectionSuccessful connection

  1. In your Stripe dashboard, click Create payment link
  2. Configure your product and pricing
  3. Copy the payment link (e.g. https://buy.stripe.com/xyz)

Create Stripe payment linkCreate Stripe payment link

You have two main ways to track Stripe payments with Pimms — depending on how the payment link is used.

This is the fastest and easiest way to get started.

Use this when you want to share a Stripe payment link directly — without sending visitors to another web page first.

  1. Go to Pimms
  2. Create a short link and paste your Stripe payment URL
  3. Enable Conversion tracking

You’ll get a link like:

Code
https://pim.ms/xyz

When someone clicks this link and completes the payment, Pimms will automatically attribute the sale to the original link — with full statistics to follow.


Use this when the Stripe payment link is triggered by a button click on your website.

Here’s the key:
Don’t embed a Pimms short link directly in your site’s HTML.

Why?
Because all sales will be attributed to that same embedded link — not to the original Pimms link that brought the visitor to your website.

👉 What you want is to attribute the sale back to the Pimms link that was originally clicked (from an ad, email, post, etc.).

To do that:

  1. Use your normal Stripe payment link and append this parameter:
HTML
<a href="https://buy.stripe.com/xyz?pimms_client_reference_id=1">Buy now</a>
  1. Include the Pimms tracking script in your global HTML (typically in the <head> of your site):

Important: Paste the following script in all the pages of your website.

HTML
<script defer src="https://cdn.pimms.io/analytics/script.detection.js"></script>

For developers: alternatively, use the Pimms SDK and Server-side tracking

Verify your script installation

Use our free tool to automatically check if the Pimms analytics script is properly installed on your website.

✅ Option C: Trigger the Stripe payment from your website (Using Stripe Checkout)

For this option, please refer to this specific guide.

Once this setup is done — you’re all set ✅

You can now generate as many Pimms short links as you want pointing to your website.
Each one will automatically track and attribute the sale correctly based on the visitor’s original click.

4. See your Stripe sales in Pimms

Every tracked sale will show up in your Pimms dashboard, with full attribution:

  • Source (e.g. LinkedIn, Email, Ads)
  • Channel
  • Campaign
  • Clicked link

Sales tracking with PimmsSales tracking with Pimms

FAQs

Do I need coding skills to set up Stripe payment tracking?

No! This Stripe payment tracking setup requires zero coding. You'll just connect your Stripe account to Pimms through the dashboard, create tracking links, and start seeing sales attribution data immediately. Perfect for non-technical store owners.

Can I track both one-time and subscription payments?

Yes! Stripe payment tracking works for all payment types including one-time purchases, subscriptions, and recurring billing. You'll see the initial conversion when customers subscribe, plus ongoing revenue attribution for all future payments.

What if I sell multiple products at different price points?

All your Stripe products are tracked automatically once connected. Each sale shows the specific product purchased, amount, customer details, and complete attribution data showing exactly which campaign generated the revenue.

You're all set 🎉

Every Stripe sale made through your Pimms links is now tracked — with complete e-commerce analytics so you can measure what truly drives revenue.

👉 Create your first tracked link now

It starts here

If you made it this far, it's time to grab 10 free links.

10 smart links included • No credit card

Continue Reading

Explore more insights and strategies