Integrate Gumroad
This guide explains how to integrate Partnero affiliate tracking into your Gumroad digital product sales.
These instructions can also be found on your Partnero account, under Integration > Guides tab > Gumroad:
Step 1: Start tracking website visitors
To track visitors on your website, you need to install the PartneroJS snippet as custom code.
Install the PartneroJS Snippet
- Go to Integration > Guides tab > Gumroad. Click Instructions.
- Copy the PartneroJS snippet:
- On Gumroad, go to Settings → Advanced
- Find the Google Analytics ID section
- Paste the PartneroJS snippet into the Custom Javascript field
- Click Save Changes.
Alternative method: If you have your own website linking to Gumroad products, add the PartneroJS snippet to your website's header before directing users to Gumroad.
Step 2: Customer sign-up tracking
Since Gumroad handles the checkout process, you need to capture customer signups before they leave your site to make a purchase. This ensures proper partner attribution.
Copy the customer sign-up tracking from Partnero integration guide:
Where to add this script:
- Your own website - Add to pages where you have Gumroad product links or buy buttons
- Before the closing </body> tag or in your website's footer
- On pages with: Product descriptions, sales pages, or anywhere users click to go to Gumroad
- Not in Gumroad - This goes on your site, not in Gumroad's Custom Javascript field
⚠️ Important: This must be on the same domain where you installed the PartneroJS snippet.
Step 3: Sales tracking
Partnero offers three sales tracking methods, each with unique instructions. Select one that works best for your setup and follow the instructions provided in the Gumroad integration guide under Integration > Guides tab > Gumroad.
Method 1: Webhooks
Use Gumroad webhooks to automatically send purchase data to Partnero for reliable transaction tracking.
Method 2: Manual ping setup
If webhooks are not available, you can use Gumroad's Ping feature for server-side transaction tracking. This requires technical setup:
Method 3: JavaScript tracking
Track sales using JavaScript when webhooks are not available. This method works for customers who purchase directly on Gumroad pages.