Documentation

Passing "Logged In" User ID in Coupon/Store URLs

To run a cashback site, you will need to pass the ID of the logged in user to the Affiliate Programs. This way, after the transaction is complete, your Affiliate Program will be able to tell you which user was involved.

User Registration & Login

Your users will log in and register using standard WordPress Login URLs.
  • Login: yourdomain.com/wp-login.php
  • Register: yourdomain.com/wp-login.php?action=register
Make sure you have enabled user registration in WordPress > Settings > General > Membership. Check the box which says "Anyone can Register".

Passing User ID to your Affiliate Programs

To pass the user ID, you need to use the shortcode [user] in your affiliate URLs.

For example, let us assume that the Affiliate Program of example.com has affiliate ID parameter "aid" and sub_id parameter "s1". Then if your affiliate ID is 123, you would enter the URL as:

https://www.example.com/some-inner-page/?aid=123&s1=[user]
Please read your Affiliate Program's deeplinking guide thoroughly to understand where you can pass user information.

NOTE: This shortcode only applies to your Coupon/Deal URLs, and in the Store URL for the "Visit Website" button.

Help Topics:


Last Updated 2 years ago