Sure! This looks like all the settings as I have them in the UI:
"parameters": {
"matomoUrl": "https:\/\/42m.eu\/matomo\/",
"idSite": "1",
"enableLinkTracking": true,
"enableCrossDomainLinking": true,
"enableDoNotTrack": false,
"enableJSErrorTracking": true,
"enableHeartBeatTimer": false,
"trackAllContentImpressions": false,
"trackVisibleContentImpressions": false,
"disableCookies": false,
"requireConsent": false,
"requireCookieConsent": false,
"setSecureCookie": false,
"cookieDomain": "www.fortomorrow.eu",
"cookiePath": "",
"cookieSameSite": "None",
"disableBrowserFeatureDetection": false,
"domains": [{
"domain": "https:\/\/42m.eu"
}, {
"domain": "https:\/\/www.fortomorrow.eu"
}],
"alwaysUseSendBeacon": false,
"userId": "",
"customDimensions": [],
"bundleTracker": true,
"registerAsDefaultTracker": true,
"jsEndpoint": "matomo.js",
"trackingEndpoint": "matomo.php"
},
I didn’t have a page view trigger and tag before (I didn’t see the need as page views were and are tracked by Matomo Analytics). I added one and published the new version without seeing a difference in the Analytics.
My page view trigger:
Page view tag:
Preview mode:
Console output:
creating container
running container
The condition is met for trigger Pageview
Object { referencedTags: (1) […], id: 720, type: "PageView", name: "Pageview", conditions: [], parameters: [], getId: getId(), setUp: setUp(), addReferencedTag: addReferencedTag(i), getReferencedTags: getReferencedTags()
, … }
firing this tag
Object { type: "Matomo", name: "Page view", fireTriggerIds: (1) […], blockTriggerIds: [], fireLimit: "unlimited", fireDelay: 0, startDate: null, endDate: null, numExecuted: 1, blocked: false, … }
fired this tag
Object { type: "Matomo", name: "Page view", fireTriggerIds: (1) […], blockTriggerIds: [], fireLimit: "unlimited", fireDelay: 0, startDate: null, endDate: null, numExecuted: 1, blocked: false, … }
event:
Object { tags: (1) […], variables: [], metTrigger: {…}, name: "mtm.PageView", eventData: {…}, container: {…}, time: "15:58:44.464", index0: 0, index: 1 }