Support » Plugin: Multivendor Marketplace Solution for WooCommerce - WC Marketplace » VIsitor City Map on Vendor Dashboard?

  • Resolved chiragagarwal


    What would be a good way to magnify Visitor’s Map on Vendor’s Dashboard to display traffic from cities instead of just Country?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi @chiragagarwal, thanks for reaching WCMp Support!!

    Yes currently, WC Marketplace only displays visitor’s data per country :

    But, in order to display them as per city, you need to do custom code. Let us know if you need reference of hook/filter.

    Thread Starter chiragagarwal


    Hi! Reference hook filter or the code would be great and I’m sure others might benefit too! Thanks in advance

    Plugin Contributor Khokan Sardar


    @chiragagarwal using this apply_filters('wcmp_vendor_visitors_map_script_data', $visitor_map_stats) filter you can customize vendor visitors map data. But before proceed, just checked our get_wcmp_vendor_dashboard_visitor_stats_data function that how we pass stats data country wise, same way you have to pass region wise data. If you want to modified script then you have to dequeue our script wcmp_visitor_map_data and apply your own. For map script visit here

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘VIsitor City Map on Vendor Dashboard?’ is closed to new replies.