{
  "name": "Get analytics of a website and store it Airtable",
  "nodes": [
    {
      "name": "On clicking 'execute'",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        270,
        300
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "name": "Google Analytics",
      "type": "n8n-nodes-base.googleAnalytics",
      "position": [
        470,
        300
      ],
      "parameters": {
        "viewId": "",
        "additionalFields": {
          "metricsUi": {
            "metricValues": [
              {
                "alias": "Sessions",
                "expression": "ga:sessions"
              }
            ]
          },
          "dimensionUi": {
            "dimensionValues": [
              {
                "name": "ga:country"
              }
            ]
          },
          "dateRangesUi": {
            "dateRanges": {
              "endDate": "2020-08-30T18:30:00.000Z",
              "startDate": "2019-12-31T18:30:00.000Z"
            }
          }
        }
      },
      "typeVersion": 1
    },
    {
      "name": "Set",
      "type": "n8n-nodes-base.set",
      "position": [
        670,
        300
      ],
      "parameters": {
        "values": {
          "number": [
            {
              "name": "Metric",
              "value": "={{$json[\"total\"]}}"
            }
          ],
          "string": [
            {
              "name": "Country",
              "value": "={{$json[\"ga:country\"]}}"
            }
          ]
        },
        "options": {},
        "keepOnlySet": true
      },
      "typeVersion": 1
    },
    {
      "name": "Airtable",
      "type": "n8n-nodes-base.airtable",
      "position": [
        870,
        300
      ],
      "parameters": {
        "table": "Table 1",
        "options": {},
        "operation": "append",
        "application": ""
      },
      "typeVersion": 1
    },
    {
      "id": "a53d422a-bccc-516b-8c65-56b5b1ac3650",
      "name": "Publication · Overview and setup",
      "type": "n8n-nodes-base.stickyNote",
      "typeVersion": 1,
      "position": [
        -800,
        0
      ],
      "parameters": {
        "content": "# Get analytics of a website and store it Airtable\n\n## Purpose and structure\nThis folder contains the **Get analytics of a website and store it Airtable** workflow. Its executable nodes use `airtable`, `googleAnalytics`, `manualTrigger`, `set`. The table and connection map below are derived from the JSON, not an inferred guarantee of behavior.\n\n## Setup\nImport inactive. Configure your own credentials and replace REPLACE_WITH_* values. Review external destinations and Code nodes before running.\n\n## Entry points\nOn clicking 'execute'\n\n## Verification\nSanitized source candidate; not runtime-tested. This overview is generated from node metadata. Read the folder README for the connection map, credential types, and license.\n\n## Attribution\nhttps://github.com/Zie619/n8n-workflows/blob/94007c1445d9258a7da116646b79473e7c7c3282/workflows/Manual/0389_Manual_Googleanalytics_Import_Triggered.json\nMIT; preserve source notices.",
        "width": 700,
        "height": 800,
        "color": 1
      }
    }
  ],
  "active": false,
  "settings": {},
  "connections": {
    "Set": {
      "main": [
        [
          {
            "node": "Airtable",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Analytics": {
      "main": [
        [
          {
            "node": "Set",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "On clicking 'execute'": {
      "main": [
        [
          {
            "node": "Google Analytics",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
