@eramirezprotec opened this Issue on May 8th 2018 Contributor

Is it the normal behavior of the Visitor Map to not show unique visitors when city level is activated?
I see this happening in the demo, but I'm not sure if it is intended or an error.

Thank you very much.

@eramirezprotec commented on May 8th 2018 Contributor

The problem is now solved. There was a line missing in plugins/UserCountryMap/javascripts/visitor-map.js:

f = {
    nb_visits: 0.002,
    nb_uniq_visitors: 0.002, // this is the line
    nb_actions: 0.002,
    avg_time_on_site: 0.02,
    nb_actions_per_visit: 0.02,
    bounce_rate: 0.02
@Findus23 commented on May 8th 2018 Member
@eramirezprotec commented on May 8th 2018 Contributor

I'm sorry, I edited really bad that comment... the line is the one specifying the value for unique visitors metric.

@eramirezprotec commented on May 8th 2018 Contributor

Exactly, @Findus23

@eramirezprotec commented on April 8th 2020 Contributor


In its moment, unique visitors' points were not visible on the Visitor Map when it showed the cities.

After we corrected that error (the reason for this ticket to be created), we didn't check that everything was working perfectly. Now, one and a half years later, we noticed that the "big points" containing the largest numbers, were not visible on the map.

By making the following change to the file plugins\UserCountryMap\javascripts\visitor-map.js :

groups[g_id] = {
  nb_visits: 0,
  nb_uniq_visitors: 0, // this line
  nb_actions: 0,
  sum_visit_length: 0,
  bounce_count: 0

...the big points are finally being shown.


This Issue was closed on May 18th 2018
Powered by GitHub Issue Mirror