Matomo is a powerful web analytics tool that provides detailed insights into the behavior and characteristics of website visitors. A central component of these analyses is the API endpointLive.getLastVisitsDetails , which provides a comprehensive overview of recent visits to a website. This is not raw tracking data, but rather processed data specifically optimized for analytical purposes.

This processed data includes, among other things, URLs where tracking parameters have been cleaned. These include parameters such as gclid, fbclid, and msclkid, as well as all user-configured parameters. The data also contains information on configured goals, while certain e-commerce events such asaddEcommerceItem be displayed indirectly, for example through the eventecommerceAbandonedCart if a session has not completed the shopping cart.

Below are the different parameters and their descriptions that can be passed through the API endpointLive.getLastVisitsDetails provided, are presented in detail.

Visitor parameters

parameterDescriptionExample
visitorIdVisitor IDfalse
visitorTypeVisitor type“returning”
visitorTypeIconSymbol for visitor type“plugins/Live/images/returningVisitor.png”
visitsCountNumber of visits56
daysSinceFirstVisitDays since first visit545
daysSinceLastVisitDays since last visit6
locationVisitor’s locationMonterey Park, California, United States
countryVisitor’s country“United States”
countryCodeCountry code“US”
countryFlagnational flag“plugins/Morpheus/icons/dist/flags/us.png”
CityCity of the Visitor“Berlin”
regionVisitor’s region“Berlin”
regionCodeRegion code“BE”
continentVisitor’s continent“Europe”
continentCodeContinent code“EU”
latitudeVisitor’s latitude52.5200
longitudeVisitor’s longitude13.4050
languageVisitor’s language“unknown”
languageCodeVisitor’s language code„“
operating systemVisitor’s operating system“Windows 8.1”
operatingSystemNameOperating system name“Windows”
operatingSystemCodeOperating system code“WIN”
operatingSystemVersionOperating system version“8.1”
operatingSystemIconOperating system icon“plugins/Morpheus/icons/dist/os/WIN.png”
browserBrowser name“Chrome”
browserNameBrowser name“Internet Explorer”
browser versionBrowser version“89.0”
browserFamilyBrowser family“Blink”
browserFamilyDescriptionDescription of the browser family“Blink (Chrome, Opera)”
browserCodeBrowser code“CH”
browser iconBrowser icon“plugins/Morpheus/icons/dist/browsers/CH.png”
deviceTypeDevice type“Desktop”
deviceTypeIconSymbol for the device type“plugins/Morpheus/icons/dist/devices/desktop.png”
deviceBrandDevice brand“Samsung”
deviceModelDevice model“iPhone”
fingerprintVisitor’s fingerprintfalse
pluginsBrowser plugins“cookie, flash, java, silverlight”
pluginsIconsBrowser plug-in icons[{“pluginIcon”: “plugins/Morpheus/icons/dist/plugins/cookie.png”, “pluginName”: “cookie”}]

Session parameters

