Gmail
Google Analytics
zapier

An automated workflow using zapier

Connects Gmail + Google Analytics

Create Google Analytics measurements for new emails that match search terms on Gmail

About this workflow template

This automation scenario allows you to connect Gmail and Google Analytics

It can be build using Zapier, a no-code workflow automation tool. Zapier allows you to create automated scripts using a simple drag-and-drop interface for non-technical users. This is a ready-made scenario, but it can be customized by adding more apps, actions, filters or branches.

Categories

Gmail and Google Analytics can also be integrated using automation tools other than zapier:

Diagram

Create Google Analytics measurements for new emails that match search terms on Gmail
Workflow diagram: Gmail + Google Analytics integration

How it works?

When this trigger fires in Gmail

Gmail

New Email Matching Search in Gmail

Triggers when you receive a new email that matches a search string you provide.

Then this action happens in Google Analytics

Google Analytics

Create a Measurement in Google Analytics

Send a measurement of an event to Google Analytics.

How to set up this workflow

This guide contains information on how to set up an automatic workflow that allows to Create Google Analytics measurements for new emails that match search terms on Gmail.

Part I

Configure Applications

First, we need to connect Gmail and Google Analytics to Zapier.

  • Create Zapier account.

    Create Zapier account.

    Create Zapier account if you don't have one.

  • Connect Gmail to Zapier.

    Connect Gmail to Zapier.

    Give Zapier access to your Gmail account, using Gmail credentials.

  • Connect Google Analytics to Zapier.

    Connect Google Analytics to Zapier.

    Give Zapier access to your Google Analytics account, using Google Analytics credentials.

Part II

Build an integration workflow

Next, we need to create a workflow automation scenario using graphical no-code web interface of Zapier.

  • Set up a Trigger action for Gmail

    Set up a Trigger action for Gmail

    Choose the following trigger: New Email Matching Search (Triggers when you receive a new email that matches a search string you provide.).

  • Then set up an Action for Google Analytics

    Then set up an Action for Google Analytics

    Choose this action: Create a Measurement (Send a measurement of an event to Google Analytics.).

Part III

Test and Publish

Finally, we need to test this automation and publish it.

  • Customize data flow

    Customize data flow

    Configure the data that is exchanged between Gmail and Google Analytics.

  • Test the workflow and turn it on for production use

    Test the workflow and turn it on for production use

    Test your scenario and publish to production. Now you have an automatic workflow, that will Create Google Analytics measurements for new emails that match search terms on Gmail!

Supported triggers and actions

  • Gmail

    New email

    Triggers when a new e-mail appears in the specified mailbox.

    zapierautomateio
    triggerbyzapierautomateio
  • Gmail

    New email matching search

    Triggers when you receive a new email that matches a search string you provide.

    zapier
    triggerbyzapier
  • Gmail

    New labeled email

    Triggers when you label an email.

    zapier
    triggerbyzapier
  • Gmail

    New attachment

    Triggers when you receive a new attachment (triggers once per attachment).

    zapier
    triggerbyzapier
  • Gmail

    Watch emails

    Triggers when a new email is received to be processed according to specified criteria.

    integromat
    triggerbyintegromat
  • Gmail

    New starred email

    Triggers when you receive a new email and star it within two days.

    zapierautomateio
    triggerbyzapierautomateio
  • Google Analytics

    Create a measurement

    Send a measurement of an event to Google Analytics.

    zapierintegrately
    actionbyzapierintegrately
  • Google Analytics

    Update goal

    Updates existing goals.

    zapierintegrately
    actionbyzapierintegrately
  • Google Analytics

    Run report

    Runs a report and returns the analytics data.

    zapierintegrately
    actionbyzapierintegrately
  • Google Analytics

    Search goal

    Finds a specific goal.

    zapier
    actionbyzapier
  • Google Analytics

    Make an api call

    Performs an arbitrary authorized API call.

    integromat
    actionbyintegromat
  • Google Analytics

    Get analytics reports

    Retrieves a list of analytics reports based on report requests.

    integromat
    actionbyintegromat

Apps you need

Zapier

Zapier

Automation Platforms

No-code automation service

Zapier simplifies busy people's lives by automating web app data transfers, reducing tedious tasks, and allowing teams to collaborate effortlessly. With over 5,000 popular apps connected, it's never been easier to streamline your workflow.