Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore General Questions › Track Consultant Sales from their individual web pages
Tagged: affilate ID, affiliates page
- This topic has 12 replies, 3 voices, and was last updated 9 years, 3 months ago by wzp.
-
AuthorPosts
-
August 3, 2015 at 7:56 pm #12940ontraMember
Hello, I have a customer who has individual pages for their consultants (example: [www.acme.com/bobsmith]). Is there a way if someone lands on a specific consultants page, that the e-commerace plugin can track that through the check out process to give the consultant credit for that sale. Eventually there would be hundreds of consultants that would need to be tracked
Example:
Person visiting website knows Bob Smith and goes to his specific page, [www.acme.com/bobsmith].
From there the customer go to the Shop section of the website and adds X amount of items to the cart.
Person checks out and Bob Smith gets the credit for that sale because website hit originated from his specific page.
August 3, 2015 at 10:04 pm #71006wzpModeratorYou could use the Affiliate Platform, to track movement of customers, from the consultant pages to the eStore shop pages. The links that go from the consultant pages to the shop pages would contain special “Affilate ID” information. After a sale is made, the corresponding consultants would receive a commission based on the sale.
August 4, 2015 at 8:31 pm #71007ontraMemberHi
You mention “The links that go from the consultant pages to the shop pages”, but the problem is that there will be a “Shop” button on the main menu that potential customers could click on and bypass the affiliates link that goes to the store.
Just so I understand in order for the affiliate to get credit the potential customer would have to click on the link on the affiliates page?
Thank you
August 4, 2015 at 9:41 pm #71008wzpModeratorWe’re going to make a bold assumption… the consultant pages are on the same site as the shop pages.
If that assumption is correct, then what matters most is being able to set an ap_id cookie on the user’s browser, when they visit the consultant pages.
What you do is setup some kind of custom code that will, upon visiting each consultant’s page, set the ap_id cookie to the proper Affiliate ID value.
August 4, 2015 at 10:13 pm #71009ontraMemberYes, you are correct that the consultant pages are on the same website as the shop pages.
I am not sure I fully understand how to set the custom code for the ap_id cookie, is there a tutorial on how to do that?
August 4, 2015 at 10:46 pm #71010wzpModeratorYour developer, who has a minimum of 3 months PHP programming experience, would use a code snippet similar to the one shown here; to set the ap_id cookie on each consultant’s page:
Note, the solution shown is in pseudo code.
August 5, 2015 at 12:15 am #71011ontraMemberHello
I am the designer, but I don’t have any PHP programing experience. But if I can figure out how to do one ap_id cookie, is it pretty easy to duplicate the process? Also if I get stuck could I pay you to do that via your custom work?
August 6, 2015 at 12:00 am #71012adminKeymasterUse the following option if you get stuck:
August 7, 2015 at 10:28 pm #71013ontraMemberok, I purchased the Affiliates Plugin and I was able to figure out the Affiliate ID ap_id cookie. But I have a question:
I am using WordPress and I am trying to build each affiliate a personal web page on the main website I would like the URL of each affiliates page to be their Affiliate ID, example: [www.acme.com/?ap_id=Bob] but when I go to edit the pages permalink WordPress won’t allow me to add the “?” “!” “_” and “=” does anyone know how to force WordPress to keep those characters in the permalink so the Affiliate ID can be used as the URL?
August 8, 2015 at 1:10 am #71014adminKeymasterThose are query parameters. You can create a page with query parameters that you can separately edit in WordPress. It doesn’t work that way.
August 8, 2015 at 1:40 am #71015wzpModeratorScenario 1, Common Consultant Landing Page:
There is a “common” landing page for all consultants. Visitor arrives via the same URL, but with query strings, particular to each consultant:
- Example.com/common?ap_id=tom
- Example.com/common?ap_id=hank
- Example.com/common?ap_id=harry
Additionally, there is a default ID set, so that if a visitor arrives via a link that does not contain a query string, then Doris will have her ap_id cookie set.
Scenario 2, Individual Consultant Landing Pages:
This is what you were originally asking about. Each consultant gets their own personalized landing page (and URL):
- Example.com/common/tom
- Example.com/common/hank
- Example.com/common/harry
- Example.com/common/doris
In this scenario, each page is a unique permalink. Additionally, you would “hardwire” the appropriate custom code (that we previously talked about) into each page, so that the appropriate ap_id cookie values get set.
August 10, 2015 at 7:41 pm #71016ontraMemberOk, thank you very much. I think I found a workaround that may help others as well:
1.) I created individual consultant landing pages Example: http://www.acme.com/tom
2.) On that page (www.acme.com/tom) I created a “Shop Now” banner ad that’s linked to
the Affiliate ID URL (www.acme.com/?ap_id=Tom … and that Affiliate ID URL links to the products page. This is how I will make sure my Consultants get credit for sales.
3.) Then to stop customers from bypassing the “Shop Now” button on each consultants page I removed the main menu and any other objects on the consultant’s page, that linked off the consultants page, this prevents the customer from clicking on my main “Shop” button on the main menu. So the only way to continue the navigation is to click on the consultants “Shop Now” banner.
Here is the CSS I used to remove the main menu and my logo (which linked to the home page)
#primary_menu { display: none !important; }
.logo { display: none !important; }
I hope this helps others.
August 10, 2015 at 8:04 pm #71017wzpModeratorYes, that works too; as an alternative to including code in the page header that will hard set the ap_id cookie.
-
AuthorPosts
- You must be logged in to reply to this topic.