In some cases, you can have a CTA (call-to-action) button in an offer or template’s iframe, which leads to another offer or template’s iframe.
To exclude Piano’s checkout URL as a referrer, in this case, is not directly possible as Piano’s experience is running in an iframe, and therefore if a user clicks on the button inside the iframe, the referrer URL is correct (as inside the iframe, the URL https://buy.tinypass.com/checkout... runs). Changing the referrer URL is usually not allowed due to security reasons.
However, the Piano referrer URL also includes your article URL as one of the parameters. You can parse this value from the full URL.
For example, it might look like this:
url=https%3A%2F%2sample.co%2Fcategory%2test%2Fnow-and-forever
Full request URL:
https://buy.tinypass.com/checkout/template/show?displayMode=inline&containerSelector=%23piano-container&templateId=OT43YZUVCM87&templateVariantId=OTVQJJ7Q9WS6C&offerId=fakeOfferId&showCloseButton=false&trackingId=%7Bjcx%7DH4sIAAAAAAAAAFWQW2_iMBCF_4ufMbIdX3lDvQiidqsWGlrejDMGS5B4E6cgVf3vTSjtbv00nu-cmdF5RzaUaIJmNq28VukU0QhFu4UiwHE-EEYYwcRgJjCVmMihUCrDqmhTeTcPddPNbtfzDgtqHFBfGi2kk9raDRhCYOOt9d5soB8MpwhNgMrBefTNy0zIdb5g10_6F705getSqKuzjGoiYFdT4jDpH0tShDoKtpOlj66Bg-n-bn_5p-7H3O7q4xIOcW8TqKfC3LEXQpeLnA4bd7b9ZmiSmg5GKF3-Z_PDkmev6-fi6l4r9I8Vtgm2ShdJ8Zjn6tGsFvKq1zh7iDZsqxZNqm6_H6G30IYv6Rv-P0uBuewzw4ZnWGSnOM396_3qqP_UtMNE2YxIzgQHB6J0mhHOvDCs9Dzj1vSLQhyiUXrM6ZhRMc5I3-xaaKZbqFLPyoMbbk57NKGSUMoM1frjE2u1rGHxAQAA&experienceId=EXH56ZJS2DR8&tbc=%7Bjzx%7DevvtRD909LT6qAjnGrhCK7BuG_p6wJKX01YekhfFvXa_WkkW9X1foXOkr0iGPbXX2havLDZcwtlZZxa37C086pF1WUaJBp0iV_ZH7OBSJD3-oz20Ljg2jbART1fWMxM_i9BwDmXH8YxW47BzpEbM5w&iframeId=offer-0-v53yi&url=https%3A%2F%2sample.co%2Fcategory%2test%2Fnow-and-forever&parentDualScreenLeft=-1920&parentDualScreenTop=-157&parentWidth=1920&parentHeight=562&parentOuterHeight=1057&aid=HatWf87txp&contentSection=test&contentAuthor=Piano&zone=content&contentCreated=2020-09-24T04%3A30%3A55.000Z&pageViewId=2020-09-25-16-06-25-773-7VstdLIioruHFZIu-519ce1fd9856c68aabe900ebfaaff9be&visitId=v-2020-09-25-15-46-51-943-53xpAJfYMWw8No1u-07a3064254ece5dc82042f592df434a9&userProvider=publisher_user_ref&userToken=&customCookies=%7B%7D&hasLoginRequiredCallback=false&width=1920&_qh=1bf74ad45e