parameterDescriptionExample
idVisitUnique identifier of the visit123456
firstActionTimestampTimestamp of the first action1621771234
lastActionTimestampTimestamp of the last action1621771234
lastActionDateTimeDate and time of the last action“2024-05-23 21:58:40”
serverTimestampServer timestamp1621771234
serverDateServer date“2024-05-23”
serverTimePrettyHuman-readable server time“23:58:40”
serverDatePrettyHuman-readable server date“Thursday, May 23, 2024”
serverDatePrettyFirstActionHuman-readable server date of first action“Thursday, May 23, 2024”
serverTimePrettyFirstActionHuman-readable server time of the first action“23:58:40”
visitDurationVisit duration in seconds0
visitDurationPrettyHuman-readable visit duration“0 sec.”
actionsNumber of actions10
interactionsNumber of interactions5
searchesNumber of searches0
eventsNumber of events0
formConversionsNumber of form conversions0
goalConversionsNumber of target achievements0
totalEcommerceConversionsTotal number of e-commerce conversions0
totalEcommerceRevenueTotal sales from e-commerce0
totalEcommerceItemsTotal number of e-commerce items0
totalAbandonedCartsTotal number of abandoned shopping carts0
totalAbandonedCartsRevenueTotal sales of abandoned shopping carts0
totalAbandonedCartsItemsTotal number of items in abandoned shopping carts0
daysSinceLastEcommerceOrderDays since last e-commerce order0
secondsSinceLastEcommerceOrderSeconds since the last e-commerce orderzero
secondsSinceFirstVisitSeconds since first visit47174237
secondsSinceLastVisitSeconds since last visit604637
referrerTypeNameName of the referrer type“Search engines”
referrer nameName of the referrer“Google”
referrerTypeType of referrer“Search engines”
referrer keywordReferrer keyword“example keyword”
referrerKeywordPositionPosition of the keyword in the referrerzero
referrerUrlReferrer URLhttps://www.google.com/
referrerSocialNetworkUrlURL of the social network in the referrer“facebook.com”
referrerSearchEngineUrlURL of the search engine in the referrerhttp://google.com
referrerSearchEngineIconSearch engine symbol in the referrer“plugins/Morpheus/icons/dist/searchEngines/google.com.png”
referrerSocialNetworkIconSocial network symbol in the referrer“plugins/Morpheus/icons/dist/socials/facebook.com.png”
visitIpVisitor’s IP addresszero
visitLocalHourLocal hour of visit13
visitLocalTimeLocal time of visit“13:00:11”
visitServerHourServer hour of visit21
resolutionScreen resolution“1920×1080”
sessionReplayUrlSession replay URLzero
adProviderNameName of the ad providerString value
adProviderIdAd provider IDString value
campaignIdCampaign IDString value
campaignNameName of the campaignString value
campaignSourceSource of the campaignString value
campaignMediumCampaign mediumString value
campaign contentContent of the campaignString value
campaignKeywordCampaign keywordString value
campaignGroupcampaign groupString value
campaignPlacementCampaign placementString value
adClickIdAd Click IDString value
visitConvertedWhether the visit was converted0
visitConvertedIconConverted visit icon„“
visitEcommerceStatusE-commerce status of the visit“none”
visitEcommerceStatusIconE-commerce status icon of the visit“plugins/Morpheus/images/ecommerceAbandonedCart.svg”
customVariablesCustom variables{„variable1“: „wert1“}
dimension1Custom Dimension 1“guest”
experimentsExperiments[]
siteCurrencySite currency“USD”
siteCurrencySymbolPage currency symbol„$“
siteNameName of the page“Demo Site”

events

typeDescriptionparameter
actionMeasured page view of a user within a sessiondimension5, iconSVG, idpageview, type, pageIdAction, pageviewPosition, timeSpentPretty, timeSpent, icon, dimension2, url, customVariables, dimension4, pageTitle, subtitle, pageId, timestamp, serverTimePretty, title
eventMeasured event of a user within a sessioneventCategory, dimension5, iconSVG, eventValue, idpageview, type, pageIdAction, pageviewPosition, icon, eventAction, dimension2, url, dimension4, eventName, subtitle, pageId, timestamp, serverTimePretty, title
goalMeasured or calculated goal achievement of a user within a sessiondimension5, iconSVG, idpageview, goalName, type, revenue, icon, dimension2, url, goalId, dimension4, subtitle, referrerKeyword, timestamp, serverTimePretty, referrerName, title, referrerType, goalPageId
outlinkMeasured click on an external linkurl, pageIdAction, subtitle, dimension5, pageId, pageviewPosition, type, iconSVG, timestamp, icon, serverTimePretty, title, idpageview, dimension2, dimension4, pageTitle
ecommerceAbandonedCartAbandoned shopping cartrevenue, subtitle, dimension5, iconSVG, timestamp, items, itemDetails, serverTimePretty, icon, title, idpageview, dimension2, dimension4, type
ecommerceOrderOrderdimension5, iconSVG, revenueSubTotal, items, idpageview, type, revenue, orderId, itemDetails, icon, dimension2, revenueTax, revenueDiscount, dimension4, subtitle, revenueShipping, timestamp, serverTimePretty, title
formForm submissionformName, dimension5, converted, submitted, idpageview, type, timeSpent, icon, timeHesitation, dimension2, timeToFirstSubmission, formId, dimension4, fields, formStatus, leftBlank, timestamp, serverTimePretty, title
crashApplication crashcrashId, dimension5, category, message, idpageview, type, datetimeLastSeen, icon, dimension2, datetimeOccurredFirst, crashType, resourceUri, datetimeLastReappeared, crashEventId, dimension4, datetimeIgnoredError, resourceColumn, timestamp, stackTrace, serverTimePretty, resourceLine, title
searchInternal search on the websitesiteSearchCategory, pageIdAction, subtitle, dimension5, pageId, pageviewPosition, type, iconSVG, timestamp, dimension4, siteSearchCount, icon, serverTimePretty, title, idpageview, dimension2, siteSearchKeyword, url

