Support » Plugin: Lead info with country for Contact Form 7 » Country: ( – )

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author apasionados

    (@apasionados)

    Hi there,

    Probably for this IP the plugin GeoIP Detection and the database it uses (depending on which one you chose when installing), doesn’t have data available.

    Can you check which database you are using in the plugin GeoIP Detection to make the IP lookup? With the database we use “Selected data source: GeoLite2 City database (updated monthly)” there is a result for this IP and therefore would be displayed in the email.

    Another check worth doing is testing the lookup in the GeoIP plugin options.

    Hope this helps you solve the issue.

    Have a great day.

    Best regards from Spain.

    Ramón.

    I am using “Selected data source: GeoLite2 City database (updated monthly)”

    This is the response I get when I run a lookup on the IP that is automatically filled in for me.

    $record->city->name Jacksonville [geoip_detect2 property=”city”]
    $record->mostSpecificSubdivision->isoCode FL [geoip_detect2 property=”mostSpecificSubdivision.isoCode”]
    $record->mostSpecificSubdivision->name Florida [geoip_detect2 property=”mostSpecificSubdivision”]
    $record->country->isoCode US [geoip_detect2 property=”country.isoCode”]
    $record->country->name United States [geoip_detect2 property=”country”]
    $record->location->latitude 30.4901 [geoip_detect2 property=”location.latitude”]
    $record->location->longitude -81.6717 [geoip_detect2 property=”location.longitude”]
    $record->continent->code NA [geoip_detect2 property=”continent.code”]
    $record->location->timeZone America/New_York [geoip_detect2 property=”location.timeZone”]

    But the email is only returning the IP, not the country or any of that other information.

    Any other ideas?

    Thanks!

    Plugin Author apasionados

    (@apasionados)

    Hi there,

    It should work correctly if GeoIP works correctly. With the data you have sent it should display the information correctly in the emails.

    Have you tested again using the contact form?

    We have just filled it in. Can you check if the information arrived correctly?

    I removed the shortcode yesterday so the test you sent didn’t have the code with it. However, I just inserted it again and filled out the form the same way you did. Here is the response.

    From: Test

    Country: Spain

    Subject: Inquiry From Contact Page On MegaVoice.com
    Message Body: This is a test email.

    ————–

    — Tracking Info —
    The user filled the form on: http://megavoice.com/contact/
    The user came to your website from: not set
    Landing page on your website: http://megavoice.com/
    IP: 50.156.139.138
    Country: ( – )
    Browser is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.71 Safari/537.36

    IP of the user: 50.156.139.138

    ————–

    This e-mail was sent from the Contact Us form on MegaVoice’s Contact page (http://megavoice.com/contact/)

    Could you try sending another test email and I’ll send you what comes through.

    Also, this is the code in the “Message Body”:

    <b>From:</b> [your-name] <[your-email]>

    <b>Country:</b> [your-country]

    <b>Subject:</b> Inquiry From Contact Page On MegaVoice.com

    <b>Message Body:</b> [your-message]

    ————–

    [tracking-info]

    [geoip_detect2_user_info]

    ————–

    This e-mail was sent from the Contact Us form on MegaVoice’s Contact page (http://megavoice.com/contact/)

    Plugin Author apasionados

    (@apasionados)

    Hi there,

    This seems to be a problem of the GeoIP Detection plugin (with which we are not related). We noticed that you also included the new shortcode of this plugin [geoip_detect2_user_info] which also only shows the IP, but not the country info.
    We would suggest that you contact them on the support page of the GeoIP Detection plugin at: GeoIP Detection: Support Threads.

    I am sorry that we can’t help you this time.

    Best regards from Spain.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Country: ( – )’ is closed to new replies.