• hebhansen

    (@hebhansen)


    Hey

    Does anyone know of this simple calculator as plugin or snippet:

    Scope:
    Create a top visitor by country in % display in frontend

    Spec:
    Pull Visitor count per 5 top countries in more or less real time, say every 30 seconds fx.

    – Visitors country A / Total Visitors * 100 = Country A %
    – Country B ……………….. = Country B %
    – Country C…………….
    – Country D………………
    – Country E………..

    Output:
    shortcode-country-A flag=”yes/no” name=”yes/no” data=”% / visitor / orders or other”

    To be inserted into a widget.

    Also:
    Shortcode-map-screen map=”yes/no” style=”classic / vintage / modern” resolution=”woo500/ or whatever theme offers”

    Map could be a jpg freeze frame into media, that replaces previous map with identical url, so that byte consumption does not go astray.

    I sincerely cannot code anything like this, but if you feel like helping out, I will be happy to trial test and specify further.

    • This topic was modified 2 years ago by Jan Dembowski. Reason: Moved to Fixing WordPress, this is not an Everything else WordPress topic
Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi @hebhansen

    Have you seen/tried this plugin? It has a trending section that seems to do what you’re looking for.

    Thread Starter hebhansen

    (@hebhansen)

    @krysal Thanks Krystle. It’s an interesting approach. It gives me visitors in numbers but I need them in %. How many from:

    Flag Switzerland: 25% – shortcode A
    Flag Aussieland: 20% – shortcode B
    Flag Legoland: 10% – shortcode C
    Flag Mordor: 7% – shortcode D
    Flag Hamletland 5% – shortcode E

    Map Freeze Frame or link dynamic to GA, Analytify etc (Not Jetpack) at a given time.

    I have the widget I want. I simply need to call the data per country from top 5 countries. The widget is styled as I prefer, I simply need the dynamic data, rather than manual input. I am using a screen from Analytify here, edited in post for a vintage vibe.

    You can see it live here if you scroll to bottom.

    Widget input interface looks like this.

    • This reply was modified 2 years ago by hebhansen.
    • This reply was modified 2 years ago by hebhansen.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Visitor by Country Calculator % – Function’ is closed to new replies.