Closed DelphineRD closed 1 year ago
Hi @DelphineRD, thank you for taking the time to create the issue with all the details. Unfortunately we don't provide user support/answer configuration questions through the issue tracker. We only accept feature requests or bug reports with clear replication steps. We recommend asking the question in our forum at https://forum.matomo.org/. Thank you for your understanding.
This isn't about a configuration inquiry; rather, I'm seeking reassurance that there isn't a bug involving server-side ecommerce tracking and cookie consents within Matomo's system.
From: Michal Kleiner @.> Sent: Thursday, August 17, 2023 4:53 PM To: matomo-org/matomo @.> Cc: Delphine Doumayrou @.>; Mention @.> Subject: Re: [matomo-org/matomo] Problem with hybrid approach to track 100% of the ecommerce conversion (Issue #21153)
CAUTION: This email originated from outside your organization. Exercise caution when opening attachments or clicking links, especially from unknown senders.
Hi @DelphineRDhttps://github.com/DelphineRD, thank you for taking the time to create the issue with all the details. Unfortunately we don't provide user support/answer configuration questions through the issue tracker. We only accept feature requests or bug reports with clear replication steps. We recommend asking the question in our forum at https://forum.matomo.org/https://linkprotect.cudasvc.com/url?a=https%3a%2f%2fforum.matomo.org%2f&c=E,1,kMCQ1htmggOLMKirRYCqp2j_AHRLYZU0cDIVVmPsLAxDckGFocRGR1ZAOVTbzuMspd88Qhk8lbKk6ar1x3_F7qTpEm2cxs1kmiJo9Bs6eref--CMGfs,&typo=1. Thank you for your understanding.
— Reply to this email directly, view it on GitHubhttps://github.com/matomo-org/matomo/issues/21153#issuecomment-1682523302, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BB7IT6TOIBRMZJTDPE7QWX3XVY44NANCNFSM6AAAAAA3UHSJWE. You are receiving this because you were mentioned.Message ID: @.**@.>>
Context
We followed the hybrid approach to track 100% of the ecommerce conversion.
We can see in our e-commerce platform that all the sales are sent to Matomo successfully. But we are missing sales in Matomo's ecommerce reports.
We are not sure if the cookies are causing the problem, but when we look at the segment of users who didn’t accept cookies, there are no e-commerce conversions recorded in Matomo reports. We carried out tests under authentic booking conditions, both with and without cookies, within the development environment, and the outcome was as expected. However, the concern arises exclusively when an order is executed in the production environment, resulting in some orders not being recorded and subsequently failing to appear in Matomo's report.
We have implemented the cookie consent functionality with Cookiebot and server-side tracking for ecommerce interactions in our self-hosted Matomo instance. We have followed the guidelines provided in Matomo's documentation. However, despite our efforts, we are still experiencing limitations in capturing all ecommerce interactions in Matomo's reports, apparently for users who have explicitly denied the use of analytics cookies. https://matomo.org/faq/how-to/measure-100-of-ecommerce-interactions-using-server-side-tracking/
Our server-side implementation is working perfectly otherwise, we check that the information is sent to the Matomo server each time. We used Matomo’s PHP SDK
The goals, which are set up with JavaScript tracking, are recording as expected even when cookie consent has been denied, but the server-side tracking for Ecommerce conversions is not functioning when cookies consent has been denied. In this article, it is said despite the tracking being "cookie-less," the goals and conversions themselves are still recorded (the attribution process, however, is impacted) https://matomo.org/faq/general/faq_156/
Are there settings we should change in Matomo to see 100% of the ecommerce interactions?
Environment
Mandatory checks
PHP version >= 7.2.5: ✔ 8.2.8
PDO extension: ✔
PDO\MYSQL extension: ✔
MYSQLI extension: ✔
Other required extensions: ✔ zlib ✔ json ✔ filter ✔ hash ✔ session
Required functions: ✔ debug_backtrace ✔ eval ✔ hash ✔ gzcompress ✔ gzuncompress ✔ pack
Required PHP configuration (php.ini): ✔ session.auto_start = 0 ✔ max_execution_time = 0 OR = -1 OR >= 30
Directories with write access: ✔ $DOC_ROOT/tmp ✔ $DOC_ROOT/tmp/assets ✔ $DOC_ROOT/tmp/cache ✔ $DOC_ROOT/tmp/climulti ✔ $DOC_ROOT/tmp/latest ✔ $DOC_ROOT/tmp/logs ✔ $DOC_ROOT/tmp/sessions ✔ $DOC_ROOT/tmp/tcpdf ✔ $DOC_ROOT/tmp/templates_c
Directories with write access for Tag Manager: ✔ $DOC_ROOT/js
Informational results
Matomo Version:
4.15.1
Matomo Update History: 4.14.2,4.14.0,4.13.3,4.13.0,4.12.3,4.12.0
Matomo Install Version: 4.12.0
Latest Available Version: 4.15.1
Is Git Deployment: 1
PHP_OS: Linux
PHP_BINARY: /usr/sbin/php-fpm8.2
PHP SAPI: fpm-fcgi
Timezone Version: 0.system
PHP Timezone: UTC
PHP Time: 1692283737
PHP Datetime: 2023-08-17 14:48:57
PHP INI max_execution_time: 0
PHP INI post_max_size: 8M
PHP INI max_input_vars: 3000
PHP INI zlib.output_compression:
Curl Version: 7.81.0, OpenSSL/3.0.2
Suhosin Installed: 0
DB Prefix: matomo_
DB Charset: utf8mb4
DB Adapter: MYSQLI
MySQL Version: 8.0.34-0ubuntu0.22.04.1
Num Tables: 424
Browser Segment Archiving Enabled: 1
Development Mode Enabled: 0
Internet Enabled: 1
Multi Server Environment: 0
Auto Update Enabled: 1
Custom User Path: 0
Custom Include Path: 0
Release Channel: latest_stable
Plugins Activated:
API, AbTesting 4.2.6, Actions, ActivityLog 4.1.2, AdvertisingConversionExport 4.1.3, Annotations, AnonymousPiwikUsageMeasurement 4.1.0, Bandwidth 4.0.5, BulkTracking, Cohorts 4.0.8, Contents, CoreAdminHome, CoreConsole, CoreHome, CorePluginsAdmin, CoreUpdater, CoreVisualizations, CoreVue, CustomAlerts 4.1.0, CustomDimensions, CustomJsTracker, CustomReports 4.1.7, CustomVariables 4.1.3, DBStats, Dashboard, DeviceDetectorCache 4.3.1, DevicePlugins, DevicesDetection, Diagnostics, Ecommerce, Events, ExampleAPI, ExampleCommand, ExampleLogTables, ExamplePlugin, ExampleReport, ExampleSettingsPlugin, ExampleTracker, ExampleUI, ExampleVisualization, ExampleVue, Feedback, FormAnalytics 4.4.3, Funnels 4.1.6, GeoIp2, Goals, GoogleAnalyticsImporter 4.6.10, Heartbeat, HeatmapSessionRecording 4.5.10, ImageGraph, Insights, Installation, Intl, IntranetMeasurable, InvalidateReports 4.1.1, LanguagesManager, Live, LogViewer 4.1.2, Login, LoginLdap 4.7.3, MarketingCampaignsReporting 4.1.3, Marketplace, MediaAnalytics 4.2.1, MobileAppMeasurable, MobileMessaging, Monolog, Morpheus, MultiChannelConversionAttribution 4.3.2, MultiSites, Overlay, PagePerformance, PrivacyManager, Provider 4.0.5, Proxy, QueuedTracking 4.0.7, Referrers, Resolution, RollUpReporting 4.1.3, RssWidget, SEO, SEOWebVitals 4.0.4, ScheduledReports, SearchEngineKeywordsPerformance 4.5.5, SecurityInfo 4.0.2, SegmentEditor, SitesManager, TagManager, TasksTimetable 4.0.2, TestRunner 0.1.0, Tour, TrackingSpamPrevention 4.1.7, Transitions, TreemapVisualization 4.0.2, TwoFactorAuth, UserCountry, UserCountryMap, UserId, UserLanguage, UsersFlow 4.1.1, UsersManager, VisitFrequency, VisitTime, VisitorGenerator 4.0.7, VisitorInterest, VisitsSummary, WebsiteMeasurable, WhiteLabel 4.0.8, Widgetize
Plugins Deactivated: ExampleTheme, ProfessionalServices
Plugins Invalid:
Server Info: nginx/1.18.0
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36
Number of plugin invalidations: 0
List of plugins being invalidated:
Anonymize Referrer:
Do Not Track enabled: 1