- This topic has 6 replies, 3 voices, and was last updated 8 years, 8 months ago by .
Viewing 7 posts - 1 through 7 (of 7 total)
Viewing 7 posts - 1 through 7 (of 7 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP Affiliate Platform › Automatically add affiliate ID to any page URL?
Tagged: affiliate id, affilliate, eMember, facebook, social media, twitter, wp e-commerce
My client has a store and they want their affiliates to be able to click a button that will automatically post the affiliate’s link to social media sites (Twitter, FB, etc).
I’m using the WP e-Commerce store and i know there are plugins for FB Like & Share buttons, but I was wondering if there’s anyway to integrate it so that the affiliate’s ID is included in that link or if there is some way to accomplish this, whether using the Like/Share buttons or not. Preferably, there would be a button for the affiliate to click on right from the product page (visible only when an affiliate is logged in, maybe?). I’m also using the eMember plugin if that helps.
Thanks so much!
Update: There is an addon that can be use to add share links below each affiliate ads:
https://www.tipsandtricks-hq.com/wordpress-affiliate/easy-affiliate-ad-sharing-on-social-media
The affiliate platform plugin doesn’t have this type of capability.
Not a problem, thanks
So I’ve been thinking more about this because my client REALLY wants this capability. I was wondering if there is a line of PHP that calls the affiliate ID that I could use to plug in to a URL elsewhere on the site, that way the ID would be added to whatever links I need it to be on.
Is something like that possible? Thanks!
Yep, just call the following function and it will return the Affiliate ID:
wp_affiliate_get_referrer()
You are amazing! Thank you so much
We now have an addon for this:
https://www.tipsandtricks-hq.com/wordpress-affiliate/easy-affiliate-ad-sharing-on-social-media