Your cart is currently empty!
system sending wrong affiliate link
—
by
For some reason, the links being sent out to new affiliates are using the wrong Affiliate ID. This just started happening and I need to get it fixed as soon as possible.
For example: my last affiliate id is 32, but the link sent to here was https://www.musclehammer.fit?mha=43
The same thing happened for the pervious Affililate signup
Please help
Posted in Affiliates Enterprise
Comments
12 responses to “system sending wrong affiliate link”
Hello Craig,
I must thank you for being patient with us and for being a valued customer. I have gone ahead to fix the issue you had with the wrong ID, apparently you were using [user_id] token, which would not give you the affiliate id. This required an addition of a code snippet;
add_filter( ‘affiliates_registration_tokens’, ‘example_affiliates_registration_tokens’ );
function example_affiliates_registration_tokens( $tokens ) {
if ( isset( $tokens[‘user_email’] ) ) {
$user = get_user_by( ’email’, $tokens[‘user_email’] );
if ( $user ) {
$affiliate_ids = affiliates_get_user_affiliate( $user->ID );
if ( $affiliate_ids ) {
$tokens[‘approved_affiliate_id’] = $affiliate_ids[0];
}
}
}
return $tokens;
}
And changing the [user_id] token to [approved_affiliate_id]. In addition to this, the affiliates that are approved can find their affiliate url in the affiliate dashboard once they are logged in.
Thanks a lot again for your patience and for being a valued customer. I wish you a fun and fruitful day.
Warm regards,
Eugen.
Hi Craig,
I have seen the email. Allow me some time to check and revert.
I’ll also go-ahead to create an affiliate, to see the ID which is sent out.
Have an awesome and fruitful day.
Warm regards,
Eugen.
Hi Craig,
Thanks for your help. Please use eugen [at] itthinx [dot] com.
Cheers,
Eugen.
OK i added you as admin. let me know if you don’t receive the email. thx
sure. what email do you want to use for this?
I will add you as an admin.
—————————————————————-
Here is the HTML used in the email notification when someone is approved as an Affiliate:
Thanks for joining our Affiliate Program! You are now an Approved Affiliate and eligible to receive a 25% commission on any sales you refer to us!
Here is your Affiliate link: https://www.musclehammer.fit?mha=%5Buser_id%5D
Give this out to potential customers. If they click on this link and order, our system will automatically make sure you get the credit for the sale!
If you want to add your coupon code to your link, follow this format: (this will automatically apply the coupon at checkout)
https://www.musclehammer.fit?mha=%5Buser_id%5D&apply_coupon=YOURCODEHERE
Below is your affiliate login info:
Affiliate Dashboard Link: https://www.musclehammer.fit/affiliates/
Username: [username]
You can review all of your Affiliate Stats on the Dashboard. If you have any questions on anything, don’t hesitate to reach out to us!
http://www.MuscleHammer.fit
310-426-8267
Hi Craig,
Happy new year. Thanks so much for the screenshots. Please, I would love to take a closer look at the notification templates, how are they structured and what shortcode you used in rendering the id. And to achieve this, I would need admin access to the live or staging site.
Once again thanks for the screenshots and happy new year.
Kindest regards,
Eugen.
Hey Guys, I accessed the Affiliate Dashboard as you requested and found that the ID listed there matches the ID assigned on my end….
So that means that only the email notification is sending the wrong ID to the affiliate for some reason.
See these images:
https://www.musclehammer.fit/wp-content/uploads/2020/01/screen-1.gif
https://www.musclehammer.fit/wp-content/uploads/2020/01/screen-2.png
https://www.musclehammer.fit/wp-content/uploads/2020/01/screen-3.gif
Please help!
Eugene… that’s not what I was asking…. let me rephrase the question…
In order to access the Affiliate Dashboard like you are asking, do I need the Affiliates Username and Password? Or is there a way I can access this info as the system Admin?
Hello Craig,
Thanks for rephrasing your question. In order to access the affiliate dashboard, you would need an Affiliate Account, hence you would need a Username and Password for that affiliate account.
But what I was referring to in my previous comment was a way for you to visit the manage affiliates page; [siteurl]/wp-admin/admin.php?page=affiliates-admin-affiliates, which would have a list of all the affiliates on the system and you would have the possibility to check the ID column as seen in this screen share (https://drive.google.com/file/d/1LJHqOgO6bhefxxB9tw46eheN36aI_Ji5/view).
I also mentioned the affiliate dashboard so that you could check the affiliate link for that user to see if the ID was different from that seen in the manage affiliates page . In doing so you would see the actual IDs of the affiliates and see if they are different or NOT from the one which was sent out.
If you visited the affiliate dashboard page as a system admin without an account you would be shown a form to register as one or login. Since you need to be an affiliate to view the dashboard you would need to sign up. Hence your system admin account would now be an affiliate as well.
Please let me know how it goes.
Kindest regards,
Eugen.
Hi Craig,
Thanks for your reply. You can access the affiliate dashboard by;
Using the link [siteurl]/wp-admin/admin.php?page=affiliates-admin-settings§ion=pages to generate the affiliate page if you have not yet generated one. Or create a page and add the shortcode [affiliates_dashboard] to it. Update the page and after which you should be able to visit the affiliate dashboard.
## Note: The affiliate dashboard is accessible by an Affiliate user.
For visitors who are not logged in, it will render the dashboard section that contains the login form and it also renders the registration section
A] Once you are logged in, please visit [siteurl]/wp-admin/admin.php?page=affiliates-admin-affiliates, and check the ID filter in the columns section. Take note of the ID of the affiliate of interest,
B] Then please visit the affiliate dashboard by visiting [siteurl]/affiliate-area/; given that you generate the page as explained above or by viewing the page you created above.
If the IDs in A] and B] are different or the same please let us know.
kindest regards,
Eugen.
how do I access the Affiliate Dashboard from my WP Admin page?
Hello Craig,
Happy holidays, I must apologize for the inconvenience. Please to better provide you with the most appropriate solution to your request, I would need more information.
I would like to know if the ID in Affiliates > Manage Affiliates is different from the ID that appears in the Affiliates Dashboard.
I look forward to helping you resolve this issue as soon as possible.
Thanks for using our plugins.
Warm regards,
Eugen.