Gmail and Matomo Integration
Wire the communication events of Gmail straight into the analytics actions of Matomo on the WEXTL® visual canvas. Handoffs between your communication and analytics tools stay automatic - drag the nodes, map the fields once, and let AI carry the rest. 3-step setup, no code, no engineering ticket.
- 3-day trial
- Cancel anytime
- Up to 10 minutes quick set up
- GDPR
- Data Encryption
- 2FA
- Local Data Region
Learn about Gmail and Matomo
Detailed info you need to know about Gmail and Matomo integrations in WEXTL. Explore which modules apps support and how you connect them.
How to connect Gmail to Matomo
Set up your Gmail and Matomo integration in 3 simple steps[2]. No coding required. Up to 10 minutes setup.
STEP 1
Connect Gmail and Matomo
Save credentials in WEXTL once. We store them encrypted and reuse the authorization across every workflow[3]. No coding or API skills required.
STEP 2
Build a workflow
Paste selected Gmail and Matomo nodes onto the canvas[4], or describe what you want and WEXTL wires the flow together with AI Builder.
STEP 3
Map your data
Choose which fields need to sync between Gmail and Matomo. Use filters or a JS custom code step in between. Everything is on the canvas.
How does the integration between Gmail and Matomo work in WEXTL?
WEXTL exposes actions and triggers for Gmail and Matomo that help you connect apps and automate repetitive tasks[1]. A trigger is an event that happens, and an action is a step that performs when the event has occurred.
Gmail triggersMatomo actions
Gmail modules
- Batch Delete Email Messages Deletes several email messages in one request from their Message IDs. Trash a Message moves a single message to the trash instead of removing it.
- Create a Draft Email Saves a new draft built from its Recipient Email, Sender Email, Email Subject and Email Content. Output has the draft ID and Message, and Send a Draft Email can send it later.
- Delete a Draft Email Deletes a saved draft from your Gmail mailbox by its ID. Deletion is permanent.
- Delete a Thread Removes an email thread by ID in Gmail. It stays deleted.
- Delete an Email Message Deletes one email message, using its message ID. Removal is permanent.
- List Draft Emails Lists your saved drafts, one item per draft. Use Query to search with Gmail syntax and Limit to cap the results.
- List Messages Returns messages from your mailbox, one item per message. Use Query for Gmail search syntax, or Label IDs to keep only messages that carry all of the labels listed.
- List Threads Lists conversation threads in your mailbox, each with its Snippet and Messages. Narrow them with Query or Label IDs, and use Limit to cap the count.
- Make an API Call Sends a free-form request to the Gmail REST API, signed with your saved credential.
- Retrieve a Draft Email Returns one email draft by ID, with the draft ID and Message. Use Format to get the full message, only metadata, a minimal view or the raw source.
- Retrieve a Thread Fetches one email thread by ID, returning its Snippet, History ID and every message in it. Choose full messages, metadata only or a minimal view with Format.
- Retrieve an Email Message Fetches one email message by ID, including its Subject, From, To, Text content, HTML content and Attachments.
- Send a Draft Email Sends one of your saved drafts to every recipient listed on it. The ID, Thread ID and Snippet of the sent message are returned.
- Send an Email Message Sends a new email from the From address to the To address with a Subject and Email Content. For a message you saved first, use Send a Draft Email.
- Trash a Message Moves one email message to the trash. Untrash a Message reverses this for the same message.
- Trash a Thread Moves a whole thread, with every message in it, to the trash. Use Untrash a Thread to take it back out.
- Untrash a Message Lifts one message out of the trash. Trash a Message moves one there.
- Untrash a Thread Removes an email thread from the trash. Use Trash a Thread to send it back there.
- Update a Draft Email Overwrites a saved draft with a new Recipient Email, Sender Email, Email Subject and Email Content.
- Update the Labels of a Thread Adds or removes labels on a thread, up to 100 labels per update for Add Label IDs and for Remove Label IDs.
- Watch Email Messages Checks your mailbox on a schedule and starts the workflow for each new message. Use Label IDs to watch only certain labels, and Limit to cap how many messages each check handles.
Matomo modules
- Add Website URL Aliases Registers extra addresses for a website, so that visits arriving through them are counted under the same site.
- Create a Custom Dimension Defines a custom dimension with a Scope of visit or action. Matomo cannot delete a dimension afterwards, only deactivate it.
- Create a Goal Defines a goal that fires when a Match Attribute fits a Pattern. Add a Revenue or turn on Allow Multiple Conversions to change how it is counted.
- Create a Scheduled Report Sets up a recurring report with a Period, an Hour, a Format and the Reports to include. Use Additional Emails to add recipients.
- Create a Segment Saves a visitor filter under a Name and a Definition. Turn on Visible to All Users to share it with every user.
- Create a User Opens a Matomo account for a Login, Password and Email. Give an Initial Website to grant that user view access to a single site. (needs admin or super user access in Matomo).
- Create a Website Registers a website in Matomo from a Name and a list of URLs, with optional Ecommerce, Site Search, Timezone and Currency settings. The new Site ID is returned. (needs admin or super user access in Matomo).
- Create an Annotation Pins a Note to a Date on the charts of a website. Turn on Starred to highlight it in the list.
- Delete a Goal Deletes one goal from a website, which stops its conversions from being counted.
- Delete a Scheduled Report Stops and removes a scheduled report.
- Delete a Segment Deletes one saved segment from the list of the website and its users.
- Delete a User Removes a Matomo user together with the access that user held. (needs admin or super user access in Matomo).
- Delete a Website Removes a website together with its tracked data. Fill Confirm Password with the password of the token owner. (needs admin or super user access in Matomo).
- Delete an Annotation Removes an annotation from the charts of a website.
- Delete Data Subjects Deletes the requested data subjects from the stored visit data. (needs admin or super user access in Matomo).
- Export Data Subjects Exports everything stored for the listed Visits, as the data of a subject access request. (needs admin or super user access in Matomo).
- Find Data Subjects Finds the visits that match a Segment, as the first step of a privacy request. (needs admin or super user access in Matomo).
- Find Websites by URL Finds which websites track a given address and emits one row with the ID of each match.
- Get a Custom Dimension Report Returns one row for each value of a custom dimension in the chosen Period and Date, with Visits and Actions.
- Get a Goal Reads one goal, showing its Pattern Type, case rule and revenue.
- Get a Goals Summary Returns conversions, revenue and the conversion rate for one period. Add a Goal to read a single goal.
- Get a Processed Report Returns a report together with its metadata and column names, ready to show in a table. Choose it with Report.
- Get a Referrers Summary Returns how many visits came from each kind of source in one period, as a single object.
- Get a Report Trend Follows a report through time. A Date such as last30 gives the last 30 periods. Use Row Label to follow one row of the report.
- Get a Returning Visitors Summary Compares new and returning visitors for one period, with their visits and actions side by side.
- Get a Segment Reads one saved segment, including its Definition and auto archive setting.
- Get a User Reads the profile of one Matomo user, including the email and superuser flag. (needs admin or super user access in Matomo).
- Get a User by Email Looks up the Matomo user that has a given email address. (needs admin or super user access in Matomo).
- Get a Visitor Profile Builds the history of one visitor from a Visitor ID, with total visits, actions and the most recent visits.
- Get a Visits Summary Returns the overall numbers of a website for one period, such as Unique Visitors, Visits, Actions and Bounce Rate.
- Get a Website Reads the settings of one website, including its name, main URL, time zone, currency and Ecommerce flag.
- Get a Website Overview Returns the visits, pageviews and revenue of one website for a period, taken from the all-websites overview.
- Get an Actions Summary Returns the totals of page views, downloads and outlinks for one period.
- Get an Annotation Reads a single note, with its date, text, author and star.
- Get Image Tracking Code Builds the HTML image tag that records a visit without JavaScript, with an optional Goal and Revenue.
- Get Live Counters Counts visits, actions, visitors and converted visits over the Last Minutes window.
- Get the Matomo Version Reads the version number of the Matomo installation. A success also shows that the saved credential works.
- Get the Most Recent Visitor ID Looks up the ID of the visitor who was seen last, optionally within a Segment.
- Get Tracking Code Builds the script tag for a website. Set Track Subdomains Together, Respect Do Not Track or Disable Cookies to change how the tracker behaves.
- Invite a User Emails an invitation for a new user. Use Expiry Days to limit how long the invitation can be accepted. (needs admin or super user access in Matomo).
- List AI Assistants Counts visits referred by AI assistants, one row for each assistant, with Visits and Converted Visits.
- List All Referrers Puts every source in one list, whether search engine, website, social network or campaign, with Visits and Revenue.
- List Annotations Lists the dated notes of a website. Narrow them with Period and Date, and set Last N to reach back several periods.
- List Available Reports Lists every report Matomo offers for a website, with its category, module and action name.
- List Browser Engines Counts visits by rendering engine, such as WebKit or Gecko, with Visits and Actions.
- List Browser Versions Ranks browsers down to the version number, with Visits and Bounces on each row.
- List Browsers Ranks the browsers visitors used, one row for each browser, with Visits and Revenue.
- List Campaign Keywords Lists campaign keywords from the Marketing Campaigns Reporting plugin. Use Show Columns to trim the metrics.
- List Campaign Mediums Lists the medium value of campaigns, such as email or cpc, with its Visits and Bounces.
- List Campaign Names Lists campaign names from the Marketing Campaigns Reporting plugin, with the Visits each name produced.
No ready-made Gmail → Matomo automation yet. Describe your own in the AI Workflow Builder.
Build a Gmail and Matomo workflow with AI
Describe your automation with Gmail and Matomo - and our AI Workflow Builder will make it done for you.
What you can automate with Gmail and Matomo
Explore alternative integrations
There are other apps[9] supported by WEXTL that can be paired with Gmail and Matomo integrations. Pick any from the list below if the current combination isn't the one you need.
Frequently asked questions
Common questions about connecting Gmail and Matomo.
References
List of sources used to gather information about the Gmail and Matomo integration.
- Gmail and Matomo integration source code, module specs and credentials implementation.
- Our Gmail and Matomo integration documentation, structured input and output parameters, scopes, and authentication methods.
- Official vendor API documentation for Gmail and Matomo, used to verify field meanings, authentication flows, and anything our own specs don't fully capture.
- WEXTL® visual workflow builder, anonymized data from our technical support team.
- Gmail integration information
- Matomo integration information
- WEXTL® Scheduling
- WEXTL® Pricing and Trial
- WEXTL® Apps Library
How we write our apps documentation
Explore how WEXTL® crafted Gmail and Matomo integration page documentation. Used sources, the role of AI, and how the team validates the result.

