The Clearpay Online Developer Hub

Welcome to the Clearpay Online developer hub. You'll find comprehensive guides and documentation to help you start working with Clearpay Online as quickly as possible, as well as support if you get stuck. Let's jump right in!

Get Started    

Google Analytics

Why Is Google Analytics incorrectly attributing the referrer to Clearpay?

When customers pay with Afterpay, they are redirected to pages during the checkout flow, before returning to your review or confirmation page. This results in Google Analytics seeing as the last domain visited. Therefore, it attributes the referral to

The Solution - Referral Exclusion List

Add to your referral exclusion list to ensure google correctly identified the real referral source for traffic coming to your site.


Don't Exclude Afterpay Shop Traffic

Use NOT or you will hide all of the traffic originating from the Clearpay Shop Directory

Updated about a year ago

Google Analytics

Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.