Page MenuHomeMiraheze

MatomoAnalyticsProject
ActivePublic

Members

  • This project does not have any members.
  • View All

Watchers

  • This project does not have any watchers.
  • View All

Details

Description

A project for the MatomoAnalytics extension being developed by Miraheze for public usage on a MediaWiki<->Matomo install.

Recent Activity

Jan 31 2024

OrangeStar closed T11518: errors on Special:Analytics page as Invalid.

Unfortunately we can't help with debugging TLS issues here since it depends on how you have things setup there. Closing since the issue is unrelated to the MatomoAnalytics extension.

Jan 31 2024, 16:33 · MatomoAnalytics, MediaWiki (SRE)
OrangeStar added a comment to T11518: errors on Special:Analytics page.

By certificate I strongly think it is talking about the certificate your matomo server is presenting to your mediawiki server during the TLS handshake. Your mediawiki server doesn't trust the issuer. Fixing this is very dependent on what exactly your CA setup is, what OS you're running on the mediawiki server, how you're running mediawiki, and how you want to approach this. If it is a self signed certificate, you should trust it at the OS level. If it is signed by some kind of internal CA that CA should be trusted by your mediawiki server.

Jan 31 2024, 16:28 · MatomoAnalytics, MediaWiki (SRE)

Jan 19 2024

Reception123 added a project to T11679: Can we use basic campaigns in Matomo?: MatomoAnalytics.
Jan 19 2024, 17:28 · MatomoAnalytics, MediaWiki (SRE), MediaWiki

Jan 4 2024

Gregory.ellingson added a comment to T11518: errors on Special:Analytics page.

After diving into wiki's GuzzleHttpRequest.php object I was able to fish out an error. On line 273 doing a var_dump on $handlercontext I can see the error 'Peer's Certificate issuer is not recognized.'

Jan 4 2024, 21:56 · MatomoAnalytics, MediaWiki (SRE)

Dec 26 2023

Gregory.ellingson added a comment to T11518: errors on Special:Analytics page.

This returns null
MediaWikiServices::getInstance()->getHttpRequestFactory()->get(url goes here)

Dec 26 2023, 20:05 · MatomoAnalytics, MediaWiki (SRE)
Gregory.ellingson added a comment to T11518: errors on Special:Analytics page.

I am able to confirm this function:

Dec 26 2023, 20:04 · MatomoAnalytics, MediaWiki (SRE)
Agent_Isai triaged T11518: errors on Special:Analytics page as Normal priority.
Dec 26 2023, 19:10 · MatomoAnalytics, MediaWiki (SRE)

Dec 20 2023

Gregory.ellingson added a comment to T11518: errors on Special:Analytics page.

Still nothing.

Dec 20 2023, 17:19 · MatomoAnalytics, MediaWiki (SRE)
Original_Authority added a comment to T11518: errors on Special:Analytics page.

Whilst I'm not 100% sure, I think the token just needs to be the value of the token, ie, without &token_auth= just whatever the actual token is.

Dec 20 2023, 15:00 · MatomoAnalytics, MediaWiki (SRE)
Gregory.ellingson added a comment to T11518: errors on Special:Analytics page.

Grabbed the &token_auth following the instructions from here: https://matomo.org/faq/general/faq_114/

Dec 20 2023, 14:00 · MatomoAnalytics, MediaWiki (SRE)
Original_Authority added a comment to T11518: errors on Special:Analytics page.

That's likely the issue; can you try setting the api key? I think that is where your issue lies. MediaWiki needs the API key to get the data.

Dec 20 2023, 00:42 · MatomoAnalytics, MediaWiki (SRE)

Dec 19 2023

Gregory.ellingson added a comment to T11518: errors on Special:Analytics page.

Looks like I'm getting nothing into $siteReply.

Dec 19 2023, 21:38 · MatomoAnalytics, MediaWiki (SRE)
Gregory.ellingson added a comment to T11518: errors on Special:Analytics page.

This is the configuration. I'll setup something to capture what is being returned to that function.

Dec 19 2023, 19:27 · MatomoAnalytics, MediaWiki (SRE)
Original_Authority added a comment to T11518: errors on Special:Analytics page.

The error is because whatever is being returned into $siteJson is not what is expected. It's pretty much impossible for us to help you without further details, i.e, seeing what you're passing as configuration into the extension, or what is being returned by the api call here:

			wfAppendQuery(
				$config->get( 'MatomoAnalyticsServerURL' ),
				[
					'module' => 'API',
					'format' => 'json',
					'date' => 'previous30',
					'method' => $module,
					'period' => $period,
					'idSite' => $this->siteId,
					'token_auth' => $config->get( 'MatomoAnalyticsTokenAuth' )
				]
			)
		);
