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 portal.clearpay.co.uk pages during the checkout flow, before returning to your review or confirmation page. This results in Google Analytics seeing portal.clearpay.co.uk as the last domain visited. Therefore, it attributes the referral to portal.clearpay.co.uk

The Solution - Referral Exclusion List

Add portal.clearpay.co.uk 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 portal.clearpay.co.uk NOT clearpay.co.uk or you will hide all of the traffic originating from the Clearpay Shop Directory

Updated 11 months 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.