Supermetrics for SFTP

Connect Google Analytics 4 to SFTP — Universal File Delivery

Google Analytics 4 logo
GA4
via Supermetrics
SFTP logo
SFTP

Export your GA4 web analytics to any SFTP server as structured files. Build a data lake with traffic, conversion, and engagement data for custom analysis.

✓ No setup required ✓ Free 14-day trial ✓ No credit card needed

Why Connect Google Analytics 4 to SFTP?

Store your raw GA4 data in SFTP for custom pipelines and full data ownership.

Own your analytics data

GA4 retains data for limited periods. SFTP gives you permanent ownership of every session, pageview, and conversion.

Query with your preferred tools

Run SQL against your GA4 data on your SFTP server using SQL — no BigQuery export needed, no Google Cloud dependency.

Cross-source data lake

Join GA4 web data with ad platform spend, CRM records, and product data in one SFTP-based data lake.

How to Connect Google Analytics 4 to SFTP

Three steps. Under two minutes. Zero code.

  1. 1

    Create a data transfer

    Log into Supermetrics, select Google Analytics 4 as your source and SFTP as your destination.

  2. 2

    Configure your SFTP server

    Enter your SFTP hostname, port, username, and password or SSH key. Choose the remote directory and file format for your data deliveries.

  3. 3

    Set schedule and start transfer

    Choose your delivery frequency (hourly, daily, or weekly) and click Start. Your Google Analytics 4 data begins arriving as structured files on your SFTP server.

Google Analytics 4 Data Format in SFTP

Supermetrics delivers your GA4 data in clean, structured files ready for downstream processing.

    CSV

    Comma-separated values — universally compatible and easy to inspect.

    JSON

    Structured key-value format — ideal for programmatic consumption and API integration.

What to Build with Google Analytics 4 Data in SFTP

Once your GA4 data lands in SFTP, here's what becomes possible.

Web analytics import

Query GA4 session and conversion data directly on your SFTP server with SQL after import — no warehouse needed.

Attribution modeling

Combine GA4 traffic data with ad spend from your SFTP server to build custom attribution models in Spark or ML tools.

What Google Analytics 4 Data Can You Pull into SFTP?

Supermetrics gives SFTP access to your full GA4 reporting data — metrics and dimensions you already know from the GA4 interface.

Key Metrics

  • Sessions
  • Users
  • New users
  • Active users
  • Views
  • Engagement rate
  • Average engagement time
  • Bounce rate
  • Conversions
  • Conversion rate
  • Revenue
  • Event value
  • Event count
  • Transactions
  • Ecommerce purchases

Key Dimensions

  • Page path
  • Source / Medium
  • Campaign
  • Channel group
  • Device category
  • Browser
  • Country
  • City
  • Landing page
  • Referrer
  • Event name

Why Supermetrics for SFTP?

Purpose-built for marketing data since 2009. 200,000+ companies trust Supermetrics to move 15% of global ad spend into reporting and analytics destinations.

No Vendor Lock-In

Your data lands in SFTP — infrastructure you own and control. Use any BI tool, any transformation layer, any ML platform. If you ever switch providers, your data and dashboards stay with you.

170+ Marketing Data Sources

Purpose-built for marketing data — not a generic ETL tool. Supermetrics covers 99% of metrics and dimensions from each source, with pre-structured tables ready for analysis. No transformation layer required.

Full Data Ownership

Your Google Analytics 4 data lands in storage you control. No vendor lock-in, no proprietary formats — standard files you can process with any tool.

Your Data, Your Infrastructure

Supermetrics moves data directly to your destination — nothing is stored on our servers. SOC 2 Type II certified, GDPR and CCPA compliant. Your data stays in infrastructure you control, simplifying privacy and compliance reviews.

Flat-Rate, Predictable Pricing

Fixed annual pricing regardless of data volume — no per-row charges, no surprise bills during peak campaign seasons. Transfer as much Google Analytics 4 data as you need without worrying about cost spikes.

