! Getting Started

This guide walks you through the initial setup to use PrivateStater.

Step 1: Create an Account

  1. Go to PrivateStater Dashboard
  2. Sign up if you don't have an account

Step 2: Create a Project

A project is a unit for managing multiple websites as a group. You can invite colleagues, employees, and teams.

  1. Click the New Project button in the dashboard
  2. Enter a Project ID

Project ID Rules

Step 3: Add a Website

  1. Click the Add Website button inside the project
  2. Enter the following information:
Field Description Example
Website ID Unique identifier (must be globally unique) my-blog
Host Actual domain (excluding protocol) example.com or sub.example.com

Website ID Rules

Step 4: Install Script

Add the following code to the <head> section of your website:

<script> window.PrivateStaterConfig = { prstSite: "YOUR_SITE_ID" };</script>
<script src="https://privatestater.com/privatestater.js"></script>

Replace YOUR_SITE_ID with the Website ID created in Step 3.

Installation Example

<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>My Website</title>

    <!-- PrivateStater Getter -->
    <script> window.PrivateStaterConfig = { prstSite: "my-blog" };</script>
    <script src="https://privatestater.com/privatestater.js"></script>
</head>
<body>
    <!-- Website Content -->
</body>
</html>

Step 5: Enable Features

After installing the script, enable the desired features in the dashboard:

Feature Default State Activation Location
Analytics Always Active -
Captcha Inactive Captcha > Settings
Feedback Inactive Feedback > Settings

Step 6: Verify Installation

  1. Visit your website
  2. Check if real-time statistics are displayed in the dashboard
  3. Visitor data should appear within about 1 minute

Testing in Local Development Environment

To test on localhost, you must enable Allow Localhost in the settings for each feature.

Dashboard > Website > [Feature] > Settings > Allow Localhost: Enable

Member Management

You can invite team members to the project to manage it together.

Roles

Role Permissions
Owner All permissions (including project deletion, member management)
Member View data and change settings

Inviting Members

  1. Dashboard > Project > Member Management
  2. Enter the User Key of the user to invite
  3. Send invitation (expires in 7 days)

Notes

Next Steps

Now that you have acquired the basic knowledge, refer to the following documents to learn more about the features: