<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Niagahoster</title>

<script>
    (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
      (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
      m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
    })(window,document,'script','https://www.google-analytics.com/analytics.js','ga');

    ga('create', 'UA-37502729-2', 'auto');
    ga('send', 'pageview');
    ga('send', 'event', 'Affiliate', document.location.pathname, {
      nonInteraction: true
    });
  </script>

<script type="text/javascript">!function(){for(var e=document.cookie.split("; "),t=[],n=0;n<e.length;n++){var o=e[n].split("=");t[o[0]]=o[1]}var i=decodeURIComponent(t.last_page);i="undefined"==i?[]:JSON.parse(i);var a=new Date,s=[a.getFullYear(),a.getMonth()+1,a.getDate()],g=[a.getHours(),a.getMinutes(),a.getSeconds()],l=a.getTimezoneOffset()/-60,p="plusign";0>l&&(p="minusign"),i.push({url:window.location.hostname.replace("www.","")+window.location.pathname,datetime:s.join("-")+"T"+g.join(":")+p+l+":00",boxaff:t.BOXAFF,referrer:document.referrer}),20<i.length&&i.splice(1,1),a.setTime(a.getTime()+5184e6),document.cookie="last_page="+encodeURIComponent(JSON.stringify(i))+";expires="+a.toUTCString()+";domain="+window.location.hostname.replace(/(www|panel|dev-rest|dev-front)\./,"")+";path=/"}();</script>
<script>
    var urlParams;
    (window.onpopstate = function() {
      var match,
        pl = /\+/g,
        search = /([^&=]+)=?([^&]*)/g,
        decode = function(s) {
          return decodeURIComponent(s.replace(pl, " "));
        },
        query = window.location.search.substring(1);

      urlParams = {};
      while (match = search.exec(query))
        urlParams[decode(match[1])] = decode(match[2]);
    })();

    var niaga_url = 'https://www.niagahoster.co.id/';
    if (urlParams['r']) {
      window.location.href = niaga_url + urlParams['r'];
    } else {
      window.location.href = niaga_url;
    }
  </script>
</head>
</html>