Dec 19 2023, 16:33 · MatomoAnalytics, MediaWiki (SRE)
Redmin lowered the priority of T11518: errors on Special:Analytics page from Unbreak Now! to Needs Triage.
Dec 19 2023, 10:10 · MatomoAnalytics, MediaWiki (SRE)

Dec 18 2023

Gregory.ellingson triaged T11518: errors on Special:Analytics page as Unbreak Now! priority.
Dec 18 2023, 20:48 · MatomoAnalytics, MediaWiki (SRE)

Dec 13 2023

Gregory.ellingson created T11518: errors on Special:Analytics page.
Dec 13 2023, 18:53 · MatomoAnalytics, MediaWiki (SRE)

May 19 2023

MacFan4000 removed a member for MatomoAnalytics: John.
May 19 2023, 19:55

Jan 29 2023

Unknown Object (User) added a comment to T9814: The method disableCookies is registered more than once in "_paq" variable.
Jan 29 2023, 17:20 · MediaWiki (SRE), Universal Omega, MatomoAnalytics
Paladox added a comment to T9814: The method disableCookies is registered more than once in "_paq" variable.

https://github.com/miraheze/MatomoAnalytics/pull/93 fixes this.

Jan 29 2023, 16:48 · MediaWiki (SRE), Universal Omega, MatomoAnalytics
OrangeStar closed T9814: The method disableCookies is registered more than once in "_paq" variable as Resolved.
Jan 29 2023, 15:23 · MediaWiki (SRE), Universal Omega, MatomoAnalytics

Jan 26 2023

Unknown Object (User) added a comment to T9814: The method disableCookies is registered more than once in "_paq" variable.

https://github.com/miraheze/MatomoAnalytics/pull/91

Jan 26 2023, 18:49 · MediaWiki (SRE), Universal Omega, MatomoAnalytics
OrangeStar added a comment to T9814: The method disableCookies is registered more than once in "_paq" variable.

Forget the above, it was because of using var_dump in my script. No problems with the string in PHP 8.0.27.

Jan 26 2023, 15:21 · MediaWiki (SRE), Universal Omega, MatomoAnalytics
OrangeStar added a comment to T9814: The method disableCookies is registered more than once in "_paq" variable.

<s>I've narrowed it down to the string. I've made a stand-alone script and am getting the same error as the extension.</s>

Jan 26 2023, 14:53 · MediaWiki (SRE), Universal Omega, MatomoAnalytics

Jan 25 2023

OrangeStar added a comment to T9814: The method disableCookies is registered more than once in "_paq" variable.

If I had to guess, MatomoAnalyticsHooks::matomoScript, a function listening to the SkinAfterBottomScripts hook, is being called twice, for some bizarre reason most likely.

Jan 25 2023, 21:48 · MediaWiki (SRE), Universal Omega, MatomoAnalytics
OrangeStar added a comment to T9814: The method disableCookies is registered more than once in "_paq" variable.

Is this a huge issue or something quite minor?

Jan 25 2023, 21:38 · MediaWiki (SRE), Universal Omega, MatomoAnalytics
OrangeStar merged T10365: Matomo errors in console into T9814: The method disableCookies is registered more than once in "_paq" variable.
Jan 25 2023, 21:06 · MediaWiki (SRE), Universal Omega, MatomoAnalytics
OrangeStar merged task T10365: Matomo errors in console into T9814: The method disableCookies is registered more than once in "_paq" variable.
Jan 25 2023, 21:06 · MediaWiki (SRE), Universal Omega, MatomoAnalytics
BrandonWM triaged T10365: Matomo errors in console as Normal priority.
Jan 25 2023, 20:08 · MediaWiki (SRE), Universal Omega, MatomoAnalytics

Jan 11 2023

Reception123 lowered the priority of T9814: The method disableCookies is registered more than once in "_paq" variable from Normal to Low.

Triaging as low as there doesn't seem to be a huge effect because of this.

Jan 11 2023, 19:22 · MediaWiki (SRE), Universal Omega, MatomoAnalytics

Nov 9 2022

Reception123 added a comment to T9814: The method disableCookies is registered more than once in "_paq" variable.

Is this a huge issue or something quite minor?

Nov 9 2022, 12:09 · MediaWiki (SRE), Universal Omega, MatomoAnalytics

Oct 13 2022

Unknown Object (User) added a comment to T9814: The method disableCookies is registered more than once in "_paq" variable.

I dont think this is an issue with the extension, but Matomo itself, as it definitely isn't defined twice within the extension.

