• Resolved happysusan

    (@happysusan)


    2 issues:
    1:On mobile devices the slider at the top of the page does not load when the link is an affiliate link on android

    2: Now I have also added (with your help) code to a form that detects the ID number of the affiliate and adds it to a hidden form field

    it works when there is a affiliate cookie in their browser BUT

    recently twice now the ID number has shown up and the particular affiliate link (which is my test one) is not out there in the public yet. but the forms seem to pick up that affiliate ID number- its impossible as that particular link (which you have as the support staff) is not out there in the public eye- it was used simply to test it for my own purposes

    the code used in the

    <input type="hidden"  name="custom_6_value" value="<?php echo ( function_exists( 'slicewp_get_referrer_affiliate_id' ) ? slicewp_get_referrer_affiliate_id() : '0' ); ?>">

    it works but its sometimes pulling an ID number when I have not even started the affiliate program as yet (I Have no affiliates)

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author iova.mihai

    (@iovamihai)

    Hey @happysusan,

    Thank you for reaching out!

    1) I’ve just tested your website’s URL, with and without the affiliate parameter added to the URL, and for both cases the page loaded correctly. I’ve tested this directly on an Android phone and on Chrome’s Android emulator.

    2) If a value is present in the field, then someone has used a referral link. Even if you haven’t shared the link publicly, if the link is used, even for testing purposes, the tracking cookie is set. While the tracking cookie is active, the function from the custom code I’ve shared with you will return the ID found in the tracking cookie, only if it exists.

    Thank you and best wishes,

    Mihai

    Thread Starter happysusan

    (@happysusan)

    2: my referal link is not out in the real world- I have not even launched my affiliate program yet

    there is no way they could get the link- I have not shared it anywhere. only on my laptop between logging in as an admin and then using a second email address I have logging in as an affiliate

    thats it

    Plugin Author iova.mihai

    (@iovamihai)

    Hey @happysusan,

    Even if the referral link hasn’t been publicly made, it can still be used from a technical standpoint. The slicewp_get_referrer_affiliate_id() function from the code will only return a positive integer if the referral tracking cookie exists. This function will return 0 in all other cases.

    Furthermore, this function populates an HTML input field. This field’s value can be changed, by editing the site’s HTML DOM. This can be done either by humans or by bots before the form is submitted.

    From a technical standpoint, while highly unlikely, there are situations where this field can be populated and it’s something that’s difficult to prevent.

    Even so, have the form submissions been made by you (for testing) or have they’ve been done by someone else (a potential client for example)?

    Thank you and best wishes,

    Mihai

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.