Skip to guide
ClickStat / Guide
Dashboard ↗
CLICKSTAT / HANDBOOK

From your first script
to clearer enquiry data.

Set up your website, verify events and connect your team. Choose a topic on the left or start with installation.

01

Getting started

Add a website and install the script

ClickStat collects contact events on websites running its script. Each website has its own installation code. You do not need to add tracking code to every individual button.

  1. Create an account or sign in, then open Websites.
  2. Add a name and domain. The name identifies the site in reports; the domain must match the website running your widget.
  3. Open the installation code from the site card and copy the complete snippet.
  4. Place it in the shared website template before the closing </body> tag. In WordPress, use your theme’s custom script field or a script insertion plugin.
  5. Publish the changes and clear the website/CDN cache. Install the snippet only once per page.
Add a website and install the script — workflow diagram
Workflow illustration. Examples contain no actual customer data.

Verify your first event

Test on the published website, not just inside your CMS editor. Reports describe recorded interactions; opening a page does not itself mean a contact event occurred.

  1. Add and enable at least one button in Buttons.
  2. Open your website without a script blocker and click the button.
  3. In Analytics, choose this website and a date range including today, then refresh the report.
  4. If no event appears, check the domain, installation snippet, button status and plan allowance. Do not add a second copy of the snippet.
02

Widget and buttons

Appearance and position

Widget appearance belongs to the selected website. Switching the dashboard theme does not recolor the buttons on your own website: those are separate settings. Some options require an eligible paid plan.

  1. Open widget settings for the relevant website in Websites.
  2. Choose position, colors, label and the available display options.
  3. Save and check on desktop and mobile. The widget should not cover the cart, navigation or checkout button.

Add a messenger or another button

In Buttons, first select a website. The button type identifies the channel; its address defines where the visitor goes. Always test the destination after saving.

  1. Create a button, select its type and enter a clear label.
  2. Use https://t.me/username for Telegram, https://wa.me/380XXXXXXXXX without spaces for WhatsApp, tel:+380XXXXXXXXX for phone, or mailto:info@example.com for email.
  3. Set color, size and position, enable the button and save.
  4. Verify that it opens the right destination. A click does not confirm that the visitor sent a message.

Translations and A/B groups

The button editor supports translated labels and destinations as well as A/B group assignment. Compare variants over the same period and consider the traffic volume: a handful of clicks does not establish a winning variant.

  1. Add a language code such as en and a translated label. Set a separate destination if needed.
  2. For an experiment, assign an A/B group. Change one clear factor at a time, such as the button label.
  3. After publishing, check rendering and compare the recorded results in Analytics.
03

Phones and email

Masking and revealing a number

The script finds phone numbers in tel: links and ordinary text, masks the last two digits and reveals the full number on click. Text matching is conservative: 9–15 digits within one text node. Images, closed Shadow DOM, iframes and contacts split across text nodes are not automatically recognised.

  1. Open Websites → widget settings.
  2. Enable phone masking. Leave the filter empty for all numbers, or enter complete numbers with country codes, one per line. Spaces and parentheses do not affect matching. Save.
  3. Click a masked number on the website: the full number and a call button should appear.
  4. Check number reveals and call-button clicks separately in Analytics.
<a href="tel:+380XXXXXXXXX">+380 XX XXX XX XX</a>
Masking and revealing a number — workflow diagram
Workflow illustration. Examples contain no actual customer data.

What the events actually mean

phone_reveal means the visitor revealed the number, possibly to dial it manually on another phone. phone_click means they clicked a phone link or call button. Neither confirms a connected call, call duration or a sale; those require a telephony integration.

Email reveals and email clicks

Enable email masking separately in site settings. The script finds mailto: links and addresses in ordinary text. A click reveals the address and a Send email button. email_reveal means the address was revealed; email_click means a mail link was clicked. Neither confirms that an email was sent. Form fields, editable content, code and data-clickstat-ignore blocks remain unchanged.

  1. Enable email masking and save.
  2. Reveal an address, then click Send email.
  3. In Analytics choose Email reveals or Email clicks. GA4/GTM receive clickstat_email_reveal and clickstat_email_click.
04

Forms and leads

Attempt versus successful submission

