Migrate from Matomo to Databuddy: What Transfers and What Does Not

Oct 28, 2026
7 min read
TL;DR

Plan a Matomo migration around report exports, event mapping, tracking verification, cutover, and rollback without assuming historical data imports.

Migrate from Matomo to Databuddy: What Transfers and What Does Not

The short answer: install Databuddy next to Matomo, rebuild your goals and events as Databuddy events, run both for at least two full weeks, archive the Matomo reports you need, then remove Matomo. Your Matomo history stays in Matomo exports: Databuddy's history importer supports Plausible, PostHog, Simple Analytics and Umami files, and not Matomo exports.

Moves to DatabuddyStays behind, as an archive or not at all
Pageviews and traffic sources, from the day you install DatabuddyHistorical visits and reports (keep CSV or JSON exports)
Events, renamed to explicit outcomesMatomo dashboards, segments and custom reports
Goals, rebuilt from those eventsPlugin features without a verified replacement
Campaign parameters on new visitsTag Manager triggers (review and remove)

Migrating from Matomo to Databuddy starts with an inventory of what your Matomo installation measures. Reports, custom dimensions, goals, ecommerce tracking, tag-manager configuration, and historical data are separate migration decisions. Replacing a JavaScript snippet does not transfer them automatically.

This walkthrough preserves old reports separately and verifies new collection in Databuddy.

Inventory the installation you actually run

Record whether you use Matomo Cloud or an installation your team operates, the website ID and domain, reporting timezone, tracking method, and reports required by each stakeholder. Check both application code and Matomo Tag Manager. A tracker can be installed through more than one path.

Build a worksheet for the features in use:

Existing featureMigration decisionAcceptance check
Pageviews and virtual navigationInstall the new tracker onceExpected views appear on hard load and client navigation
Event category, action, and nameDefine a destination event naming schemeProperties retain the meaning needed for reports
Goals or ecommerce outcomesIdentify the authoritative application outcomeFailed and repeated operations do not inflate success
Custom dimensionsKeep only necessary supported propertiesValues are useful and avoid unnecessary personal data
Historical reportsExport and retain independentlyDate coverage and required dimensions are readable
Tag-manager triggersReview every trigger and destinationThe replacement does not leave duplicate trackers

Check destination capabilities individually. A product supporting custom events does not establish parity with every Matomo report, plugin, ecommerce feature, or access-control workflow. Keep any essential capability that has no verified replacement in your acceptance criteria.

Export reports before changing access

Matomo documents report exports in formats including CSV and JSON. Choose the reporting period, report, format, row limit, and flattening options that fit your archive. Its Reporting API provides programmatic access to reports; a report export is different from a complete database backup. Use the official Matomo export instructions and Analytics API guide for your installation.

For an installation you operate, preserve any database or configuration backups through your existing tested operations process. A database backup is useful for restoring that installation; it is not a Databuddy import file. Follow your organization's retention and access policies instead of copying all records into a shared migration folder.

To archive many reports, use the Reporting API instead of clicking through each one. This request saves one month of page URLs as a flat CSV with every row; send the token in the POST body so it does not appear in logs or shared URLs:

curl -X POST 'https://matomo.example.com/index.php' \
  -d 'module=API' -d 'method=Actions.getPageUrls' \
  -d 'idSite=1' -d 'period=month' -d 'date=2026-10-01' \
  -d 'format=CSV' -d 'flat=1' -d 'filter_limit=-1' \
  -d "token_auth=$MATOMO_TOKEN" -o matomo-pages-2026-10.csv

Repeat it for each month and for the other reports you rely on, such as VisitsSummary.get for totals, Referrers.getReferrerType for channels, Goals.get for conversions and Events.getCategory for events. filter_limit=-1 removes the default 100-row cap.

Save an export manifest with the source site, timezone, date range, filters, selected dimensions, row limits, and format. Open the files and check required reports before removing account access or decommissioning infrastructure. Preserve the configuration needed to interpret them, especially goal and dimension definitions.

Map Matomo events to explicit destination events

A Matomo event can carry category, action, name, and value. Decide which meaning should become the Databuddy event name and which fields, if any, should become properties. Do not mechanically collapse every combination into an unexplained string.

For example, an application might translate its documented account-creation outcome into a stable event named signup_completed, with a non-sensitive plan property. The mapping should describe a confirmed application outcome. A click on a submit button represents a different point in the journey.

Matomo callDatabuddy replacement
_paq.push(['trackPageView'])Nothing: pageviews, including client-side route changes, are collected automatically once the tracker is installed
_paq.push(['trackEvent', 'Signup', 'Completed', 'Pro'])track('signup_completed', { plan: 'pro' })
_paq.push(['trackGoal', 3])Track the outcome the goal stood for, then define the goal on that event in the dashboard
_paq.push(['trackEcommerceOrder', ...])Connect Stripe to report revenue from completed payments. Order line items are not carried over, so keep them in your Matomo export

With the script tag, the same call is window.databuddy.track('signup_completed', { plan: 'pro' }).

Use the Databuddy browser helpers or server SDK for the chosen source. Review payloads before sending them. Avoid raw form data, authentication tokens, full payment details, and unnecessary identifiers. Archive data should remain an archive; replaying historical rows as current events would change their meaning and can contaminate current reports.

Install and test on a known journey

Follow Databuddy's setup instructions for the destination website and your framework. Keep only one Databuddy installation across application code, plugins, and tag managers. Review enabled collection features and privacy behavior for the configuration you intend to deploy.

Start with synthetic data and a short acceptance journey:

  1. Open a landing page with a known campaign parameter and inspect the first view.

  2. Navigate to another page, including a client-side route if your app has one.

  3. Complete a successful test operation and inspect its event and allowed properties.

  4. Trigger a failed operation and check that it does not count as success.

  5. Repeat a callback or retry and inspect duplicates and recovery behavior.

Check the destination reports after the request is sent. A local network capture can show the payload and collector response, but it does not prove hosted report visibility. The Next.js example provides a runnable synthetic journey with explicit failure recovery if you need a development reference.

Reconcile definitions rather than forcing identical totals

Compare a documented time range in the same timezone, with known filters and matching event definitions. Record differences in visitor identity, session rules, bot filtering, collection settings, and report timing before treating unequal totals as dropped events.

Separate what the application attempted, what the browser or server sent, what a collector accepted, and what a report displayed. Investigate a missing step at the boundary where it disappears. Recreating an old dashboard label without its underlying definition can hide a migration error.

Cut over without losing the recovery path

Run both trackers for at least two full weeks before switching anything off, so each weekday appears twice and you can compare the same period in both tools.

Record the cutover time and deployment revision. Disable the Matomo tracker in the intended environment, including tag-manager triggers, and deploy. Verify that a fresh test journey sends requests to the intended destination and no longer calls the old collector.

Keep a reversible configuration change and retain the archive and reporting definitions. If an essential report or delivery path fails, restore the known collection configuration while you investigate. Decommission an operated Matomo installation only after the replacement workflow and your retention obligations have been checked.

See Plausible, Matomo, and Databuddy compared for selection tradeoffs, or the Plausible migration guide for its different export workflow.