Support » Plugin: Toplytics » Refresh Cycle

  • Resolved thefountain



    could someone explain me what exactly this shortcode will do, in terms of
    update cycles and data range…

    [toplytics period=”today”] ?

    Will it display the most viewed articles of the last twenty four hours ?
    Or the most viewed articles counted from 0.00 pm ?
    Will it update every hour?


Viewing 1 replies (of 1 total)
  • Plugin Author Presslabs


    Hello @thefountain,

    The detailed explanation of the ranges available in the shortcode is:

    -> Today uses strtotime( ‘today’ ), therefore it counts the articles from midnight UTC in the given day.
    -> Week uses strtotime( ‘-6 days’ )
    -> Month uses strtotime( ‘-29 days’ )

    And yes, the data from Google Analytics is fetched every hour. Please keep in mind that specifically for “today”, Google Analytics doesn’t always update the data in real time, therefore you might see delays in the results displayed by the plugin.

    Let us know if you need further details.

    Best regards,
    Pedro/Presslabs Support Team

Viewing 1 replies (of 1 total)
  • The topic ‘Refresh Cycle’ is closed to new replies.