Analytics

Last updated

Every published Ploy site includes first-party analytics with no setup. Ploy tracks pageviews, sessions, traffic sources, scroll depth, clicks, forms and searches, and groups visits into channels, including visits from AI assistants such as ChatGPT. You ask Ploy's Agent for charts and dashboards in a chat, and you can connect GA4 and Search Console.

Ploy includes built-in analytics out of the box — no extra setup required. For deeper insights, connect Google Analytics 4 and Google Search Console directly from the dashboard.

Limits and plan requirements

  • Built-in analytics comes with every published Ploy site. To track a site Ploy doesn't host, add the Ploy snippet. To send events from your backend, create a server-side secret key.
  • Only owners and admins can change analytics settings.
  • Ploy's analytics sets a first-party cookie named ploy_anon_id, kept for one year, and runs whatever the consent setting is. GA4 and Meta Pixel tags wait for consent.
  • Forwarding to GA4, Meta Pixel and Google Ads sends browser events only, not server-side events.
  • A table card shows up to 1,000 rows.
  • Company and person details come from visitor identification, which uses enrichment credits. See Visitor Identification.

Built-in Analytics

Every published Ploy site automatically tracks:

  • Pageviews — Total and unique views per page
  • Traffic sources: where visitors come from. Top Sources ranks the sites that refer visitors and leaves out clicks between pages of your own site. Ask Ploy's Agent for a channel breakdown to group visits as Direct, Organic Search, AI, Social, Referral, Email, Paid Search, or Paid Social. The AI channel counts visits from AI assistants such as ChatGPT, Perplexity, Claude, Gemini, and Copilot.
  • Top pages — Your most-visited pages ranked by traffic
  • Trends — Daily, weekly, and custom date range comparisons

Dashboards & Charts

Create custom dashboards with charts to visualize your data:

  • Line charts — Track trends over time
  • Bar charts — Compare pages or sources
  • Metric cards — Highlight key numbers (total visitors, pageviews, unique visitors)
  • Tables — Detailed breakdowns with sorting and filtering
  • Pie charts — Traffic source distribution
  • Area charts — Cumulative trends

Arrange a dashboard

Each site has a Dashboard page. Choose Create or Edit dashboard to work on it with Ploy's Agent. Ask it to add text notes, titled sections, or tabs that group related cards. For example: "Add a Paid tab with the ad spend and conversion cards, and a note explaining how we count a lead." Editable text blocks have a pencil button, so your team can update the notes in place.

On a large screen, open a card's settings to change its width with Resize or its size with Height (Auto height, Short, Medium, Tall, or Extra tall). Text notes, sections, and tabs always fit their content, so they have no Height option. Drag a card by its handle to move it. Removing a section or tab group keeps its cards on the dashboard.

Filter and group a dashboard

Ask Ploy's Agent to add controls above the cards, such as grouping by day, week, or month, a filter for a campaign or a status, or a search box. Changing a control updates only the cards that use it. Your choices are kept in the page address, so you can copy the link to share that view. To make your choices the default for everyone, choose Save for everyone. To go back to the saved view, choose Reset.

A filter with several choices applies when you close it. A table card shows up to 1,000 rows; when there are more, it says Showing the first 1,000 rows.

Cards can show results that were loaded recently. To load new numbers, choose Refresh. While cards load, the label next to Refresh counts them, for example Updated 3 of 25. If a card says its query ran past the time limit, ask Ploy's Agent to use a shorter date range or a simpler query.

Cards from your databases

A dashboard card can show data from a database table. Ask Ploy's Agent for totals per day, week, or month, the top items in a group, or a rate that divides one total by another, such as click-through rate, cost per click, cost per acquisition, or return on ad spend. Rates are calculated from the totals for the selected date range.

One card can also combine two tables, for example ad spend and deals on the same chart, or show a rolling average, a cohort table, or a funnel. To keep cards consistent, ask Ploy's Agent to save a shared definition, such as what counts as an active user, and reuse it on other cards. If you change a definition, Ploy's Agent tells you which cards it affects and offers to fix them.

Ask Ploy's Agent to create charts for you — "Show me a chart of pageviews over the last 30 days" or "Create a dashboard with our top pages and traffic sources."


Analytics settings: sources

