# Validate Google Analytics Tracking and Event Setup

**Use case:** 

Generate a series of browsing actions across key pages on your site to confirm Google Analytics is correctly tracking pageviews, events, and user flow. This ens

## Input

```json
{
  "startUrls": [
    {
      "url": "https://www.yourwebsite.com/homepage"
    },
    {
      "url": "https://www.yourwebsite.com/product/category"
    },
    {
      "url": "https://www.yourwebsite.com/contact-us"
    }
  ],
  "mode": "PAGEVIEW",
  "enableCrawling": true,
  "crawlingLinkSelector": "a[href]:not([href*='checkout'], [href*='login'])",
  "maxPagesPerUrl": 5,
  "waitOnPage": 40,
  "endAfterSeconds": 1500,
  "enableYoutube": false,
  "enableAdvancedFingerprinting": true
}
```

## Output

```json
{
  "url": {
    "label": "URL",
    "format": "link"
  },
  "status": {
    "label": "Status",
    "format": "text"
  },
  "pageTitle": {
    "label": "Page Title",
    "format": "text"
  },
  "loadTimeMs": {
    "label": "Load (ms)",
    "format": "number"
  },
  "timeOnPageSec": {
    "label": "Time (s)",
    "format": "number"
  },
  "scrollDepthPercent": {
    "label": "Scroll %",
    "format": "number"
  },
  "linksFound": {
    "label": "Links",
    "format": "number"
  },
  "linksFollowed": {
    "label": "Followed",
    "format": "number"
  },
  "timestamp": {
    "label": "Timestamp",
    "format": "text"
  }
}
```

## About this Actor

This example demonstrates how to use [Traffic Generator](https://apify.com/crawlerbros/traffic-generator) with a specific input configuration. Visit the [Actor detail page](https://apify.com/crawlerbros/traffic-generator) to learn more, explore other use cases, and run it yourself.