Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

Track Emember Registration to Affiliate

by

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, 11 months ago by dansmith.
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • June 6, 2016 at 11:27 am #13518
    dansmith
    Member

    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.

    Retrieve the affiliate id tracked at user registration

    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 #73359
    dansmith
    Member

    is this the correct solution for this? or is there already a value built into the affiliate plugin to pull it?

    https://www.tipsandtricks-hq.com/wordpress-membership/wp-emember-user-signups-as-affiliate-leads-addon-701

    June 7, 2016 at 5:08 am #73360
    admin
    Keymaster

    The following is likely the better solution for you to capture those member registrations as leads:

    https://www.tipsandtricks-hq.com/wordpress-membership/wp-emember-user-signups-as-affiliate-leads-addon-701

    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 #73361
    dansmith
    Member

    hello 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 #73362
    admin
    Keymaster

    If 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 #73363
    dansmith
    Member

    Hi, 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 #73364
    admin
    Keymaster

    I 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 #73365
    dansmith
    Member

    hm, okay we will test and let you know our solution

  • Author
    Posts
Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