• Resolved theacsman

    (@theacsman)


    Is there a way to include an IP address column in the wp_statistics_pages table manually?

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Mostafa Soufi

    (@mostafas1990)

    Hello,

    I’d advise against altering the default tables, as it may lead to compatibility problems. However, if you’d like to collect visitor information, simply enable the “Log Visitors Pages” option in your settings, and you’ll have access to a dedicated relationship table. wp_statistics_visitor_relationships

    Best

    Thread Starter theacsman

    (@theacsman)

    Thank you for the very prompt response.

    I did have that option enabled in the Settings and I do have the visitor_relationships table to browse, but there is no column for IP address in the table.

    I’m specifically interested in being able to match specific pages viewed with IP addresses.

    I did attempt to copy what I thought were the instructions to retrieve IP addresses from the associated php file of _visitor table to the _pages table after adding an IP column to the _pages table, but without success.

    Plugin Author Mostafa Soufi

    (@mostafas1990)

    Hi,

    Thank you for replying, I think the good solution would be to modifying the admin interface table by hook (action or filter) then, you can query and show any data you need.

    In this case, we only need to support a hook/filter where you want to modify it.

    So, can you please show me that place on the screenshot?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Adding IP address to wp-statistics_pages’ is closed to new replies.