Skip to main content
Your standalone board is the public page where customers submit feedback, follow your roadmap, and read changelog updates. Adding an analytics tracker like Google Analytics lets you see how visitors use that page: which roadmap items draw the most views, how long people spend reading a changelog entry, and where they drop off. Most analytics tools ship a snippet with two parts: a loader <script src="..."> that pulls in the library, and a short block of inline JavaScript that configures it. Sleekplan keeps those two parts in separate fields, so you paste each one where it belongs.
Custom code is available on the Pro plan and above. The inline Custom JavaScript field also requires a custom domain, so your board runs on an address like feedback.yourcompany.com. On a free .sleekplan.app address the loader in the head still works, but the inline configuration is saved and ignored.
This applies to your standalone board only, the hosted page at your Sleekplan address or custom domain. It does not track the embedded widget on your own site. The widget runs in an isolated frame, so measure it with the analytics you already run on the host page.

Add Google Analytics

Google Analytics 4 gives you a two-line snippet. The first line is the loader, the second is the configuration. Split them across the two fields as shown below.
1

Open the Portal settings

Go to Settings → Public Portal & Widget → Portal and scroll to the Custom code section at the bottom of the page. Click it to expand.The Portal settings page open in the admin, with the Portal item highlighted in the Public Portal & Widget sidebar section
2

Paste the loader into the head markup

In the <head> markup field, add the Google tag loader. Keep the full <script> tag here, because this field accepts external script references.
<script async src="https://www.googletagmanager.com/gtag/js?id=G-XXXXXXXXXX"></script>
Replace G-XXXXXXXXXX with your own Measurement ID.The expanded Custom code section showing the head markup, After body, Before body, and Custom JavaScript fields
3

Paste the configuration into Custom JavaScript

In the Custom JavaScript field, add the inline setup. Do not wrap it in a <script> tag: Sleekplan adds the wrapper for you, so pasting your own would break the code.
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-XXXXXXXXXX');
4

Save your changes

A save bar appears at the bottom of the page once you edit a field. Click Save to publish the tracker to your board. Open your board and confirm that events start arriving in your Google Analytics dashboard.

Adding other trackers

The same split works for any third-party snippet that arrives as a loader plus an inline block, such as a product-analytics or chat tool. Put anything that looks like <script src="..."> in the <head> markup field with its tag intact, and put the inline configuration (the code that would normally sit between <script> and </script>) in the Custom JavaScript field without the tags. For a full reference on every field, what each one accepts, and the custom-domain requirement, see Add custom code to your portal.

Add custom code to your portal

The complete reference for the head markup, CSS, and JavaScript fields.

Set up a custom domain

Required before inline Custom JavaScript runs on your board.