Workflow: Manual Googleanalytics Import

Workflow Details

Download Workflow
{
    "id": "205",
    "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"
                        }
                    }
                }
            },
            "credentials": {
                "googleAnalyticsOAuth2": "analytics-dev"
            },
            "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": ""
            },
            "credentials": {
                "airtableApi": "Airtable Credentials n8n"
            },
            "typeVersion": 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
                    }
                ]
            ]
        }
    }
}
Back to Workflows

Related Workflows

Image to license plate number
View
Telegram Code Automation Webhook
View
Manual Awss3 Automate Triggered
View
Automate LinkedIn Posts with AI
View
Manual HTTP Automation Webhook
View
Receive updates when a billing plan is activated in PayPal
View
Build a Chatbot, Voice Agent and Phone Agent with Voiceflow, Google Calendar and RAG
View
Backup Squarespace code Injections to Github
View
🎥 Analyze YouTube Video for Summaries, Transcripts & Content + Google Gemini AI
View
Save new Files received on Telegram to Google Drive
View