Unsampled Data

Get your complete Google Analytics 4 dataset without sampling. Every session, every keyword, every page — full-fidelity data for accurate analysis.

Frequently Asked Questions

How do I connect Google Analytics 4 to SFTP with Supermetrics?

Log into the Supermetrics Hub, create a new data transfer, select Google Analytics 4 as the source and SFTP as the destination. Enter your SFTP host, port, username, and password (or SSH key). Choose the remote directory, file format, and naming convention. Select your metrics and dimensions, set a schedule, and start the transfer. Supermetrics uploads structured files directly to your SFTP server on each scheduled run. Because SFTP is a standard protocol supported on every operating system — Linux, Windows, macOS, and any cloud VM — you can receive data on any server you already manage, with no proprietary agent or vendor SDK to install.

Is my Google Analytics 4 data secure when transferred via SFTP?

SFTP (SSH File Transfer Protocol) encrypts both the authentication handshake and the entire data payload over an SSH tunnel, meaning your Google Analytics 4 data is never exposed in plain text during transit. Combined with Supermetrics' SOC 2 Type II certification and GDPR compliance, your data is protected end-to-end. For hardened security, use SSH key authentication instead of passwords, restrict the SFTP user to a chroot jail directory, disable password login entirely, and configure your firewall to allow connections only from Supermetrics' published IP ranges. Unlike cloud-proprietary transfer methods, SSH encryption is an open standard with decades of security auditing behind it.

Can I combine Google Analytics 4 data with other sources delivered via SFTP?

Yes. You can set up multiple Supermetrics transfers delivering Google Analytics 4, Google Ads, LinkedIn Ads, and any other source to the same SFTP directory or organized into separate subdirectories on the same server. Because SFTP delivers plain files, your downstream workflow is entirely up to you: cron-scheduled shell scripts, Python or R pipelines, database LOAD DATA commands, or enterprise ETL tools can all pick up the files for unified processing. This file-based approach means zero vendor lock-in — if you ever change analytics platforms, your data is already in an open format. Supermetrics supports 170+ data sources, all deliverable to SFTP.

What Google Analytics 4 fields can I export to SFTP?

All standard Google Analytics 4 reporting metrics and dimensions are available, including Sessions, Users, New users, Active users, Views, Engagement rate, and more. You select exactly which fields to include during setup. Data arrives as structured files (CSV or JSON) in the directory you specify, ready for processing by any tool that reads files — no API client libraries or cloud SDKs needed. This makes SFTP the most universal delivery method: whether your downstream system is a MySQL LOAD DATA INFILE, an on-premise SAS installation, a legacy ERP file import, or a custom Python script, the data just works.

How often can Supermetrics deliver Google Analytics 4 data to my SFTP server?

Transfers can run hourly, daily, weekly, or monthly. Daily delivery is the most common setup. Each run uploads fresh files to your SFTP server, and you can match the delivery cadence with a cron job on your side: for example, schedule Supermetrics to deliver at 6 AM and your import script to run at 6:30 AM, so fresh Google Analytics 4 data is in your database before the team's morning standup. Because SFTP works with any server and any OS, you can run this workflow on a $5/month VPS or an enterprise data center — Supermetrics handles all the API complexity, and your server just receives clean, ready-to-process files.

How does this compare to the GA4 BigQuery export?

The GA4 BigQuery export provides raw event-level data. Supermetrics delivers aggregated reporting data to SFTP in the metrics and dimensions you choose — cleaner, smaller, and ready for analysis without transformation.

Can I export custom GA4 events to SFTP?

Yes. Supermetrics pulls all standard and custom events from GA4. You select which events and dimensions to include during setup.

Ready to Connect Google Analytics 4 to SFTP?

Join 200,000+ companies that use Supermetrics to connect their marketing data. Set up in under two minutes.

✓ SOC 2 Type II certified ✓ GDPR compliant Trust Center