StatusPal
StatusPal.ioBlog
Documentation
Documentation
  • Introduction
  • Get Started
    • Key concepts
    • Step 1 - Configure services
    • Step 2 - Add your team
    • Step 3 - Personalize design
    • Step 4 - Enable notifications
    • Step 5 - Report an incident
  • Next Steps
  • FAQ
  • 1-Click Import
    • Atlassian Statuspage Importer
    • Status.io Importer (beta)
  • Platform
    • Services/components
      • Dependencies
    • Subscriptions & Notifications
      • Subscriptions
      • Notifications
      • Auto-maintenance notifications
      • Subscription Groups
      • Import email subscribers
      • Auto-subscribe to private status page
      • Custom email templates
        • Template examples
    • Incidents & Maintenance
      • Reporting an Incident
      • The Uptime Calendar Page
      • Custom Incident Types
      • Exporting your incidents
    • Information Notices
    • Private Status Page
      • Adding people to your status page
      • Access Groups/Audience Specific
    • Team Members
    • Status Page Settings & Design
      • Custom Domain
      • Advanced Settings
      • Design Customization
        • Design recipes
    • Multi-Language
    • Status Badge & Banner Widget
    • Integrations
      • Terraform
      • Datadog Metrics
      • Zoom Notifications
      • Google Analytics
      • Google Calendar
      • SendGrid Email Notifications
      • PagerDuty + Statuspal status page
      • Configure SSO for your status page with Okta
      • Configure SSO for your status page with Auth0
      • Configure your Mailgun Integration
      • Configure SMS Notifications (Twilio Integration)
      • Zabbix
      • Pingdom
      • Checkly
      • New Relic
      • Datadog
      • BetterUptime
  • Monitoring & automation
    • Out-of-the-box monitoring
    • Incident automation
    • Recurring maintenance
  • Security
    • Single Sign-On
      • Save your Recovery Codes
      • Configure Role provisioning from SAML attributes
      • Configure role provisioning for Okta
    • API Keys
Powered by GitBook
On this page
  • Obtain Google Tag ID from Google Analytics
  • Configure Google Analytics on your StatusPal status page
  1. Platform
  2. Integrations

Google Analytics

Integrate your Google Analytics into your StatusPal status page.

Obtain Google Tag ID from Google Analytics

  1. In your Google Analytics dashboard, click on Admin

  2. Click on Data Collection and modification

  3. Click on Data streams

  4. Click on your Web data stream

  5. Click on View tag instructions

  6. Click on Install manually

  7. You can find your Google Tag ID at gtag('config', 'G-123'); (in this example, the Google Tag ID would be 'G-123').

  8. Copy your Google Tag ID and save it for the next step.

Configure Google Analytics on your StatusPal status page

Visit your StatusPal status page settings by clicking on Status page from the sidebar of your admin dashboard.

Once in your status page settings page, scroll down to find the Custom Javascript text field.

Enter the following Javascript code snipped, making sure to replace the value of the GTAG_ID variable ('G-123') with the value you copied from the previous step.

var GTAG_ID = 'G-123'; // Replace the 'G-123' with your own value
var gtagScript = document.createElement('script');
gtagScript.async = true;
gtagScript.src = 'https://www.googletagmanager.com/gtag/js?id='+GTAG_ID;
document.head.appendChild(gtagScript);

window.dataLayer = window.dataLayer || [];
function gtag() {dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', GTAG_ID);

Click on the Update button at the bottom, and your Google Analytics integration should start working on your StatusPal status page.

PreviousZoom NotificationsNextGoogle Calendar

Last updated 1 year ago