{"id":147,"date":"2018-02-01T05:31:50","date_gmt":"2018-02-01T10:31:50","guid":{"rendered":"https:\/\/on-linelearning.ca\/oer\/?post_type=back-matter&#038;p=147"},"modified":"2020-10-01T06:22:24","modified_gmt":"2020-10-01T10:22:24","slug":"site-statistics","status":"web-only","type":"back-matter","link":"https:\/\/on-linelearning.ca\/oer\/back-matter\/site-statistics\/","title":{"raw":"Site Statistics","rendered":"Site Statistics"},"content":{"raw":"The WordPress Slimstat plugin is used to log statistics for this website:\r\n<h2>Audience<\/h2>\r\n<pre>[slimstat f='widget' w='slim_p6_01'][\/slimstat]<\/pre>\r\n<h2>Page Views<\/h2>\r\n<pre>[slimstat f='widget' w='slim_p1_01'][\/slimstat]<\/pre>","rendered":"<p>The WordPress Slimstat plugin is used to log statistics for this website:<\/p>\n<h2>Audience<\/h2>\n<pre><div class='postbox extralarge map-wrap report-audience-location' style='--box-bar-color: #EFF6FF' id='slim_p6_01'>  <div class='inside'>\n        <div class=\"map-container\">\n            <div id=\"map_slim_p6_01\"><\/div>\n            <div class=\"top-countries-wrap\">\n                <div class=\"top-countries\">\n                                            <h4>Top Countries<\/h4>\n                                                                                    <div class=\"country-bar\">\n                            <div class=\"country-flag-container\">\n                                <img loading=\"lazy\" decoding=\"async\" class=\"country-flag\" src=\"https:\/\/on-linelearning.ca\/oer\/wp-content\/plugins\/wp-slimstat\/\/admin\/assets\/images\/flags\/ca.svg\" width=\"32\" height=\"32\" alt=\"ca\" \/>                            <\/div>\n                            <strong>Canada<\/strong>\n                            <div class=\"bar-container\">\n                                <div class=\"bar-fill\" style=\"width: 27.97%;\"><\/div>\n                            <\/div>\n                            <span>27.97%<\/span>\n                        <\/div>\n                                            <div class=\"country-bar\">\n                            <div class=\"country-flag-container\">\n                                <img loading=\"lazy\" decoding=\"async\" class=\"country-flag\" src=\"https:\/\/on-linelearning.ca\/oer\/wp-content\/plugins\/wp-slimstat\/\/admin\/assets\/images\/flags\/us.svg\" width=\"32\" height=\"32\" alt=\"us\" \/>                            <\/div>\n                            <strong>United States<\/strong>\n                            <div class=\"bar-container\">\n                                <div class=\"bar-fill\" style=\"width: 16.95%;\"><\/div>\n                            <\/div>\n                            <span>16.95%<\/span>\n                        <\/div>\n                                            <div class=\"country-bar\">\n                            <div class=\"country-flag-container\">\n                                <img loading=\"lazy\" decoding=\"async\" class=\"country-flag\" src=\"https:\/\/on-linelearning.ca\/oer\/wp-content\/plugins\/wp-slimstat\/\/admin\/assets\/images\/flags\/de.svg\" width=\"32\" height=\"32\" alt=\"de\" \/>                            <\/div>\n                            <strong>Germany<\/strong>\n                            <div class=\"bar-container\">\n                                <div class=\"bar-fill\" style=\"width: 5.93%;\"><\/div>\n                            <\/div>\n                            <span>5.93%<\/span>\n                        <\/div>\n                                            <div class=\"country-bar\">\n                            <div class=\"country-flag-container\">\n                                <img loading=\"lazy\" decoding=\"async\" class=\"country-flag\" src=\"https:\/\/on-linelearning.ca\/oer\/wp-content\/plugins\/wp-slimstat\/\/admin\/assets\/images\/flags\/fr.svg\" width=\"32\" height=\"32\" alt=\"fr\" \/>                            <\/div>\n                            <strong>France<\/strong>\n                            <div class=\"bar-container\">\n                                <div class=\"bar-fill\" style=\"width: 5.08%;\"><\/div>\n                            <\/div>\n                            <span>5.08%<\/span>\n                        <\/div>\n                                            <div class=\"country-bar\">\n                            <div class=\"country-flag-container\">\n                                <img loading=\"lazy\" decoding=\"async\" class=\"country-flag\" src=\"https:\/\/on-linelearning.ca\/oer\/wp-content\/plugins\/wp-slimstat\/\/admin\/assets\/images\/flags\/br.svg\" width=\"32\" height=\"32\" alt=\"br\" \/>                            <\/div>\n                            <strong>Brazil<\/strong>\n                            <div class=\"bar-container\">\n                                <div class=\"bar-fill\" style=\"width: 4.24%;\"><\/div>\n                            <\/div>\n                            <span>4.24%<\/span>\n                        <\/div>\n                                    <\/div>\n            <\/div>\n        <\/div>\n\n        <script type=\"text\/javascript\">\n            jQuery(function () {\n                jQuery('#map_slim_p6_01').vectorMap({\n                    map: 'world_en',\n                    backgroundColor: '#fff',\n                    hoverOpacity: 0.7,\n                    showTooltip: true,\n                    normalizeFunction: 'polynomial',\n                    values: {\"ca\":33,\"us\":20,\"de\":7,\"fr\":6,\"br\":5,\"id\":5,\"vn\":5,\"ph\":4,\"sg\":4,\"at\":2,\"bb\":2,\"bg\":2,\"bo\":2,\"ec\":2,\"es\":2,\"in\":2,\"pe\":2,\"ro\":2,\"ao\":1,\"ar\":1,\"eg\":1,\"gb\":1,\"jp\":1,\"kz\":1,\"mk\":1,\"mx\":1,\"np\":1,\"sn\":1,\"sv\":1},\n                    enableZoom: true,\n                    onLabelShow: function (event, label, code) {\n                        const data = [{\"code\":\"ca\",\"name\":\"Canada\",\"visits\":33,\"percent\":27.969999999999998863131622783839702606201171875},{\"code\":\"us\",\"name\":\"United States\",\"visits\":20,\"percent\":16.949999999999999289457264239899814128875732421875},{\"code\":\"de\",\"name\":\"Germany\",\"visits\":7,\"percent\":5.92999999999999971578290569595992565155029296875},{\"code\":\"fr\",\"name\":\"France\",\"visits\":6,\"percent\":5.0800000000000000710542735760100185871124267578125},{\"code\":\"br\",\"name\":\"Brazil\",\"visits\":5,\"percent\":4.2400000000000002131628207280300557613372802734375},{\"code\":\"id\",\"name\":\"Indonesia\",\"visits\":5,\"percent\":4.2400000000000002131628207280300557613372802734375},{\"code\":\"vn\",\"name\":\"Viet Nam\",\"visits\":5,\"percent\":4.2400000000000002131628207280300557613372802734375},{\"code\":\"ph\",\"name\":\"Philippines\",\"visits\":4,\"percent\":3.390000000000000124344978758017532527446746826171875},{\"code\":\"sg\",\"name\":\"Singapore\",\"visits\":4,\"percent\":3.390000000000000124344978758017532527446746826171875},{\"code\":\"at\",\"name\":\"Austria\",\"visits\":2,\"percent\":1.689999999999999946709294817992486059665679931640625},{\"code\":\"bb\",\"name\":\"Barbados\",\"visits\":2,\"percent\":1.689999999999999946709294817992486059665679931640625},{\"code\":\"bg\",\"name\":\"Bulgaria\",\"visits\":2,\"percent\":1.689999999999999946709294817992486059665679931640625},{\"code\":\"bo\",\"name\":\"Bolivia\",\"visits\":2,\"percent\":1.689999999999999946709294817992486059665679931640625},{\"code\":\"ec\",\"name\":\"Ecuador\",\"visits\":2,\"percent\":1.689999999999999946709294817992486059665679931640625},{\"code\":\"es\",\"name\":\"Spain\",\"visits\":2,\"percent\":1.689999999999999946709294817992486059665679931640625},{\"code\":\"in\",\"name\":\"India\",\"visits\":2,\"percent\":1.689999999999999946709294817992486059665679931640625},{\"code\":\"pe\",\"name\":\"Peru\",\"visits\":2,\"percent\":1.689999999999999946709294817992486059665679931640625},{\"code\":\"ro\",\"name\":\"Romania\",\"visits\":2,\"percent\":1.689999999999999946709294817992486059665679931640625},{\"code\":\"ao\",\"name\":\"Angola\",\"visits\":1,\"percent\":0.84999999999999997779553950749686919152736663818359375},{\"code\":\"ar\",\"name\":\"Argentina\",\"visits\":1,\"percent\":0.84999999999999997779553950749686919152736663818359375},{\"code\":\"eg\",\"name\":\"Egypt\",\"visits\":1,\"percent\":0.84999999999999997779553950749686919152736663818359375},{\"code\":\"gb\",\"name\":\"United Kingdom\",\"visits\":1,\"percent\":0.84999999999999997779553950749686919152736663818359375},{\"code\":\"jp\",\"name\":\"Japan\",\"visits\":1,\"percent\":0.84999999999999997779553950749686919152736663818359375},{\"code\":\"kz\",\"name\":\"Kazakhstan\",\"visits\":1,\"percent\":0.84999999999999997779553950749686919152736663818359375},{\"code\":\"mk\",\"name\":\"The Former Yugoslav Republic of Macedonia\",\"visits\":1,\"percent\":0.84999999999999997779553950749686919152736663818359375},{\"code\":\"mx\",\"name\":\"Mexico\",\"visits\":1,\"percent\":0.84999999999999997779553950749686919152736663818359375},{\"code\":\"np\",\"name\":\"Nepal\",\"visits\":1,\"percent\":0.84999999999999997779553950749686919152736663818359375},{\"code\":\"sn\",\"name\":\"Senegal\",\"visits\":1,\"percent\":0.84999999999999997779553950749686919152736663818359375},{\"code\":\"sv\",\"name\":\"El Salvador\",\"visits\":1,\"percent\":0.84999999999999997779553950749686919152736663818359375}];\n                        const country = data.find(c => c.code === code);\n                        if (country) {\n                            label.html( '<canvas><\/canvas><h3>'  + country.name  + '<\/h3><p>' + country.visits.toLocaleString() + ' Visitors<\/p>');\n                        } else {\n                            label.html( '<canvas><\/canvas><h3>'  + label.text()  + '<\/h3><p>0 Visitors<\/p>');\n                        }\n                    },\n                    scaleColors: ['#fcd7dc', '#E7294B'],\n                    borderColor: '#ffffff',\n                    color: '#D4D7E2',\n                });\n            });\n        <\/script>\n\n        <\/div><\/div><\/pre>\n<h2>Page Views<\/h2>\n<pre><div class='postbox extralarge chart report-pageviews' style='--box-bar-color: #EFF6FF' id='slim_p1_01'>  <div class='inside'><div\n    class=\"slimstat-chart-wrap chart-line\">\n    <div class=\"slimstat-chart-controls\">\n        <select\n            id=\"slimstat_granularity_slim_p1_01\"\n            name=\"granularity_slim_p1_01\"\n            class=\"slimstat-granularity-select\">\n            <option value=\"yearly\" disabled                >Yearly            <\/option>\n            <option value=\"monthly\" disabled                >Monthly            <\/option>\n            <option value=\"weekly\"                  selected='selected'>Weekly            <\/option>\n            <option value=\"daily\"                 >Daily            <\/option>\n            <option value=\"hourly\" disabled                >Hourly            <\/option>\n        <\/select>\n    <\/div>\n    <div id=\"slimstat_chart_data_slim_p1_01\"\n        data-args=\"{&quot;start&quot;:1782604800,&quot;end&quot;:1785111705,&quot;granularity&quot;:&quot;weekly&quot;,&quot;chart_type&quot;:&quot;line&quot;,&quot;id&quot;:&quot;slim_p1_01&quot;,&quot;chart_data&quot;:{&quot;data1&quot;:&quot;COUNT( ip )&quot;,&quot;data2&quot;:&quot;COUNT( DISTINCT ip )&quot;},&quot;chart_labels&quot;:[&quot;Pageviews&quot;,&quot;Unique IPs&quot;],&quot;is_widget&quot;:true,&quot;rangeDays&quot;:30,&quot;filters&quot;:[]}\"\n        data-data=\"{&quot;labels&quot;:[&quot;&#039;2026\\\/06\\\/28&#039;&quot;,&quot;&#039;2026\\\/06\\\/29&#039;&quot;,&quot;&#039;2026\\\/07\\\/06&#039;&quot;,&quot;&#039;2026\\\/07\\\/13&#039;&quot;,&quot;&#039;2026\\\/07\\\/20&#039;&quot;,&quot;&#039;2026\\\/07\\\/27&#039;&quot;],&quot;totals&quot;:[{&quot;v1&quot;:118,&quot;v2&quot;:80,&quot;period&quot;:&quot;current&quot;},{&quot;v1&quot;:295,&quot;v2&quot;:210,&quot;period&quot;:&quot;previous&quot;}],&quot;prev_labels&quot;:[&quot;2026\\\/05\\\/29&quot;,&quot;2026\\\/06\\\/05&quot;,&quot;2026\\\/06\\\/12&quot;,&quot;2026\\\/06\\\/19&quot;,&quot;2026\\\/06\\\/26&quot;,&quot;2026\\\/07\\\/03&quot;],&quot;datasets&quot;:{&quot;v1&quot;:[2,27,25,36,28,0],&quot;v2&quot;:[2,21,18,23,21,0]},&quot;datasets_prev&quot;:{&quot;v1&quot;:[26,61,56,104,48,0],&quot;v2&quot;:[25,47,46,56,44,0]},&quot;today&quot;:&quot;2026\\\/07\\\/27&quot;,&quot;granularity&quot;:&quot;WEEK&quot;}\"\n        data-prev-data=\"{&quot;labels&quot;:[&quot;&#039;2026\\\/06\\\/28&#039;&quot;,&quot;&#039;2026\\\/06\\\/29&#039;&quot;,&quot;&#039;2026\\\/07\\\/06&#039;&quot;,&quot;&#039;2026\\\/07\\\/13&#039;&quot;,&quot;&#039;2026\\\/07\\\/20&#039;&quot;,&quot;&#039;2026\\\/07\\\/27&#039;&quot;],&quot;totals&quot;:[{&quot;v1&quot;:118,&quot;v2&quot;:80,&quot;period&quot;:&quot;current&quot;},{&quot;v1&quot;:295,&quot;v2&quot;:210,&quot;period&quot;:&quot;previous&quot;}],&quot;prev_labels&quot;:[&quot;2026\\\/05\\\/29&quot;,&quot;2026\\\/06\\\/05&quot;,&quot;2026\\\/06\\\/12&quot;,&quot;2026\\\/06\\\/19&quot;,&quot;2026\\\/06\\\/26&quot;,&quot;2026\\\/07\\\/03&quot;],&quot;datasets&quot;:{&quot;v1&quot;:[26,61,56,104,48,0],&quot;v2&quot;:[25,47,46,56,44,0]},&quot;today&quot;:&quot;2026\\\/07\\\/27&quot;,&quot;granularity&quot;:&quot;WEEK&quot;}\"\n        data-granularity=\"weekly\"\n        data-chart-type=\"line\"\n        data-chart-labels=\"[&quot;Pageviews&quot;,&quot;Unique IPs&quot;]\"\n        data-translations=\"{&quot;previous_period&quot;:&quot;-- Previous Period&quot;,&quot;previous_period_tooltip&quot;:&quot;Click Tap \\u201cPrevious Period\\u201d to hide or show the previous period line.&quot;,&quot;today&quot;:&quot;Today&quot;,&quot;30_days_ago&quot;:&quot;30 Days ago&quot;,&quot;day_ago&quot;:&quot;Day ago&quot;,&quot;year_ago&quot;:&quot;Year ago&quot;,&quot;now&quot;:&quot;Now&quot;,&quot;yearly&quot;:&quot;Yearly&quot;,&quot;monthly&quot;:&quot;Monthly&quot;,&quot;weekly&quot;:&quot;Weekly&quot;,&quot;daily&quot;:&quot;Daily&quot;,&quot;hourly&quot;:&quot;Hourly&quot;}\"\n        data-totals=\"{&quot;current&quot;:{&quot;v1&quot;:118,&quot;v2&quot;:80},&quot;previous&quot;:{&quot;v1&quot;:295,&quot;v2&quot;:210}}\">\n    <\/div>\n    <div id=\"slimstat-postbox-custom-legend_slim_p1_01\"\n        class=\"slimstat-postbox-chart--items\">\n            <\/div>\n    <canvas\n        id=\"slimstat_chart_slim_p1_01\"\n        class=\"slimstat-postbox-chart--canvas\" height=\"240px\"><\/canvas>\n    <\/div>\n<\/div><\/div><\/pre>\n","protected":false},"author":1,"menu_order":4,"comment_status":"closed","ping_status":"closed","template":"","meta":{"pb_show_title":"on","pb_short_title":"","pb_subtitle":"","pb_authors":[],"pb_section_license":"","_wp_rev_ctl_limit":""},"back-matter-type":[39],"contributor":[],"license":[],"class_list":["post-147","back-matter","type-back-matter","status-web-only","hentry","back-matter-type-miscellaneous"],"_links":{"self":[{"href":"https:\/\/on-linelearning.ca\/oer\/wp-json\/pressbooks\/v2\/back-matter\/147","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/on-linelearning.ca\/oer\/wp-json\/pressbooks\/v2\/back-matter"}],"about":[{"href":"https:\/\/on-linelearning.ca\/oer\/wp-json\/wp\/v2\/types\/back-matter"}],"author":[{"embeddable":true,"href":"https:\/\/on-linelearning.ca\/oer\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/on-linelearning.ca\/oer\/wp-json\/wp\/v2\/comments?post=147"}],"version-history":[{"count":0,"href":"https:\/\/on-linelearning.ca\/oer\/wp-json\/pressbooks\/v2\/back-matter\/147\/revisions"}],"metadata":[{"href":"https:\/\/on-linelearning.ca\/oer\/wp-json\/pressbooks\/v2\/back-matter\/147\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/on-linelearning.ca\/oer\/wp-json\/wp\/v2\/media?parent=147"}],"wp:term":[{"taxonomy":"back-matter-type","embeddable":true,"href":"https:\/\/on-linelearning.ca\/oer\/wp-json\/pressbooks\/v2\/back-matter-type?post=147"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/on-linelearning.ca\/oer\/wp-json\/wp\/v2\/contributor?post=147"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/on-linelearning.ca\/oer\/wp-json\/wp\/v2\/license?post=147"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}