Tips and Tricks HQ Support Portal › Forums › WP Affiliate Platform › Track Emember Registration to Affiliate
- This topic has 7 replies, 2 voices, and was last updated 8 years, 5 months ago by dansmith.
-
AuthorPosts
-
June 6, 2016 at 11:27 am #13518dansmithMember
Hello,
In addition to tracking clicks, and actual conversions (with payment) I am interested in displaying/tracking registrations to my affiliates from the emember registration shortcode that we are using.
I found this discussion, but I am still unclear about if it is possible to track registrations to affiliates and what value I would find this in the database.
If my programmer can know where to find this value, then he can display it
The reason I am doing this is because it is important for affiliates to see which traffic of theirs brings best clicks, registrations and conversions.
Our registration form allows for a free 7day trial that we offer, and then afterwards the customer is offered to buy our service – once there is a conversion, it will still track to affiliate right?
June 6, 2016 at 12:23 pm #73359dansmithMemberis this the correct solution for this? or is there already a value built into the affiliate plugin to pull it?
June 7, 2016 at 5:08 am #73360adminKeymasterThe following is likely the better solution for you to capture those member registrations as leads:
The affiliates will be able to see the registrations referred by them as leads in their affiliate portal.
I would personally use it if I was trying to do what you are doing.
June 9, 2016 at 1:58 pm #73361dansmithMemberhello thank you for the reply.
i am not looking to give the affiliates any information about the user. I am only looking to give them the information that there was a registration from some source ID of theirs.
can you tell me what database value that would be?
June 10, 2016 at 4:18 am #73362adminKeymasterIf you edit the member’s record, you will see a field called “referrer ID”. That field will hold the value of the affiliate (if any) that sent that registration.
Does that one work?
June 10, 2016 at 8:02 am #73363dansmithMemberHi, we are able to get registration value, and we are able to get affiliate ID – but how do we get the source ID.
I looked at the table structure for clickthroughs and there is a column for campaign id.
I also looked through the structure for sales (this is actual payment conversion right?) and it also has column for campaign id
But registration table does not have column for campaign ID. could you give me instructions on how to add that column so we can also track campaign id for registrations? my developer can add this but we are wondering if it will conflict with something else in plugin.
or simply can you modify the registration [plugin to account for the c_id column so we can use it?
thank you
June 11, 2016 at 3:44 am #73364adminKeymasterI see what you mean. No there is no column for it in the registration table. It is not supported for it. The campaign ID field is only used for click and sale tracking. It doesn’t get used anywhere else.
You can use eMember’s hook to develop your custom solution to track whatever you want and however you want. The following is an example code of how to use this action hook. This hook gets executed after a user clicks on the register button to complete the registration (from the eMember’s registration form).
add_action('eMember_registration_complete', 'my_custom_tracking_after_rego', 10, 2);
function my_custom_tracking_after_rego($fields, $custom_fields)
{
//A member just completed the registration. Lets do some extra tracking.
//Read the campaign_id cookie value
$c_id = $_COOKIE['c_id'];
if(!empty($c_id) {
$emember_id = $fields['member_id']
//TODO - do your additional tracking related stuff here
}
}June 11, 2016 at 2:07 pm #73365dansmithMemberhm, okay we will test and let you know our solution
-
AuthorPosts
- You must be logged in to reply to this topic.