Back to Tools

Plausible Custom Properties Generator

Generate custom property initialization code for Plausible Analytics. Easily track up to 30 custom dimensions on your website.

Analytics Tool

Features

Bulk Additions

Add up to 30 custom key-value tracking properties at once.

Static & Dynamic

Output a static JSON-like configuration or dynamic Javascript conditional logic.

Easy Copy & Download

One-click copy to clipboard or direct download of your custom snippet.

Quick Templates & Presets

Select a pre-built template to quickly populate sample custom properties:

Configuration Settings

Enter the domain name configured in your Plausible dashboard.

Select the variant of the Plausible script you are embedding.

Custom Properties

Properties: 0/30

Generated Plausible Snippet

// Snippet will appear here...

Plausible Custom Properties Integration Guide

Custom properties let you attach rich metadata (like user roles, author names, page categories, or layout variations) to pageviews and custom events in Plausible Analytics. Follow these steps to complete your integration:

Setup Instructions

  1. Configure Form: Input your website's domain name, select the tracker variant, and define up to 30 custom properties.
  2. Paste Code: Copy the generated HTML or JS snippet and paste it inside the <head> section of your website, replacing your existing Plausible script.
  3. Declare in Dashboard: Critical: Go to your Plausible account settings -> Custom Properties -> Add Custom Property. Enter each property key (e.g., 'author', 'membership_type') so Plausible aggregates and displays them in your dashboard.

Static vs. Dynamic Properties

Use **Static Object** mode if your property values are fixed at page render time (or pre-injected via server-side PHP/liquid templates). Use **Dynamic Function** mode if values depend on browser events, or if you only want to send specific properties during custom events.

Domande Frequenti / FAQ

Why aren't my properties showing up in the Plausible dashboard?

Plausible is privacy-first and does not show custom properties until you explicitly define them in your site settings. Go to your Site Settings -> Custom Properties, and add each key you are sending.

Can I send dynamic expressions like document.title or URL parameters?

Yes. Select 'Javascript Expression' as the value type. This tool will format the snippet so that the browser evaluates the value dynamically (e.g. returning document.title or reading a search parameter).

What is the limit of custom properties in Plausible?

You can declare and send up to 30 custom properties per website domain. This tool enforces a maximum cap of 30 properties accordingly.

About the Author: Nicola Selenu

Nicola is a Lead Developer and Digital Marketing Technologist with years of hands-on experience in technical SEO, web analytics, and deliverability. He builds tools to bridge the gap between complex marketing technicalities and easy-to-use solutions.