Welcome to Welcome to DNF.com™ - Domain Sales, Domain Forum, Domain Appraisals, Domain Registrars

If you are new to domains and looking to buy, sell and learn about domains then you have come to the right place. DNForum is the largest domain name community on the internet and continues to grow every day. There are over 105,000 domainers on DNForum doing everything from buying domains, selling domains, learning about domains and discussing domains. Take a minute and Register.

Register Today on DNForum IT'S FREE!

Results 1 to 9 of 9
  1. #1
    Yeega.com is for sale!

    Join Date
    Mar 2005
    Location
    Arizona
    Posts
    975
    DNF$
    8,688
    Bank
    0
    Total DNF$
    8,688
    Donate  

    Code Needed: How can I find a Mobile Phone Referral URL?

    I am having a mobile site developed, however, my developer has been unable to find a suitable code to pull a MOBILE PHONE visitor's REFERRAL URL and prefill a form with that information.

    Limitations:
    HTTP_REFERRER is only valid if the user clicks on a link to get to my site. I need a way to pull the user's referral url if they are visiting any site and decide to visit mine by pulling up their bookmark menu and selecting my link.

    Javascript support for mobile phones is unreliable.

    -----


    Thank you for any help you can provide.

  2. #2
    DNF Addict
    jdk's Avatar
    Join Date
    Jul 2004
    Location
    Florida
    Posts
    7,082
    Country

    United States
    DNF$
    1,163
    Bank
    0
    Total DNF$
    1,163
    Donate  

    Re: Code Needed: How can I find a Mobile Phone Referral URL?

    You want to find the user's hostname of their browser. You can then determine they are on a mobile device and can direct them accordingly.

    I can browse Google on my cellphone, so I don't see how getting the REFERRING URL will do any good.

  3. #3
    Yeega.com is for sale!

    Join Date
    Mar 2005
    Location
    Arizona
    Posts
    975
    DNF$
    8,688
    Bank
    0
    Total DNF$
    8,688
    Donate  

    Re: Code Needed: How can I find a Mobile Phone Referral URL?

    I'm not looking to redirect the user. I specifically want their referral url.

    For example, I'm visiting dir.mobi and then go to my bookmark menu on my phone and click a premade bookmark to go to mysite.mobi/index.php?action=referrer, I would like to have a code on mysite.mobi that will say "the user came from here", and then place that url into a variable to prefill a form with.

    Thank you.

  4. #4
    DNF Addict
    jdk's Avatar
    Join Date
    Jul 2004
    Location
    Florida
    Posts
    7,082
    Country

    United States
    DNF$
    1,163
    Bank
    0
    Total DNF$
    1,163
    Donate  

    Re: Code Needed: How can I find a Mobile Phone Referral URL?

    Oh ok. There was someone the other day looking to redirect.

  5. #5
    Bloody Hell
    Acro's Avatar
    Join Date
    Feb 2004
    Location
    USA
    Posts
    28,666
    Country

    Holy See
    DNF$
    15,567
    Bank
    0
    Total DNF$
    15,567
    Donate  

    Re: Code Needed: How can I find a Mobile Phone Referral URL?

    Hit *69

    DomainGang.com - Digital Entertainment for Domainers
    Acroplex - Web & Graphics
    Acro.net - My Blog

  6. #6
    Yeega.com is for sale!

    Join Date
    Mar 2005
    Location
    Arizona
    Posts
    975
    DNF$
    8,688
    Bank
    0
    Total DNF$
    8,688
    Donate  

    Re: Code Needed: How can I find a Mobile Phone Referral URL?

    If only it was that easy.

  7. #7
    DNF Member

    Join Date
    Jun 2004
    Location
    Canada
    Posts
    134
    DNF$
    3,678
    Bank
    0
    Total DNF$
    3,678
    Donate  

    Re: Code Needed: How can I find a Mobile Phone Referral URL?

    I may be wrong on all this:

    HTTP_REFERER is typically an address, an actual URI of some referring document. A bookmark stored by a browser interface isn't a URI (it isn't an address/location on the web, it's just a link in a config file, and when I say this I don't include bookmarking sites like del.icio.us, whose bookmarks *would* be an HTTP_REFERER when clicked)

    The best you can do in this case is maybe is REMOTE_ADDR or REMOTE_HOST, but then a lot of mobile devices would be connecting over NAT through a proxy, so you'd wind up with the IP/URL of the proxy.
    I buy domains with javascript backlinks. PM me.

  8. #8
    DNF Member

    Join Date
    Jun 2005
    Location
    UK
    Posts
    157
    DNF$
    3,788
    Bank
    0
    Total DNF$
    3,788
    Donate  

    Re: Code Needed: How can I find a Mobile Phone Referral URL?

    Quote Originally Posted by StuntPope View Post
    I may be wrong on all this:

    HTTP_REFERER is typically an address, an actual URI of some referring document. A bookmark stored by a browser interface isn't a URI (it isn't an address/location on the web, it's just a link in a config file, and when I say this I don't include bookmarking sites like del.icio.us, whose bookmarks *would* be an HTTP_REFERER when clicked)

    The best you can do in this case is maybe is REMOTE_ADDR or REMOTE_HOST, but then a lot of mobile devices would be connecting over NAT through a proxy, so you'd wind up with the IP/URL of the proxy.
    Yup agreed. It's virtually impossible to track a bookmark as this is no referer so it looks exactly like a type-in.

  9. #9
    DNF Addict

    Join Date
    Nov 2003
    Location
    New Jersey
    Posts
    4,510
    DNF$
    16,397
    Bank
    0
    Total DNF$
    16,397
    Donate  

    Re: Code Needed: How can I find a Mobile Phone Referral URL?

    I don't think you can do it. The value is sent by the browser so it is browser-dependant and I think it leaves the value blank for bookmarks. If you go to the privacy.net analyzer it shows the full headers sent by the browser so you can see everything that is there.
    Network-Tools.com - Network Tools since 1998

Similar Threads

  1. Developed mobis............
    By PRED in forum .mobi sTLD
    Replies: 112
    Last Post: 02-16-2008, 08:32 PM
  2. Google Phone in the works
    By DNP in forum Domain Name News
    Replies: 0
    Last Post: 03-20-2007, 02:21 AM
  3. Various names - FindZipCode.us...
    By Catsse in forum Domains for Sale (Domain Sales) - Fixed Prices Above $100
    Replies: 0
    Last Post: 09-14-2005, 07:37 PM
  4. For Rent! New SMS, Flirt, Text, Mobile Phone Forum!
    By ComScout.com in forum Developed Websites for Sale
    Replies: 4
    Last Post: 12-23-2004, 10:37 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Domain name forum recommended by Domaining.com