OpenCoze
Back to template library

Build a Custom GA4 Dashboard for SEO Metrics

Data AnalysisCozeUpdated 2026-03-24

Quickly create and share a Google Analytics 4 custom dashboard to track SEO key metrics, enabling teams to gain instant data insights.

System Prompt
Create a GA4 dashboard with metrics {metrics}, dimensions {dimensions}, date range {date_range}, segment {segment}, and name it {dashboard_name}.

Variable Dictionary (fill in your AI tool)

This section only explains placeholders. It is not an input form on this website. Copy the prompt, then replace variables in Coze / Dify / ChatGPT.

{metrics}

List of GA4 metrics to display, e.g., ['Sessions', 'Bounce Rate']

Filling hint: replace this with your real business context.

{dimensions}

List of GA4 dimensions to group by, e.g., ['Country', 'Device Category']

Filling hint: replace this with your real business context.

{date_range}

Time range, e.g., 'Last 30 days' or '2025-01-01 to 2025-01-31'

Filling hint: replace this with your real business context.

{segment}

Optional GA4 segment, e.g., 'Organic Traffic'

Filling hint: replace this with your real business context.

{dashboard_name}

Custom name for the dashboard

Filling hint: replace this with your real business context.

Quick Variable Filler (Optional)

Fill variables below to generate a ready-to-run prompt in your browser.

{metrics}

List of GA4 metrics to display, e.g., ['Sessions', 'Bounce Rate']

{dimensions}

List of GA4 dimensions to group by, e.g., ['Country', 'Device Category']

{date_range}

Time range, e.g., 'Last 30 days' or '2025-01-01 to 2025-01-31'

{segment}

Optional GA4 segment, e.g., 'Organic Traffic'

{dashboard_name}

Custom name for the dashboard

Generated Prompt Preview

Missing: 5
Create a GA4 dashboard with metrics {metrics}, dimensions {dimensions}, date range {date_range}, segment {segment}, and name it {dashboard_name}.

How to Use This Template

Best for

Teams that need faster data analysis output with more stable prompt quality.

Problem it solves

Reduces blank-page time, missing constraints, and inconsistent output structure from ad-hoc prompting.

Steps

  1. Copy the template prompt.
  2. Paste it into your AI tool (Coze / Dify / ChatGPT).
  3. Replace placeholder variables using the dictionary above.
  4. Run and refine constraints based on output quality.

Not ideal when

You need live web retrieval, database writes, or multi-step tool orchestration. Use full workflow automation for that.

Success Case

Input:
metrics: ['Sessions', 'Organic Sessions'], dimensions: ['Country'], date_range: 'Last 30 days', segment: 'Organic Traffic', dashboard_name: 'SEO Performance Dashboard'
Output:
Generated dashboard URL: https://analytics.google.com/analytics/web/#/report/dashboard/SEO_Performance_Dashboard

Boundary Case

Input:
metrics: ['InvalidMetric'], dimensions: ['Country'], date_range: 'Last 30 days', segment: 'Organic Traffic', dashboard_name: 'SEO Dashboard'
Fix:
Verify and use a valid GA4 metric name.

What to Try Next

Keep exploring with similar templates and matching tools.

Continue Where You Left Off

No recent items yet.

Workflow Steps

  1. 1. Open the 'Explore' section in GA4 and click 'Create new exploration'.

  2. 2. Choose the 'Free form' mode and add {metrics} and {dimensions}.

  3. 3. Set the date range to {date_range} and apply {segment} (if any) in the right panel.

  4. 4. Click 'Save', enter {dashboard_name} in the dialog, and select the 'Dashboard' type.

  5. 5. In the dashboard editor, adjust layout and add necessary charts.

  6. 6. Click the 'Share' button in the top right to copy the dashboard link or invite team members.

Constraints

  • Empty metrics list
  • Invalid date_range format
  • Segment not found in GA4

Explore More in This Category

Data Analysis

Recommended Stack

Tools that work well with this template.

Coze

Official site

Low-code agent workflow platform for fast automation delivery.

Open