Oct 13 2022, 06:35 · MediaWiki (SRE), Universal Omega, MatomoAnalytics

Oct 7 2022

Paladox triaged T9814: The method disableCookies is registered more than once in "_paq" variable as Normal priority.
Oct 7 2022, 20:24 · MediaWiki (SRE), Universal Omega, MatomoAnalytics
Paladox created T9814: The method disableCookies is registered more than once in "_paq" variable.
Oct 7 2022, 20:23 · MediaWiki (SRE), Universal Omega, MatomoAnalytics

May 30 2022

Dmehus claimed T9308: Remove matomo special page in worldbox.wiki.
May 30 2022, 03:26 · Configuration, MediaWiki (SRE)
IsutanPhab added a comment to T9308: Remove matomo special page in worldbox.wiki.

@Agent Isai

May 30 2022, 03:25 · Configuration, MediaWiki (SRE)
IsutanPhab added a comment to T9308: Remove matomo special page in worldbox.wiki.

yes i changed managewiki

May 30 2022, 03:23 · Configuration, MediaWiki (SRE)
IsutanPhab added a comment to T9308: Remove matomo special page in worldbox.wiki.

Y

May 30 2022, 03:20 · Configuration, MediaWiki (SRE)
Agent_Isai triaged T9308: Remove matomo special page in worldbox.wiki as Normal priority.

You were advised on how to disable Matomo’s analytics collection on the Community noticeboard. Have you followed those steps?

May 30 2022, 03:19 · Configuration, MediaWiki (SRE)

Mar 8 2022

Reception123 closed T8860: Error in renaming Matomo references when wiki is renamed as Resolved.

Can confirm this hasn't happened with the new rename. Closing for now per above.

Mar 8 2022, 06:57 · MediaWiki (SRE), MatomoAnalytics

Mar 3 2022

Unknown Object (User) added a comment to T8860: Error in renaming Matomo references when wiki is renamed.

I would say close this task, it's not possible to extensively debug so long as not present on the mentioned wiki. Therefore, it could be reopened when it happens again, but since unactionable till then, I don't see why it should remain open.

Mar 3 2022, 07:27 · MediaWiki (SRE), MatomoAnalytics
Reception123 lowered the priority of T8860: Error in renaming Matomo references when wiki is renamed from Normal to Low.

Moving to low as it doesn't seem to be a systemic issue per @Universal_Omega and will have to wait until the next rename anyway.

Mar 3 2022, 07:05 · MediaWiki (SRE), MatomoAnalytics

Mar 1 2022

Unknown Object (User) added a comment to T8860: Error in renaming Matomo references when wiki is renamed.

My only theory at the moment is that this was due to tampvanwiki previously existing, and never had it's Matomo data in the database properly deleted. Though I can't confirm that.

Mar 1 2022, 16:44 · MediaWiki (SRE), MatomoAnalytics
RhinosF1 added a comment to T8860: Error in renaming Matomo references when wiki is renamed.

Does the recalibrate script work?

Mar 1 2022, 15:10 · MediaWiki (SRE), MatomoAnalytics
Reception123 triaged T8860: Error in renaming Matomo references when wiki is renamed as Normal priority.
Mar 1 2022, 14:51 · MediaWiki (SRE), MatomoAnalytics

Feb 7 2022

Unknown Object (User) removed a member for MatomoAnalytics: Unknown Object (User).
Feb 7 2022, 06:09
Unknown Object (User) removed a member for MatomoAnalytics: Bukkit.
Feb 7 2022, 06:09

Jan 23 2022

Lens0021 closed T8611: Write PageViewInfo and Matomo integration as Declined.

Thank you all for the comments. I close this because the usage is unclear.

Jan 23 2022, 05:10 · MatomoAnalytics, Universal Omega, MediaWiki (SRE)
Unknown Object (User) added a comment to T8611: Write PageViewInfo and Matomo integration.

I have a question: When I google it, there are search results describing pageviews of Matomo. Is it what you said the instance of Miraheze especially does not collect pageviews by the policy? (I'm sorry for not having experience with Matomo)

Jan 23 2022, 02:36 · MatomoAnalytics, Universal Omega, MediaWiki (SRE)

Jan 22 2022

Lens0021 added a comment to T8611: Write PageViewInfo and Matomo integration.

I have a question: When I google it, there are search results describing pageviews of Matomo. Is it what you said the instance of Miraheze especially does not collect pageviews by the policy? (I'm sorry for not having experience with Matomo)

Jan 22 2022, 05:14 · MatomoAnalytics, Universal Omega, MediaWiki (SRE)