1. Documentation
  2. Referrals
  3. [gamipress_affiliate_id]


Render user’s affiliate ID.


  • current_user – Show affiliate ID of the current logged in user. Accepts: yes, no Default: yes
  • user_id – Show affiliate ID of a specific user.


Example of use inline:
Your affiliate ID: [gamipress_affiliate_id]

Example of use on a link:
<a href="http://website.com/?ref=[gamipress_affiliate_id]">Refferral link</a>
Note: The “ref” URL parameter can be configured through the add-on settings.

How can we help?