A native form submission attempt and a confirmed lead are different events. Validation errors or server failures should not become confirmed conversions. ClickStat supports its own widget form and the Contact Form 7 success event.

  1. Configure the widget’s lead form in Leads for the selected website.
  2. For Contact Form 7, test a successful submission. Contact forwarding recognises conventional field names email/your-email, phone/tel/your-phone/your-tel and message/your-message.
  3. Submit your own test details and check the lead in the dashboard. If Telegram is enabled, also verify the bot message.
  4. Other AJAX forms need a signal after actual success; clicking Submit alone is insufficient.
Attempt versus successful submission — workflow diagram
Workflow illustration. Examples contain no actual customer data.

Custom forms and exclusions

A developer can dispatch clickstat:form-success after a successful server response. It records success and forwards a conversion event, but does not itself copy form fields to Telegram. Do not dispatch it alongside the automatic integration for the same form, as that can duplicate conversions.

  1. Add data-clickstat-ignore to sign-in, payment or other forms that should be excluded.
  2. Dispatch success only after your server confirms it, not in the button’s click handler.
  3. Verify that one successful submission produces one expected event.
// After your server confirms successful submission:
document.dispatchEvent(new CustomEvent('clickstat:form-success'));

// Exclude a form:
<form data-clickstat-ignore>...</form>

Working with the lead inbox

Select a website in Leads to review contact details and messages. Compare leads with your actual workflow: a Telegram notification confirms notification delivery, not delivery of a separate website email or a completed sale.

05

Analytics and attribution

Read reports by event type

Start by selecting a website, date range and event type. Button clicks, number reveals and call clicks describe different actions. One visitor can perform several actions, so their sum is not a count of unique customers.

  1. Open Analytics and choose your website.
  2. Select a period and event type: buttons, number reveals or call clicks.
  3. Review sources, devices, geography and time breakdowns.
  4. For phones, inspect the per-number breakdown and recent events. Geography is approximate; VPNs and browser restrictions can affect it.
Read reports by event type — workflow diagram
Workflow illustration. Examples contain no actual customer data.

UTM tags and attribution limits

ClickStat keeps tagged campaign and arrival context per site and tab. Internal navigation preserves it; a new external or tagged arrival replaces it. Context expires after 30 minutes since the last recorded interaction or page load. Without tags or a referrer, reports show Unknown source; this does not prove a direct visit.

  1. Add utm_source, utm_medium and utm_campaign to ads, Telegram links, emails and QR codes.
  2. Check that redirects keep these tags. Open the tagged link, navigate to another page and perform a test action.
  3. In Analytics select the site, event type and Sources tab. Missing attribution on old events cannot be reliably reconstructed.
https://example.com/?utm_source=google&utm_medium=cpc&utm_campaign=summer
06

Google Analytics and GTM

Direct delivery to GA4

GA4 is the current Google Analytics product; Universal Analytics is the older version. ClickStat’s direct mode uses the Google tag already installed on your website. Entering a Measurement ID alone is insufficient if that tag does not load.

  1. Select “Google tag (GA4)” in widget settings.
  2. Enter the G-XXXXXXXXXX Measurement ID for the correct web stream and save.
  3. Make sure the Google tag with that ID is installed and allowed by the visitor’s consent settings.
  4. Perform a test action and check GA4 Realtime, or DebugView with debugging enabled. Mark the relevant events as key events in GA4.

Delivery through Google Tag Manager

GTM mode pushes events to dataLayer. The GTM container must be installed on the website; ClickStat does not automatically create its tags or triggers. Choose one delivery route to avoid sending the same conversion twice.

  1. Select “Google Tag Manager (dataLayer)” and save.
  2. In GTM, create a Custom Event trigger. To match the three main events, use the expression below with regex matching enabled.
  3. Create a GA4 Event tag with your Google tag/Measurement ID. Use the built-in Event variable for the event name. Read contact_channel with a Data Layer Variable if needed.
  4. Attach the trigger, test in Preview / Tag Assistant and publish the container.
  5. Verify receipt in GA4 and mark only the relevant business events as key events. A number reveal is not a confirmed call.
^clickstat_(messenger_click|phone_click|form_submit)$
Delivery through Google Tag Manager — workflow diagram
Workflow illustration. Examples contain no actual customer data.
07

Telegram and team access

Connect yourself to the bot

