Automatically append ID to at the end of specific URLs
This is very simple to achieve with JavaScript. Place this at the bottom of your page, just before </body> tag. This will append ?pp=my-affiliate-id at the end of your links. Just change the variable aid value below: <script> // Change “my-affiliate-id” below to your actual affiliate id const aid = ‘my-affiliate-id’; // Append slash with … Read more