page-analytics.php 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. <?php get_header(); ?>
  2. <div class="container-full" style="margin:80px 0 -100px">
  3. <iframe id="map" width="100%" height="600px" scrolling="yes" frameborder="0" style="background:#fff" src="https://davidawindham.com/wik/index.php?module=Widgetize&action=iframe&widget=1&moduleToWidgetize=UserCountryMap&actionToWidgetize=realtimeMap&idSite=1&period=day&date=today&disableLink=1&widget=1&token_auth=d97e3e8f34071515ad1f6e345f6035af" /></iframe>
  4. </div>
  5. <div class="container" role="main">
  6. <article id="content" class="single" >
  7. <div class="row">
  8. <div class="col-sm-12">
  9. <h4>Analytics</h4>
  10. <p>I just put this page together as a simple way to monitor and share traffic on this website using <a href="http://piwik.org/">Piwik</a>. Above is a real time map of geo-located web traffic including the last 24 hours and below are some other statistics from the last month.</p>
  11. </div>
  12. </div>
  13. <div class="row">
  14. <div class="col-sm-6">
  15. <h4>Rencent Visitors</h4>
  16. <ul class="list-group">
  17. <?php echo dw_wik_places()?>
  18. </ul>
  19. </div>
  20. <div class="col-sm-6">
  21. <h4>Content</h4>
  22. <?php echo dw_wik_url()?>
  23. </div>
  24. </div>
  25. <div class="row">
  26. <p>&nbsp;</p>
  27. </div>
  28. <div class="row">
  29. <div class="col-sm-6">
  30. <h4>Operating System</h4>
  31. <ul class="list-group">
  32. <?php echo dw_wik_users()?>
  33. </ul>
  34. </div>
  35. <div class="col-sm-6">
  36. <h4>Referrals</h4>
  37. <ul class="list-group">
  38. <?php echo dw_wik_keys()?>
  39. </ul>
  40. <h4>Referral Sources</h4>
  41. <ul class="list-group">
  42. <?php echo dw_wik_refs()?>
  43. </ul>
  44. </div>
  45. </div>
  46. </article>
  47. </div>
  48. <?php get_footer(); ?>