1. Start
  2. Requirements
  3. Installation
  4. Facebook API
  5. Google Server Key
  6. HTTPS Support
  7. Customization
    1. Basic Settings
    2. SEO Settings
    3. EU Cookie Law
  8. Updates
  9. Before Buy

Domain Statistic Tool


Thank you for purchasing this item. If you have have some problems, please contact me: roman.codecanyon@gmail.com



Make sure that directory /root/cache/ has 0777 permissions (should be executable)

Note. If you installed script not in web-root directory then you need to add RewriteBase /subdir/ into .htaccess file after RewriteEngine on

Facebook API

To get number of shares you must create facebook developer account and facebook web app. Read here how to do it: https://developers.facebook.com/docs/apps/register Once you create www app, get app id and app secret from Facebook Developer Dashboard and put them into ~root/config/facebook.php

Google Server Key

Go to Google Console. Create a project if you have not created it yet and generate Server Key Next, enable following APIs:

  • Safe Browsing APIs
Add key to main config file (~root/config/app.php)

$config['google_server_key'] = 'SERVER-KEY';

HTTPS Support

In order to get full support of HTTPS you must have Free Unbranded account or Paid account. If you have Free Unbranded account, then paste verification HTML provided by Pagepeeker before verification process.


'verifyHtml'=>"Verification html",

You can find a table below describing different cases

Pagepeeker account type Configuration
Free Unbranded Account
'verifyHtml'=>"Verification html",
Basic Account
Advanced or Premium Account


Basic Settings

Open root/config/app.php file:

$config['admin_email'] - set your email address
$config['rewrite'] - Set to false if mod rewrite module is disabled, true other way
$config['captcha'] - Wheter to show captcha (Default: true). Modify this parameter on own risk! I'm not responsible if your app will be banned due to spam
$config['web_cache_time'] - Domain statistic cache time in seconds. One day is recommended value
$config['stat_cache_time'] - Statistic cache time. Number of added domains in the time interval (Total, monthly, daily). Displayed on index page
$config['webs_on_page'] - Count of websites  on a page in "Upcoming" module
$config['upcoming_max'] - Number of upcoming websites. Set to -1 to display all
$config['gmaps_api_key'] - Set your google maps api key (Static Maps API) to display website location on map

SEO Settings and Og Meta Properties

All seo and meta properties phrases located in /root/app/meta.php

MySQL Settings

Mysql settings located in /root/app/db.php

EUROPA websites must follow the Commission's guidelines on privacy and data protection and inform users that cookies are not being used to gather information unnecessarily.

All websites owned in the EU or targeted towards EU citizens, are now expected to comply with the law. If it is relevant for you and you are using 3rd party tools to analyze statistic, ads campaigns which are using cookies, then you need to inform user about it.

A simple floating widget is used which is enabled by default. All configuration settings are stored in ~root/config/cookieconsent.php file.

$config['cookieconsent_enable'] = true; // whether to show widget
$config['cookieconsent_learnmore'] = "Learn more"; // Learn more link text
$config['cookieconsent_dismiss'] = "Got it!"; // User confirmation text
$config['cookieconsent_message'] = "This website uses cookies to ensure you get the best experience on our website."; // Explanation
$config['cookieconsent_theme'] = "light-floating"; // theme: dark-top, dark-floating, dark-bottom, light-floating, light-top, light-bottom
$config['cookieconsent_link'] = "http://www.google.com/intl/en/policies/privacy/partners/"; // Leave empty to hide link (Learn more)


Version 0.1

Already bought?
New files:


Modified Files:

How to fix bug with Geo Location API?
Replace your old file class/class.location.php with new one.
How to implement new features?
  1. Run following queries in MySQL
    1. CREATE TABLE `ds_whois` ( `SiteID` bigint(20) unsigned NOT NULL, `whois` text NULL, PRIMARY KEY (`SiteID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
    2. INSERT INTO `ds_whois` (`SiteID`) SELECT SiteID FROM ds_domain;
  2. Insert $config['captcha'] = true; in /config/app.php.
  3. Copy Modified files and New files into your project
  4. Ctrl + F5 in browser to clear cache

NOTE! All existing domains will not have WHOIS information. If you want, you can update it yourself in application. New added domains will have WHOIS information.

Before Buy

You can not run this script on a free web hosting, because their IPs banned on Google, Twitter, Facebook because of a spam. 
Also, I am not responsible if your server's IP will be banned and script will not be able to get information from public API's.