{"id":1558,"date":"2020-10-06T18:10:19","date_gmt":"2020-10-06T15:10:19","guid":{"rendered":""},"modified":"2026-02-06T10:05:41","modified_gmt":"2026-02-06T07:05:41","slug":"viewstats","status":"publish","type":"docs","link":"https:\/\/microimpuls.com\/en\/docs\/smarty\/smarty-stats\/viewstats","title":{"rendered":"Television viewing statistics (old)"},"content":{"rendered":"<p><mark style=\"background-color:#abb8c3\" class=\"has-inline-color\"><em>This documentation is outdated since the release <a href=\"https:\/\/microimpuls.com\/en\/docs\/releases\/smarty\/02-26-smarty-2-8\/\">Smarty 2.8<\/a>, current module of collection of tv viewing \u2014 <a href=\"https:\/\/microimpuls.com\/en\/docs\/mistats\/about\/\">MiStats<\/a>.<\/em><\/mark><\/p>\n\n\n\n\n\n<h2 class=\"wp-block-heading\">Television viewing statistics<\/h2>\n\n\n\n<p>First of all, it is necessary to raise the MongoDB server, which will store subscriber TV viewing data. Minimum supported version of MongoDB \u2014 3.4.<\/p>\n\n\n\n<p>Next, section <code>INSTALLED_APPS<\/code> smarty configuration file needs to add a module <code>viewstats<\/code>, as well as specify the data to connect to the raised MongoDB server:<br><code>MONGODB_HOST<\/code> \u2014 MongoDB server address, data type <code>strap<\/code>;<br><code>MONGODB_PORT<\/code> \u2014 MongoDB server port, data type <code>int<\/code>;<br><code>MONGODB_NAME<\/code> \u2014 Name of database, type of data <code>strap<\/code>;<br><code>MONGODB_USERNAME<\/code> \u2014 User name for authorization, data type <code>strap<\/code>;<br><code>MONGODB_PASSWORD<\/code> \u2014 Password for authorization, type of data <code>strap<\/code>;<br><code>MONGODB_AUTH_METHOD<\/code> \u2014 Authorization method (depending on MongoDB version), data type <code>strap<\/code>;<\/p>\n\n\n\n<p>And identify any missing migration team:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>smarty_manage migrate --settings=settings.smarty<\/code><\/pre>\n\n\n\n<p>Example configuration:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>INSTALLED_APPS +=\n'viewstats',\n\/\/\/...\n)<\/code>\n\n<code>MONGODB_HOST = '127.0.0.1'\nMONGODB_PORT = 27017\nMONGODB_NAME = 'Test'\nMONGODB_USERNAME = 'Test'\nMONGODB_PASSWORD = 'Password'\nMONGODB_AUTH_METHOD = 'SCRAM-SHA-1'<\/code>\n<\/pre>\n\n\n\n<p>In order for subscriber devices to start sending statistics to the server, it is necessary to enable its sending in the administration panel on the page \u00ab STB and application settings\u00bb (checkbox \u00ab Enable the collection of statistical data on the Smarty\u00bb server).<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1300\" height=\"374\" src=\"https:\/\/microimpuls.com\/wp-content\/uploads\/2020\/10\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-2025-01-15.png\" alt=\"\" class=\"wp-image-7060\"\/><\/figure>\n<\/div>\n\n\n<h4 class=\"wp-block-heading\">Creating smart channel sorting<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>smarty_manage create_channel_sorting_by_popularity --settings=settings.<\/code><\/pre>\n\n\n\n<p>When executing this command, a sorting of channels is created based on television viewing statistics, based on the specified parameters in the team.<\/p>\n\n\n\n<p>The necessary parameters to execute this command:<\/p>\n\n\n\n<p><code>-client_id<\/code> - a list of customer identifiers, through a comma, for which caching is necessary;<\/p>\n\n\n\n<p><code>-days_number<\/code> &amp;# 8212; the number of days during which you should consider tv viewing;<\/p>\n\n\n\n<p><code>- criterion<\/code> \u2014 a characteristic by which to measure popularity. Possible values:<br><code>watch<\/code> \u2014 by total channel viewing time;<br><code>watch_sessions<\/code> \u2014 by number of channel inclusions;<br><code>average<\/code> \u2014 the average viewing time of the channel;<br><code>median_watch_time<\/code> \u2014 by median channel viewing time.<\/p>\n\n\n\n<p>Additional parameters of the team:<br><code>-devices<\/code> \u2014 a list of devices for which you should take into account the statistics of tv viewing (transfer system device names, default \u2014 all);<br><code>-tariffs<\/code> \u2014 a list of tariffs for which you should take into account the statistics of tv viewing (tariff identifiers are transmitted, by default \u2014 all);<br><code>--accounts_active<\/code> \u2014 consider statistics only from active accounts.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Creating a selection of popular TV channels<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>smarty_manage create_channel_selection_by_popularity --settings=settings;<\/code><\/pre>\n\n\n\n<p>Parameters:<br><code>-client_id<\/code>&nbsp;This option is mandatory and determines the Client identifier for which the selection will be created.<br><code>-days_number<\/code>&nbsp;this parameter is mandatory and determines the number of days during which you should take into account television viewing.<br><code>- criterion<\/code>&nbsp;This parameter is mandatory and determines the characteristic on which the selection will be created. Possible values:&nbsp;<code>watch<\/code>&nbsp;(total channel viewing time),&nbsp;<code>watch_sessions<\/code>&nbsp;(number of channel viewing sessions),&nbsp;<code>average<\/code>&nbsp;(average channel viewing time),&nbsp;<code>median_watch_time<\/code>&nbsp;(median viewing time).<br><code>-devices<\/code>&nbsp;parameter for creating a collection for certain devices (by default, the collection is created for all devices).<br><code>--accounts_active<\/code>&nbsp;The parameter allows you to create a selection only based on active accounts. Possible values:&nbsp;<code>true, false<\/code>. By default&nbsp;<code>falsely<\/code>.<br><code>-tariffs<\/code>&nbsp;selection of certain tariffs to create a collection (all tariffs are taken into account by default).<br><code>--selection_size<\/code>&nbsp;The parameter determines the size of the set created. In the absence of information about a sufficient number of channels, channels without statistics are added to the desired number. By default&nbsp;<strong>17<\/strong>.<\/p>\n\n\n\n<p>Example of using a command:<\/p>\n\n\n\n<p>Creating for Client=1 a selection of weekly popular channels by viewing time:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">smarty_manage create_channel_selection_by_popularity --client_id=1 --days_number=7 --criterion=watch_time --settings=settings;<\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Creating a selection of popular television programs<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>smarty_manage create_epg_selection_by_popularity --settings=settings.<\/code><\/pre>\n\n\n\n<p>Parameters:<br><code>-client_id<\/code>&nbsp;This option is mandatory and determines the Client identifier for which the selection will be created.<br><code>-days_number<\/code>&nbsp;this parameter is mandatory and determines the number of days during which information on transfers is collected.<br><code>-devices<\/code>&nbsp;parameter for creating a collection for certain devices (by default, the collection is created for all devices).<br><code>-tariffs<\/code>&nbsp;selection of certain tariffs to create a collection (all tariffs are taken into account by default).<br><code>--selection_size<\/code>&nbsp;The parameter determines the size of the set created. In the absence of information on a sufficient number of transmissions, transmissions without statistics are added to the desired number. By default&nbsp;<strong>17<\/strong>.<br><code>-categories<\/code>&nbsp;- parameter for creating a selection of certain categories of channels (all categories are taken into account by default), id categories can be seen in the section Content Settings - TV Categories.<br><code>-channels<\/code>&nbsp;only those channels whose id is specified in this parameter are considered.<br><code>--election_name<\/code>&nbsp;- the name of the collection. If not specified, the selection will be called \"Days_number ($selection_size)\".<\/p>\n\n\n\n<p>Example of using a command:<\/p>\n\n\n\n<p>Create a selection of 27 popular programs for Client=1 in 30 days with categories \"Children\" (id=2) and \"Educational\" (id=7):<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">smarty_manage create_epg_selection_by_popularity --selection_name=\"Children's cognitive\" --client_id=1 --days_number=30 --selection_size=27 --categories=2 --categories=7 --settings=settings;<\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Creating a selection of popular films of the archive video library<\/h4>\n\n\n\n<p>Team:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">smarty_manage create_vodpvr_selection_by_popularity --client_id=1 --days_number=3 --settings=settings;<\/pre>\n\n\n\n<p>The team creates a selection of popular videos from the archive video library based on the viewing of users.<\/p>\n\n\n\n<p>Mandatory parameters:<\/p>\n\n\n\n<p><code>-client_id<\/code>&nbsp;- determines the Client identifier, within which the collection will be formed.<\/p>\n\n\n\n<p><code>-days_number<\/code>&nbsp;the number of days for which television viewing statistics are taken.<\/p>\n\n\n\n<p>Optional parameters:<\/p>\n\n\n\n<p><code>-channels<\/code>&nbsp;- a list of channels, the transmissions of which take into account the statistics of television viewing.<\/p>\n\n\n\n<p><code>-categories<\/code>&nbsp;- a list of categories of channels, the transmissions of which take into account the statistics of television viewing.<\/p>\n\n\n\n<p><code>--selection_size<\/code>&nbsp;Maximum amount of content in the collection. Default 17.<\/p>\n\n\n\n<p><code>--election_name<\/code>&nbsp;- the name of the collection. The default is \"Popular Videos X (Y)\" or \"Popular Videos X (Y)\" where X is the days_number value and Y is selection_size.<\/p>\n\n\n\n<p>Example of using a command:<\/p>\n\n\n\n<p>Removal of films\/series that were recorded more than 2 weeks ago:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">smarty_manage create_vodpvr_selection_by_popularity --client_id=1 --days_number=7 --selection_size=30 --selection_name=\"Popular in the Archive\" --channels=1 --channels=2 --<code>categories<\/code>=1 --<code>categories<\/code>=2 --settings=settings.<\/pre>","protected":false},"featured_media":0,"parent":8862,"menu_order":2,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_links_to":"","_links_to_target":""},"doc_tag":[],"class_list":["post-1558","docs","type-docs","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.7 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u0421\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0430 \u0442\u0435\u043b\u0435\u0441\u043c\u043e\u0442\u0440\u0435\u043d\u0438\u044f (old)<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/microimpuls.com\/en\/docs\/smarty\/smarty-stats\/viewstats\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u0421\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0430 \u0442\u0435\u043b\u0435\u0441\u043c\u043e\u0442\u0440\u0435\u043d\u0438\u044f (old)\" \/>\n<meta property=\"og:description\" content=\"\u0414\u0430\u043d\u043d\u0430\u044f \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044f \u0443\u0441\u0442\u0430\u0440\u0435\u043b\u0430, \u043d\u0430\u0447\u0438\u043d\u0430\u044f \u0441 \u0440\u0435\u043b\u0438\u0437\u0430 Smarty 2.8, \u0430\u043a\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u0439 \u043c\u043e\u0434\u0443\u043b\u044c \u0441\u0431\u043e\u0440\u0430 \u0442\u0435\u043b\u0435\u0441\u043c\u043e\u0442\u0440\u0435\u043d\u0438\u044f &#8212; MiStats. \u0421\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0430 \u0442\u0435\u043b\u0435\u0441\u043c\u043e\u0442\u0440\u0435\u043d\u0438\u044f \u041f\u0440\u0435\u0436\u0434\u0435 \u0432\u0441\u0435\u0433\u043e \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043f\u043e\u0434\u043d\u044f\u0442\u044c MongoDB-\u0441\u0435\u0440\u0432\u0435\u0440, \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u0431\u0443\u0434\u0443\u0442 \u0445\u0440\u0430\u043d\u0438\u0442\u044c\u0441\u044f \u0434\u0430\u043d\u043d\u044b\u0435 \u0442\u0435\u043b\u0435\u0441\u043c\u043e\u0442\u0440\u0435\u043d\u0438\u044f \u0430\u0431\u043e\u043d\u0435\u043d\u0442\u043e\u0432. \u041c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u0430\u044f \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u043c\u0430\u044f \u0432\u0435\u0440\u0441\u0438\u044f MongoDB &#8212; 3.4. \u0414\u0430\u043b\u0435\u0435, \u0432 \u0441\u0435\u043a\u0446\u0438\u0438 INSTALLED_APPS \u0444\u0430\u0439\u043b\u0430 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 Smarty \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043c\u043e\u0434\u0443\u043b\u044c viewstats, \u0430 \u0442\u0430\u043a\u0436\u0435 \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0435 \u0434\u043b\u044f \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u043a \u043f\u043e\u0434\u043d\u044f\u0442\u043e\u043c\u0443 \u0441\u0435\u0440\u0432\u0435\u0440\u0443 MongoDB:MONGODB_HOST [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/microimpuls.com\/en\/docs\/smarty\/smarty-stats\/viewstats\/\" \/>\n<meta property=\"og:site_name\" content=\"Microimpuls\" \/>\n<meta property=\"article:modified_time\" content=\"2026-02-06T07:05:41+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/microimpuls.com\/docs\/smarty\/smarty-stats\/viewstats\",\"url\":\"https:\/\/microimpuls.com\/docs\/smarty\/smarty-stats\/viewstats\",\"name\":\"\u0421\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0430 \u0442\u0435\u043b\u0435\u0441\u043c\u043e\u0442\u0440\u0435\u043d\u0438\u044f (old)\",\"isPartOf\":{\"@id\":\"https:\/\/micro.im\/#website\"},\"datePublished\":\"2020-10-06T15:10:19+00:00\",\"dateModified\":\"2026-02-06T07:05:41+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/microimpuls.com\/docs\/smarty\/smarty-stats\/viewstats#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/microimpuls.com\/docs\/smarty\/smarty-stats\/viewstats\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/microimpuls.com\/docs\/smarty\/smarty-stats\/viewstats#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u0413\u043b\u0430\u0432\u043d\u0430\u044f \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430\",\"item\":\"https:\/\/micro.im\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Smarty\",\"item\":\"https:\/\/microimpuls.com\/docs\/smarty\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"\u0421\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0430\",\"item\":\"https:\/\/microimpuls.com\/docs\/smarty\/smarty-stats\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"\u0421\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0430 \u0442\u0435\u043b\u0435\u0441\u043c\u043e\u0442\u0440\u0435\u043d\u0438\u044f (old)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/micro.im\/#website\",\"url\":\"https:\/\/micro.im\/\",\"name\":\"Microimpuls\",\"description\":\"\u041a\u043e\u043c\u043f\u043b\u0435\u043a\u0441\u043d\u044b\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u044f \u0434\u043b\u044f OTT \u0438 IPTV\",\"publisher\":{\"@id\":\"https:\/\/micro.im\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/micro.im\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/micro.im\/#organization\",\"name\":\"Microimpuls\",\"url\":\"https:\/\/micro.im\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/micro.im\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/microimpuls.com\/wp-content\/uploads\/2024\/12\/mi-logo-square-en-black.png\",\"contentUrl\":\"https:\/\/microimpuls.com\/wp-content\/uploads\/2024\/12\/mi-logo-square-en-black.png\",\"width\":208,\"height\":219,\"caption\":\"Microimpuls\"},\"image\":{\"@id\":\"https:\/\/micro.im\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Television viewing statistics (old)","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/microimpuls.com\/en\/docs\/smarty\/smarty-stats\/viewstats\/","og_locale":"en_US","og_type":"article","og_title":"\u0421\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0430 \u0442\u0435\u043b\u0435\u0441\u043c\u043e\u0442\u0440\u0435\u043d\u0438\u044f (old)","og_description":"\u0414\u0430\u043d\u043d\u0430\u044f \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044f \u0443\u0441\u0442\u0430\u0440\u0435\u043b\u0430, \u043d\u0430\u0447\u0438\u043d\u0430\u044f \u0441 \u0440\u0435\u043b\u0438\u0437\u0430 Smarty 2.8, \u0430\u043a\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u0439 \u043c\u043e\u0434\u0443\u043b\u044c \u0441\u0431\u043e\u0440\u0430 \u0442\u0435\u043b\u0435\u0441\u043c\u043e\u0442\u0440\u0435\u043d\u0438\u044f &#8212; MiStats. \u0421\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0430 \u0442\u0435\u043b\u0435\u0441\u043c\u043e\u0442\u0440\u0435\u043d\u0438\u044f \u041f\u0440\u0435\u0436\u0434\u0435 \u0432\u0441\u0435\u0433\u043e \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043f\u043e\u0434\u043d\u044f\u0442\u044c MongoDB-\u0441\u0435\u0440\u0432\u0435\u0440, \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u0431\u0443\u0434\u0443\u0442 \u0445\u0440\u0430\u043d\u0438\u0442\u044c\u0441\u044f \u0434\u0430\u043d\u043d\u044b\u0435 \u0442\u0435\u043b\u0435\u0441\u043c\u043e\u0442\u0440\u0435\u043d\u0438\u044f \u0430\u0431\u043e\u043d\u0435\u043d\u0442\u043e\u0432. \u041c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u0430\u044f \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u043c\u0430\u044f \u0432\u0435\u0440\u0441\u0438\u044f MongoDB &#8212; 3.4. \u0414\u0430\u043b\u0435\u0435, \u0432 \u0441\u0435\u043a\u0446\u0438\u0438 INSTALLED_APPS \u0444\u0430\u0439\u043b\u0430 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 Smarty \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043c\u043e\u0434\u0443\u043b\u044c viewstats, \u0430 \u0442\u0430\u043a\u0436\u0435 \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0435 \u0434\u043b\u044f \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u043a \u043f\u043e\u0434\u043d\u044f\u0442\u043e\u043c\u0443 \u0441\u0435\u0440\u0432\u0435\u0440\u0443 MongoDB:MONGODB_HOST [&hellip;]","og_url":"https:\/\/microimpuls.com\/en\/docs\/smarty\/smarty-stats\/viewstats\/","og_site_name":"Microimpuls","article_modified_time":"2026-02-06T07:05:41+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/microimpuls.com\/docs\/smarty\/smarty-stats\/viewstats","url":"https:\/\/microimpuls.com\/docs\/smarty\/smarty-stats\/viewstats","name":"Television viewing statistics (old)","isPartOf":{"@id":"https:\/\/micro.im\/#website"},"datePublished":"2020-10-06T15:10:19+00:00","dateModified":"2026-02-06T07:05:41+00:00","breadcrumb":{"@id":"https:\/\/microimpuls.com\/docs\/smarty\/smarty-stats\/viewstats#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/microimpuls.com\/docs\/smarty\/smarty-stats\/viewstats"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/microimpuls.com\/docs\/smarty\/smarty-stats\/viewstats#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u0413\u043b\u0430\u0432\u043d\u0430\u044f \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430","item":"https:\/\/micro.im\/"},{"@type":"ListItem","position":2,"name":"Smarty","item":"https:\/\/microimpuls.com\/docs\/smarty"},{"@type":"ListItem","position":3,"name":"\u0421\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0430","item":"https:\/\/microimpuls.com\/docs\/smarty\/smarty-stats"},{"@type":"ListItem","position":4,"name":"\u0421\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0430 \u0442\u0435\u043b\u0435\u0441\u043c\u043e\u0442\u0440\u0435\u043d\u0438\u044f (old)"}]},{"@type":"WebSite","@id":"https:\/\/micro.im\/#website","url":"https:\/\/micro.im\/","name":"Microimpulses","description":"Comprehensive solutions for OTT and IPTV","publisher":{"@id":"https:\/\/micro.im\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/micro.im\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/micro.im\/#organization","name":"Microimpulses","url":"https:\/\/micro.im\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/micro.im\/#\/schema\/logo\/image\/","url":"https:\/\/microimpuls.com\/wp-content\/uploads\/2024\/12\/mi-logo-square-en-black.png","contentUrl":"https:\/\/microimpuls.com\/wp-content\/uploads\/2024\/12\/mi-logo-square-en-black.png","width":208,"height":219,"caption":"Microimpuls"},"image":{"@id":"https:\/\/micro.im\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/microimpuls.com\/en\/wp-json\/wp\/v2\/docs\/1558","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/microimpuls.com\/en\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/microimpuls.com\/en\/wp-json\/wp\/v2\/types\/docs"}],"replies":[{"embeddable":true,"href":"https:\/\/microimpuls.com\/en\/wp-json\/wp\/v2\/comments?post=1558"}],"version-history":[{"count":19,"href":"https:\/\/microimpuls.com\/en\/wp-json\/wp\/v2\/docs\/1558\/revisions"}],"predecessor-version":[{"id":8891,"href":"https:\/\/microimpuls.com\/en\/wp-json\/wp\/v2\/docs\/1558\/revisions\/8891"}],"up":[{"embeddable":true,"href":"https:\/\/microimpuls.com\/en\/wp-json\/wp\/v2\/docs\/8862"}],"prev":[{"title":"Dynamics of subscribers","link":"https:\/\/microimpuls.com\/en\/docs\/smarty\/smarty-stats\/customers-stats","href":"https:\/\/microimpuls.com\/en\/wp-json\/wp\/v2\/docs\/8867"}],"wp:attachment":[{"href":"https:\/\/microimpuls.com\/en\/wp-json\/wp\/v2\/media?parent=1558"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/microimpuls.com\/en\/wp-json\/wp\/v2\/doc_tag?post=1558"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}