Event parameters

parameterDescriptionExample
typeType of measured action“page view”
URLURL of the page on which the action took place“https://example.com/page”
pageTitleTitle of the page“Homepage”
pageIdActionUnique identifier of the page action123456
idpageviewUnique identifier of the page view“ABC123XYZ”
serverTimePrettyHuman-readable time of the action“2023-05-23 12:34:56”
pageIdUnique identifier of the page789012
productViewPricePrice of the viewed product19.99
productViewNameName of the product viewed“Product name”
productViewSkuSKU of the viewed product“SKU12345”
timeSpentTime spent on the page in seconds45
timeSpentPrettyHuman-readable formatting of dwell time“45 seconds”
pageviewPositionPosition of the page view in the session1
titleTitle related to the action“Product view”
subtitleSubtitles related to the action“Special offer”
iconURL or path to an icon representing the action“/images/icon.png”
iconSVGSVG path data for the symbol„…“
timestampTimestamp of the action1621771234
productViewCategoriesCategories of the viewed product[“Category1”, “Category2”]
dimension1 … dimensionNCustom dimensions“Dimension value”
pageLoadTimePage loading time2.3
eventCategoryCategory of the event“Button click”
eventActionAction of the event“Click”
eventValueValue of the event10
goalNameName of the goal achieved“Registration”
goalIdTarget identifier“G123”
revenueGenerated revenue99.99
goalPageIdPage ID on which the goal was achieved456789
referrerTypeType of referrer (e.g. search engine, direct)“search engine”
referrer nameName of the referrer“Google”
referrer keywordKeyword used in the referrer“Example keyword”
itemsList of items involved in the campaign[{“name”: “Item1”, “price”: 9.99}]
item detailsDetails of the articles involved{„item_name“: „Artikel1“, „item_sku“: „SKU1“}
orderIdOrder identifier“ORD123”
revenueSubTotalSubtotal of the order’s sales89.99
revenueTaxTax amount of the order10.00
revenueShippingShipping costs of the order5.00
revenueDiscountDiscount on the order5.00
customVariablesCustom variables related to the action{„variable1“: „wert1“}
Bernhard prange webmeisterei

SEA-Experte: Bernhard Prange

Bernhard Prange ist Google Ads Freelancer und Tracking-Spezialist mit über 10 Jahren Erfahrung im Performance-Marketing. Sein Fokus liegt auf datengetriebenem Arbeiten: von Google Shopping über Conversion-Tracking bis hin zu serverseitigen Lösungen mit Matomo und BigQuery.

Als Ansprechpartner für Agenturen, E-Commerce-Unternehmen und B2B-Dienstleister verbindet er technisches Know-how mit strategischem Blick auf Marketing und Geschäftsmodelle.

Beiträge, die dich auch interessieren könnten…

  • Better data, better decisions: Data enrichment in Server-Side Tracking

    Lesen
  • Google Ads DemandGen: The Complete Practical Guide

    Lesen
  • Claude MCP: 30+ Integrations for WordPress, Google Ads & SEO

    Lesen
  • Track User Reading Behavior with Google Tag Manager

    Lesen