Connection uses a single-use invitation for a specific website. No phone number is needed: Telegram allows the bot to message a user after they open the conversation and press Start.

  1. In Websites, open Telegram for the relevant site.
  2. Choose Create invitation. The link expires after 30 minutes.
  3. Open it in Telegram or Telegram Web and press Start.
  4. Verify that the member appears in the dashboard. Submit a test lead and check delivery.
  5. Use Analytics, Conversions and Leads in the bot menu for the corresponding views.
Connect yourself to the bot — workflow diagram
Workflow illustration. Examples contain no actual customer data.

Invitations and revoking access

Create a separate invitation for every teammate. Access belongs to a website: only share invitations with people who should see its leads. Members receive leads and weekly summaries while their access remains active.

  1. Create a new invitation and share it privately with the intended teammate.
  2. To end access, choose Revoke access beside the relevant member.
  3. Choose Cancel unused invitations to invalidate outstanding links.
  4. Revocation stops future access; it does not erase messages already delivered to Telegram.

Separate topics for each website

In the private bot, open My websites and choose a website. Analytics, conversions and leads refer only to that website. Choose Site topics to create three separate threads; the bot owner must enable Topics in BotFather first. Each topic belongs to one website and category. Configure shared group topics in the dashboard Telegram section. All group members can see its topics: these are shared spaces, not per-site access restrictions.

  1. Private bot: My websites → website → Site topics.
  2. Group: enable topics and add the bot as an administrator with permission to manage topics.
  3. Generate a single-use connection command in that website’s dashboard and send it to the group from your linked Telegram account. You must be a group administrator.
  4. Write /report in a topic for its report. Disconnect the group in the dashboard. Revoking a member also disables group routes connected by that member; previously delivered messages remain.
08

Click maps

Open the map on your own website

Click maps has its own dashboard menu item. The dashboard generates a link; the actual overlay opens on the corresponding page of your website through the installed script.

  1. Open Click maps and select a website.
  2. Enable Collect click coordinates and save. Collection starts when enabled; it does not reconstruct past activity.
  3. Choose a page, device and source. The page list comes from available data for the last 30 days.
  4. The link updates automatically. Choose Open map on website or copy the link.
  5. If the map is empty, verify activity on that page and then clear the device and source filters.
Open the map on your own website — workflow diagram
Workflow illustration. Examples contain no actual customer data.

Shared token and accuracy

One site token is shared by all of its page maps. Changing a filter does not create a new token. A link grants access to the map, so share it only with intended viewers. Click locations depend on layout: redesigns or different viewport sizes can shift older hotspots.

  1. Choose Regenerate token to invalidate all previous map links for the website.
  2. Share fresh links with your team; the previous ones will no longer work.
  3. Compare mobile and desktop activity separately and account for layout changes.
09

Account, plans and themes

Language, theme and security

Your theme choice is stored in this browser and applies to the landing page, authentication and dashboard. A new browser starts in light mode. The header language control changes interface language; translations of buttons on your own website are configured separately.

  1. Choose a language or use the light/dark switch in the header.
  2. In Settings, update your name, email or profile language and save.
  3. To change your password, enter the current password, a new password and confirmation. Use a password unique to this service.

Allowances and billing

Feature availability, number of websites and monthly click allowance depend on your plan. Check the billing section for current prices and upgrade options; this guide does not hardcode prices that may change.

  1. Review your current plan and allowance in the dashboard.
  2. Open billing for available plans and extra-click terms.
  3. Before changing plans, check the website limit and availability of the features you need.
10

FAQ and troubleshooting

Events are missing

Check the chain in order: script → interaction → report → external integration. If ClickStat records an event but GA4 does not, reinstalling the widget is unlikely to fix a Google tag or GTM configuration problem.

  1. Verify the website, period and event type in the report.
  2. Check the snippet on the published page, button status, caches and remaining allowance.
  3. Consider analytics consent, blockers and the website’s Content Security Policy.
  4. For GA4, verify the ID and Google tag; for GTM, check the trigger, tag and published container version.
  5. Do not equate event counts with people or sales without further validation.

A lead exists but Telegram is silent

First verify that the lead was saved successfully in the dashboard. Then check that the recipient is connected to the correct website. Notifications are queued and may not arrive instantly.

  1. Check that you pressed Start from a valid invitation and have not blocked the bot.
  2. Make sure the recipient appears in the correct website’s member list.
  3. Check that lead notifications are enabled. For a form outside the widget, verify the supported integration and contact field.
  4. If every member is affected, the administrator should check bot configuration, webhook and queue processing on the server.