{"id":2341,"date":"2018-08-02T07:00:59","date_gmt":"2018-08-02T07:00:59","guid":{"rendered":"https:\/\/blog.ssdnodes.com\/blog\/?p=2341"},"modified":"2025-05-18T19:34:41","modified_gmt":"2025-05-18T19:34:41","slug":"matomo-install-tutorial-vps","status":"publish","type":"post","link":"https:\/\/www.ssdnodes.com\/blog\/matomo-install-tutorial-vps\/","title":{"rendered":"Matomo: How to install self-hosted analytics on your VPS"},"content":{"rendered":"<div id=\"preview1\" class=\"g-b g-b--t1of2 split split-preview\">\n<div id=\"preview\" class=\"preview-html\">\n<p><a href=\"https:\/\/matomo.org\/\" target=\"_blank\" rel=\"noopener\">Matomo<\/a> (formerly Piwik) is an open source analytics platform currently used by many individuals, companies, and governments all over the world. In this tutorial, we\u2019ll cover how you install Matomo as a self-hosted alternative on your Ubuntu 16.04 VPS\u2014perfect for those who don\u2019t want to pass on your website\u2019s, or your user\u2019s, data onto a third-party solution like Google Analytics.<\/p>\n<p>Matomo is so <a href=\"https:\/\/matomo.org\/features\/\" target=\"_blank\" rel=\"noopener\">feature-rich<\/a> that it\u2019s hard to list them all, so let\u2019s get right into it.<\/p>\n<h2><a id=\"Prerequisites_4\"><\/a>Prerequisites<\/h2>\n<ul>\n<li>A VPS running Ubuntu 18.04.<\/li>\n<li>A non-root, <code>sudo-enabled<\/code> user. If you only have a <code>root<\/code> user, see our <a href=\"https:\/\/www.ssdnodes.com\/blog\/tutorial-setting-up-and-securing-ssh-based-authentication\/#adding-a-new-user\">SSH tutorial<\/a> for details on creating new users.<\/li>\n<li>A registered domain name.<\/li>\n<li>A DNS A record that points to your server\u2019s IP address based on the FQDN you want to use. For example, an A record named <code>test<\/code> would point to <code>test.DOMAIN.TLD<\/code>.<\/li>\n<\/ul>\n<h2><a id=\"Notes_11\"><\/a>Notes<\/h2>\n<ul>\n<li>This tutorial requires the use of domain names. Whenever you see either the <code>SUBDOMAIN<\/code>, <code>DOMAIN<\/code>, or <code>TLD<\/code> variables, replace them with the details of your domain name. In <code>example.ssdnodes.com<\/code>, <code>example<\/code> is the <code>SUBDOMAIN<\/code>, <code>ssdnodes<\/code> is the <code>DOMAIN<\/code>, and <code>.com<\/code> is the <code>TLD<\/code>.<\/li>\n<li>This tutorial requires the use of passwords. Whenever you see the <code>PASSWORD<\/code> variable, then replace it with your own.<\/li>\n<\/ul>\n<div class=\"cta-inline\"><\/div>\n<h2><a id=\"Step_1_Install_LAMP_or_LEMP_16\"><\/a>Step 1. Install LAMP or LEMP<\/h2>\n<p><code>Matomo<\/code> is a PHP-based web application, so you need to have either a LAMP (Apache) or LEMP (Nginx) stack installed. If you don\u2019t have one already, follow the proceeding steps; if you do have a LAMP\/LEMP stack installed, you can skip ahead to Step 2.<\/p>\n<h3><a id=\"Install_Apache_or_Nginx_20\"><\/a>Install Apache or Nginx<\/h3>\n<p>You can choose either Apache or Nginx as a web server to host Matomo. If you opt for Apache then install it with the steps described below, otherwise, skip the following steps and proceed with installing Nginx in the subsequent steps.<\/p>\n<pre><code>$ sudo apt-get install apache2\n$ sudo systemctl enable apache2.service\n$ sudo systemctl start apache2.service\n<\/code><\/pre>\n<p>Alternately, you can choose Nginx as a web server. Just issue the following commands to install and enable it during system boot.<\/p>\n<pre><code>$ sudo apt-get install nginx\n$ sudo systemctl enable nginx.service\n$ sudo systemctl start nginx.service\n<\/code><\/pre>\n<p>Once you have done with installing one of the above web servers, visit <code>http:\/\/SUBDOMAIN.DOMAIN.TLD<\/code> to confirm that everything is working smoothly.<\/p>\n<h3><a id=\"Install_MariaDB_40\"><\/a>Install MariaDB<\/h3>\n<p>The next step of configuring a LAMP\/LEMP stack is to install MySQL server. Issue the following commands from the terminal to install it, and optionally, you can run <code>mysql_secure_installation<\/code> to make it secure.<\/p>\n<pre><code>$ sudo apt-get install mariadb-server\n$ sudo systemctl enable mariadb.service\n$ sudo mysql_secure_installation\n<\/code><\/pre>\n<p>The default password for root user is blank. To update the password of the root user, get the MySQL prompt and update the password by issuing the following command from the MySQL shell.<\/p>\n<pre><code>$ mysql -u root -p\nMariaDB [mysql]&gt; update user SET PASSWORD=PASSWORD(\"PASSWORD\") WHERE USER='root';\n<\/code><\/pre>\n<h3><a id=\"Install_PHP_57\"><\/a>Install PHP<\/h3>\n<p>In the final step of configuring LAMP\/LEMP server, install PHP and its various extensions needed by Matomo. Use the following <code>apt-get<\/code> command to install these PHP extensions.<\/p>\n<pre><code>$ sudo apt-get install php7.2 php7.2-common php7.2-mbstring php7.2-xmlrpc php7.2-soap php7.2-mysql php7.2-gd php7.2-xml php7.2-cli php7.2-zip\n<\/code><\/pre>\n<p>Apart from above php extensions, Matomo also needs a web server that can process PHP pages. You need to install appropriate PHP modules depending on which web server you picked up earlier. Just follow the steps based on whether you chose Apache or Nginx earlier to enable PHP processing on your web server.<\/p>\n<h3><a id=\"Install_PHP_modules_for_Apache_67\"><\/a>Install PHP modules for Apache<\/h3>\n<p>This step is needed if you opted for Apache before. Install the PHP modules for Apache by issuing following command from the terminal and once done, restart Apache.<\/p>\n<pre><code>$ sudo apt-get install libapache2-mod-php7.2\n$ sudo systemctl restart apache2\n<\/code><\/pre>\n<h3><a id=\"Install_phpfpm_for_Nginx_76\"><\/a>Install php-fpm for Nginx<\/h3>\n<p>This step is necessary if you chose Nginx earlier. FPM (FastCGI Process Manager) is needed by Nginx to process PHP pages.<\/p>\n<pre><code>$ sudo apt-get install php7.2-fpm\n<\/code><\/pre>\n<p>Make a slight adjustment to the PHP settings by changing <code>cgi.fix_pathinfo<\/code> value to 0 in your <code>php.ini<\/code> file. This is needed to make PHP a little more secure.<\/p>\n<pre><code>$ vi \/etc\/php\/7.2\/fpm\/php.ini\n...\n...\ncgi.fix_pathinfo=0\n...\n...\n<\/code><\/pre>\n<p>Restart the PHP processor by issuing the following command from the terminal.<\/p>\n<pre><code>$ sudo systemctl restart php7.2-fpm\n<\/code><\/pre>\n<p>Finally, add the following snippets of code in the server section of Nginx\u2019s default configuration file. This will enable Nginx to process web pages with <code>.php<\/code> extensions.<\/p>\n<pre><code>$ vi \/etc\/nginx\/sites-available\/default\n....\n....\nlocation ~ \\.php$ {\n                    include snippets\/fastcgi-php.conf;\n                    fastcgi_pass unix:\/run\/php\/php7.2-fpm.sock;\n    }\n....\n....\n<\/code><\/pre>\n<p>Restart Nginx to apply new settings.<\/p>\n<pre><code>$ sudo systemctl restart nginx\n<\/code><\/pre>\n<p>You\u2019re finished configuring your LAMP\/LEMP server! To test the installation, create a <code>phpinfo<\/code> file inside of the web root, which is located at <code>\/var\/www\/html<\/code>.<\/p>\n<pre><code>$ cd \/var\/www\/html\n$ sudo echo \"&lt;?php echo phpinfo();?&gt;\" &gt; info.php\n<\/code><\/pre>\n<p>Point your favorite web browser to <code>http:\/\/SUBDOMAIN.DOMAIN.TLD\/info.php<\/code> to confirm successful installation of php.<\/p>\n<h2><a id=\"Step_2_Create_the_Matomo_database_130\"><\/a>Step 2. Create the Matomo database<\/h2>\n<p>Create a user and a database for Matomo by logging into the MySQL server using the root credentials.<\/p>\n<pre><code>$ mysql -u root -p\nMariaDB [(none)]&gt; CREATE DATABASE matomo;\nMariaDB [(none)]&gt; GRANT ALL PRIVILEGES ON matomo.* to 'matomo'@'localhost' IDENTIFIED BY 'PASSWORD';\nMariaDB [(none)]&gt; FLUSH PRIVILEGES;\nMariaDB [(none)]&gt; exit\n<\/code><\/pre>\n<h2><a id=\"Step_3_Configure_the_web_server_142\"><\/a>Step 3. Configure the web server<\/h2>\n<p>It\u2019s now time to proceed with creating a virtual host for Matomo. The process is a little different based on whether you picked Apache or Nginx earlier, but the first step\u2014creating a document root for Matomo\u2014is the same for both.<\/p>\n<pre><code>$ cd \/var\/www\/html\n$ mkdir matomo\n<\/code><\/pre>\n<p>Next, follow one of the steps from below to configure the virtual host either in Apache or Nginx.<\/p>\n<h3><a id=\"Apache_153\"><\/a>Apache<\/h3>\n<p>Navigate to the Apache configuration directory and create a virtual host file using <code>vi<\/code> or any other text editor. Be sure to change the value for <code>DocumentRoot<\/code>, <code>ServerName<\/code>, and so on, according to your environment.<\/p>\n<pre><code>$ cd \/etc\/apache2\/sites-available\n$ vi matomo.conf\n&lt;VirtualHost *:80&gt;\n    ServerAdmin admin@DOMAIN.TLD\n    DocumentRoot \/var\/www\/html\/matomo\n    ServerName SUBDOMAIN.DOMAIN.TLD\n\n  &lt;Directory \/var\/www\/html\/matomo\/&gt;\n     Options FollowSymlinks\n     AllowOverride All\n     Require all granted\n  &lt;\/Directory&gt;\n\n ErrorLog ${APACHE_LOG_DIR}\/error.log\n CustomLog ${APACHE_LOG_DIR}\/access.log combined\n\n&lt;\/VirtualHost&gt;\n\n<\/code><\/pre>\n<p><code>Matomo<\/code> needs rewrite module for Apache. Enable the newly created virtual host using <code>a2ensite<\/code> and then enable the rewrite module using <code>a2enmod<\/code>. Restart Apache to apply new configuration settings.<\/p>\n<pre><code>$ sudo a2ensite matomo.conf\n$ sudo a2enmod rewrite\n$ sudo systemctl restart apache2.service\n<\/code><\/pre>\n<h3><a id=\"Nginx_186\"><\/a>Nginx<\/h3>\n<p>Navigate to the Nginx configuration directory to create a virtual host using <code>vi<\/code> or any other text editor. Change the value for <code>root<\/code>, <code>server_name<\/code>, and so on, according to your environment.<\/p>\n<pre><code>$ cd \/etc\/nginx\/sites-available\n$ vi matomo.conf\n  server {\n                listen 80;\n                listen [::]:80;\n                server_name SUBDOMAIN.DOMAIN.TLD;\n                index index.php;\n                root \/var\/www\/html\/matomo;\n\n                access_log \/var\/log\/nginx\/SUBDOMAIN.DOMAIN.TLD.access_log;\n                error_log \/var\/log\/nginx\/SUBDOMAIN.DOMAIN.TLD.error_log;\n\n    location \/ {\n                    try_files $uri $uri\/ =404;\n    }\n\n    location ~ \\.php$ {\n                        include snippets\/fastcgi-php.conf;\n                        fastcgi_pass unix:\/run\/php\/php7.2-fpm.sock;\n    }\n\n}\n<\/code><\/pre>\n<p>To enable the newly created virtual host, navigate to the <code>\/etc\/nginx\/sites-enabled<\/code> directory and make a symbolic link to the <code>\/etc\/nginx\/sites-available\/matomo.conf<\/code> file.<\/p>\n<pre><code>$ cd \/etc\/nginx\/sites-enabled\n$ ln -s ..\/sites-available\/matomo.conf .\n<\/code><\/pre>\n<p>Restart Nginx to apply new settings.<\/p>\n<pre><code>$ sudo systemctl restart nginx\n<\/code><\/pre>\n<p>At this point, the configuration of the web server for Matomo is complete. In the next step, we will download Matomo and invoke its web-based installer to complete the installation.<\/p>\n<h2><a id=\"Step_4_Install_Matomo_on_your_VPS_230\"><\/a>Step 4. Install Matomo on your VPS<\/h2>\n<p>Download the latest release of Matomo and unzip it. Move all the files from the <code>piwik<\/code> folder to <code>\/var\/www\/html\/matomo<\/code>, which is webroot for our installation.<\/p>\n<pre><code>$ cd \/var\/www\/html\n$ wget https:\/\/builds.matomo.org\/piwik.zip -O matomo.zip\n$ sudo unzip matomo.zip\n$ sudo mv piwik\/* matomo\n$ sudo chown -R www-data:www-data matomo\n$ sudo rm -r matomo.zip piwik\n<\/code><\/pre>\n<p>Open your favorite web browser and navigate to the URL <code>http:\/\/SUBDOMAIN.DOMAIN.TLD<\/code>. If everything is configured correctly, you should see the Matomo installation welcome screen.<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" width=\"512\" height=\"319\" class=\"aligncenter size-full wp-image-2346\" src=\"https:\/\/www.ssdnodes.com\/wp-content\/uploads\/2018\/08\/201808_matomo-install-01.jpg\" alt=\"\" srcset=\"https:\/\/www.ssdnodes.com\/wp-content\/uploads\/2018\/08\/201808_matomo-install-01.jpg 512w, https:\/\/www.ssdnodes.com\/wp-content\/uploads\/2018\/08\/201808_matomo-install-01-300x187.jpg 300w\" sizes=\"auto, (max-width: 512px) 100vw, 512px\" \/><\/strong><\/p>\n<p>Click <code>Next<\/code> to continue.<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" width=\"512\" height=\"380\" class=\"aligncenter size-full wp-image-2347\" src=\"https:\/\/www.ssdnodes.com\/wp-content\/uploads\/2018\/08\/201808_matomo-install-02.jpg\" alt=\"Matomo VPS installation: The system check\" srcset=\"https:\/\/www.ssdnodes.com\/wp-content\/uploads\/2018\/08\/201808_matomo-install-02.jpg 512w, https:\/\/www.ssdnodes.com\/wp-content\/uploads\/2018\/08\/201808_matomo-install-02-300x223.jpg 300w\" sizes=\"auto, (max-width: 512px) 100vw, 512px\" \/><\/strong><\/p>\n<p>The installer will check if the server meets the requirements. If the system check pass successfully, you can click <code>Next<\/code> to configure the database.<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" width=\"468\" height=\"512\" class=\"aligncenter size-full wp-image-2348\" src=\"https:\/\/www.ssdnodes.com\/wp-content\/uploads\/2018\/08\/201808_matomo-install-03.jpg\" alt=\"Matomo VPS installation: Setting up the database\" srcset=\"https:\/\/www.ssdnodes.com\/wp-content\/uploads\/2018\/08\/201808_matomo-install-03.jpg 468w, https:\/\/www.ssdnodes.com\/wp-content\/uploads\/2018\/08\/201808_matomo-install-03-274x300.jpg 274w\" sizes=\"auto, (max-width: 468px) 100vw, 468px\" \/><\/strong><\/p>\n<p>Fill up the database name, user, and password that you created earlier in the <strong>create database<\/strong> section and click <code>Next<\/code> to continue.<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" width=\"512\" height=\"319\" class=\"aligncenter size-full wp-image-2349\" src=\"https:\/\/www.ssdnodes.com\/wp-content\/uploads\/2018\/08\/201808_matomo-install-04.png\" alt=\"Matomo VPS installation: Creating tables\" srcset=\"https:\/\/www.ssdnodes.com\/wp-content\/uploads\/2018\/08\/201808_matomo-install-04.png 512w, https:\/\/www.ssdnodes.com\/wp-content\/uploads\/2018\/08\/201808_matomo-install-04-300x187.png 300w\" sizes=\"auto, (max-width: 512px) 100vw, 512px\" \/><\/strong><\/p>\n<p>Matomo will add tables to the database. Again, click <code>Next<\/code> to continue.<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" width=\"479\" height=\"512\" class=\"aligncenter size-full wp-image-2350\" src=\"https:\/\/www.ssdnodes.com\/wp-content\/uploads\/2018\/08\/201808_matomo-install-05.jpg\" alt=\"Matomo VPS installation: Creating the super user\" srcset=\"https:\/\/www.ssdnodes.com\/wp-content\/uploads\/2018\/08\/201808_matomo-install-05.jpg 479w, https:\/\/www.ssdnodes.com\/wp-content\/uploads\/2018\/08\/201808_matomo-install-05-281x300.jpg 281w\" sizes=\"auto, (max-width: 479px) 100vw, 479px\" \/><\/strong><\/p>\n<p>Create a superuser by providing a login, password, and an email. You can log in to Matomo with this admin account at a later stage for adding new websites to monitor, adding users, changing user permissions, and enabling and disabling plugins. Optionally, you can choose to receive upgrade and security alerts, as well as community updates. Click <code>Next<\/code> to continue.<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" width=\"481\" height=\"512\" class=\"aligncenter size-full wp-image-2352\" src=\"https:\/\/www.ssdnodes.com\/wp-content\/uploads\/2018\/08\/201808_matomo-install-06.jpg\" alt=\"Matomo VPS installation: Setting up the first website\" srcset=\"https:\/\/www.ssdnodes.com\/wp-content\/uploads\/2018\/08\/201808_matomo-install-06.jpg 481w, https:\/\/www.ssdnodes.com\/wp-content\/uploads\/2018\/08\/201808_matomo-install-06-282x300.jpg 282w\" sizes=\"auto, (max-width: 481px) 100vw, 481px\" \/><\/strong><\/p>\n<p>Enter the name and URL of the first website you want to track, along with the website\u2019s timezone. It\u2019s also possible to add more sites once the installation is complete. Optionally, you can select <code>E-commerce enabled<\/code> if that\u2019s one of the website\u2019s purposes.<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" width=\"450\" height=\"512\" class=\"aligncenter size-full wp-image-2351\" src=\"https:\/\/www.ssdnodes.com\/wp-content\/uploads\/2018\/08\/201808_matomo-install-07.jpg\" alt=\"Matomo VPS installation: Creating the JS tracking code\" srcset=\"https:\/\/www.ssdnodes.com\/wp-content\/uploads\/2018\/08\/201808_matomo-install-07.jpg 450w, https:\/\/www.ssdnodes.com\/wp-content\/uploads\/2018\/08\/201808_matomo-install-07-264x300.jpg 264w\" sizes=\"auto, (max-width: 450px) 100vw, 450px\" \/><\/strong><\/p>\n<p>Matomo will provide you with a JavaScript tag, and this code must appear on every page that you want Matomo to analyze. You can manually insert this code in the header section of the website that you want to track. There are also plugins\/modules available for inserting this Javascript script code, if your site is built on popular CMS like <a href=\"https:\/\/wordpress.org\/plugins\/wp-piwik\/\" target=\"_blank\" rel=\"noopener\">WordPress<\/a>, <a href=\"https:\/\/wordpress.org\/plugins\/wp-piwik\/\" target=\"_blank\" rel=\"noopener\">Drupal<\/a>, or <a href=\"https:\/\/dillinger.io\/extensions.joomla.org\/extensions\/site-management\/analytics\/site-analytics-cloud-based\/10422\" target=\"_blank\" rel=\"noopener\">Joomla<\/a>.<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" width=\"512\" height=\"314\" class=\"aligncenter size-full wp-image-2353\" src=\"https:\/\/www.ssdnodes.com\/wp-content\/uploads\/2018\/08\/201808_matomo-install-08.jpg\" alt=\"Matomo VPS installation: You're all set up!\" srcset=\"https:\/\/www.ssdnodes.com\/wp-content\/uploads\/2018\/08\/201808_matomo-install-08.jpg 512w, https:\/\/www.ssdnodes.com\/wp-content\/uploads\/2018\/08\/201808_matomo-install-08-300x184.jpg 300w\" sizes=\"auto, (max-width: 512px) 100vw, 512px\" \/><\/strong><\/p>\n<p>At this point, You should see the congratulation message. Matomo is now ready to track visitors for your website. Click <code>Continue to Matomo<\/code> to login to the Matomo dashboard!<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" width=\"512\" height=\"339\" class=\"aligncenter size-full wp-image-2354\" src=\"https:\/\/www.ssdnodes.com\/wp-content\/uploads\/2018\/08\/201808_matomo-install-09.png\" alt=\"Matomo VPS installation: Logging in for the first time\" srcset=\"https:\/\/www.ssdnodes.com\/wp-content\/uploads\/2018\/08\/201808_matomo-install-09.png 512w, https:\/\/www.ssdnodes.com\/wp-content\/uploads\/2018\/08\/201808_matomo-install-09-300x199.png 300w\" sizes=\"auto, (max-width: 512px) 100vw, 512px\" \/><\/strong><\/p>\n<p>The installation of <code>Matomo<\/code> is complete. You are now ready to add the JavaScript code to as many websites as you want and start tracking web traffic using your self-hosted analytics service. Take that, Google!<\/p>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Self-host your web analytics with Matomo instead of sending all your data\u2014and your user&#8217;s data\u2014directly to Google. Easy to install on an Ubuntu 16.04 VPS.<\/p>\n","protected":false},"author":20,"featured_media":5537,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":""},"categories":[18,30],"tags":[],"class_list":["post-2341","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-devops","category-tutorials"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.ssdnodes.com\/wp-json\/wp\/v2\/posts\/2341","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ssdnodes.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ssdnodes.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ssdnodes.com\/wp-json\/wp\/v2\/users\/20"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ssdnodes.com\/wp-json\/wp\/v2\/comments?post=2341"}],"version-history":[{"count":3,"href":"https:\/\/www.ssdnodes.com\/wp-json\/wp\/v2\/posts\/2341\/revisions"}],"predecessor-version":[{"id":13057,"href":"https:\/\/www.ssdnodes.com\/wp-json\/wp\/v2\/posts\/2341\/revisions\/13057"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.ssdnodes.com\/wp-json\/wp\/v2\/media\/5537"}],"wp:attachment":[{"href":"https:\/\/www.ssdnodes.com\/wp-json\/wp\/v2\/media?parent=2341"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ssdnodes.com\/wp-json\/wp\/v2\/categories?post=2341"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ssdnodes.com\/wp-json\/wp\/v2\/tags?post=2341"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}