Open your site, then Settings → Analytics. Only owners and admins can change these settings.

  • Hosted site: Ploy tracks your Ploy site automatically: page views, sessions, scroll depth, button and outbound clicks, forms, and searches. Use Debug to watch events arrive.
  • External sites: to track a site that Ploy does not host, choose External sites, then Set up. Create a snippet, add the domains allowed to send events, and paste the snippet on every page of that site.
  • Server-side events: to send events from your backend, choose Server-side events, then Set up. Create a secret key and send events to the track and identify endpoints shown in Instructions.

On any tracked page, record a custom event with window.ploy.track("event_name", { property: "value" }), and identify a known visitor with window.ploy.identify(...). Choose Edit in a chat to have Ploy's Agent set up tracking for you.

Send events to GA4, Meta Pixel, and Google Ads

You can forward Ploy events to Google Analytics 4, the Meta Pixel, and Google Ads without editing code.

  • Open Settings → Analytics and choose Add next to a destination.
  • Enter its ID: a GA4 measurement ID (G-...), a Meta Pixel ID, or a Google Ads conversion ID (AW-...).
  • Turn the destination on, then choose which events to send to it.
  • The event list shows events recorded in visitors' browsers. Server-side events are not listed, because these destinations run in the browser and cannot receive them. Use Filter events to find an event by name. If an event has not been recorded yet, add its name at the bottom of the list to route it anyway. A destination that is switched off shows Inactive.

A destination shows Active when it is on and sending events, and Active · nothing routed when it is on with no events chosen. Changes go live within a few minutes; you do not need to publish. These tags wait for visitor consent: call window.ploy.consent({ analytics: true, ads: true }) from your cookie banner when a visitor accepts.

The consent call controls the Google Analytics 4 and Meta Pixel tags that Ploy adds for you. Those tags wait until a visitor gives consent.

Ploy's own first-party analytics runs whatever the consent setting is. This is what powers your visits, events, and the Visitors tab. It sets a first-party cookie named ploy_anon_id, kept for one year, plus a matching entry in the browser's local storage. Events are sent to your site's own domain.

You are responsible for your site's privacy notice and for meeting the consent rules that apply in your region. Consider mentioning Ploy's first-party analytics in your privacy policy.

To turn visitor enrichment off for the whole workspace, open Settings → Enrichments and set it to Disabled. To change enrichment for one site, open that site's Visitors tab and choose Enrichment settings. See Visitor Identification for what enrichment adds.


Google Analytics 4

Connect your GA4 property to query your Google Analytics data directly from Ploy.

Setup

  1. Open Integrations directly from the workspace sidebar.
  2. Search for Google Analytics and choose Connect when available.
  3. Authorize with your Google account that has access to the GA4 property.
  4. After you authorize, choose a property in the picker on the Google Analytics card. If your account has only one property, Ploy selects it for you. Until a property is saved, the card says Select a property to get started, and Ploy's Agent cannot query GA4. To switch properties later, use the same picker on the card in Integrations or in the chat. If saving fails, choose Retry setup.

What You Can Do

Once connected, ask Ploy's Agent to pull GA4 data:

  • "How many active users did we have this month?"
  • "What are our top landing pages by sessions?"
  • "Show me user acquisition by channel for the last 30 days"

Google Search Console

Connect GSC to monitor your search performance — impressions, clicks, rankings, and indexing status.

Setup

  1. Open Integrations directly from the workspace sidebar.
  2. Search for Google Search Console and choose Connect when available.
  3. Authorize with your Google account.
  4. After you authorize, choose a site in the picker on the Google Search Console card. Until a site is saved, Ploy's Agent cannot query Search Console. To switch sites later, use the same picker on the card in Integrations or in the chat. If saving fails, choose Retry setup.

What You Can Do

Once connected:

  • "What keywords are we ranking for?"
  • "Show me our top queries by clicks this month"
  • "Check if our new blog post is indexed"
  • "What's our average position for [keyword]?"

Asking Ploy's Agent About Analytics

You don't need to navigate dashboards manually. Ploy's Agent can answer analytics questions conversationally:

  • "How's our traffic trending this week vs. last week?"
  • "Which blog posts get the most organic traffic?"
  • "Create a dashboard showing pageviews, top pages, and visitor companies"
  • "What's our click-through rate on Google for our top 10 keywords?"

What's Next?