
Want to know exactly which links generated your Stripe sales?
With PiMMs, it's simple — just use tracked links and get full attribution in your dashboard.
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
- Log in to your PiMMs dashboard
- Go to Integrations → Stripe and click Enable
- Choose Test or Production mode
- Click Accept to authorize Stripe
- Double-check your Stripe settings:
If needed:
- Go to Settings → Team and security → Apps
- Find PiMMs and click Connect workspace
- Choose your workspace and confirm
✅ You’re now connected!
2. Create your Stripe payment link
- In your Stripe dashboard, click Create payment link
- Configure your product and pricing
- Copy the payment link (e.g.
https://buy.stripe.com/xyz
)
3. Share your payment link and track sales (2 options)
You have two main ways to track Stripe payments with PiMMs — depending on how the payment link is used.
✅ Option A: Use a PiMMs short link that points directly to Stripe
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.
- Go to PiMMs
- Create a short link and paste your Stripe payment URL
- Enable Conversion tracking
You’ll get a link like:
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.
✅ Option B: Trigger the Stripe payment from your website (Using Stripe Payment Links)
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:
- Use your normal Stripe payment link and append this parameter:
<a href="https://buy.stripe.com/xyz?pimms_client_reference_id=1">Buy now</a>
- 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.
<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
You're all set 🎉
Every Stripe sale made through your PiMMs links is now tracked — so you can measure what truly drives revenue.