1. Home
  2. Knowledge Base
  3. Affiliate Management
  4. Displaying the Affiliate ID in the Landing Page URL
  1. Home
  2. Knowledge Base
  3. FAQs for Vendors
  4. Displaying the Affiliate ID in the Landing Page URL

Displaying the Affiliate ID in the Landing Page URL

Adding the affiliate ID into the landing page URL is a great way to customize a page dynamically, so the content is tailored for that visitor.

All you need to do is include the [aff_id] shortcode in the URL.

ie:

  • http://www.mydomain.com/?[aff_id]
  • http://[aff_id].mydomain.com
  • http://www.mydomain.com/[aff_id]
Process would work this way:
1: Affiliate link is clicked and the affiliate cookie is dropped.
2: When Paykickstart redirects to your landing page, it’ll replace [aff_id] with the affiliate id in the cookie (or blank if no cookie is set)
3: You can then grab this affiliate ID from the URL via a server-side or frontend script on your landing page to use as needed.
3B(optional): If using the PayKickstart API calls, attach the value of the parameter in the URL to the affiliate_id request parameter for the related call (e.g. New Purchase, Up/Downgrade etc.)
Updated on September 3, 2021

Was this article helpful?

Related Articles