• Resolved jsmansart

    (@jsmansart)


    This happen with WP-Matomo 1.0.29

    When configuring matomo on my WordPress, the checkbox autoconfig is always checked. If I uncheck it to have the complete list of all Sites and click save button, the checkbox is checked again, and there is no list showing.

    And the autoconfig doesn’t work anymore, it connect to the first Site it found (but it’s not the good one)

    Thanks

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author braekling

    (@braekling)

    I can confirm this issue and will try to deliver a fix asap.

    As long as I am working on this: Did you configure the blog’s domain within Matomo? Because auto config sends the domain to Matomo and asks for the correct ID. If you go to the Support tab and run the test script, you can have a look at Test 3/3: SitesManager.getSitesIdFromSiteUrl which shows the result (site ID) delivered from Matomo and the API call the plugin uses to receive this ID.

    Thread Starter jsmansart

    (@jsmansart)

    Thanks for the reply.

    Yes, we check twice, the domain is well configured in Matomo.

    Here is the result of the test :

    Test 3/3: SitesManager.getSitesIdFromSiteUrl
    
    array(0) {
    }
    Plugin Author braekling

    (@braekling)

    Ok, that’s strange. Obviously Matomo is not able to recognize the URL to deliver the site ID (result = empty array). Below you can see the API call which is used to get the ID:

    module=API&format=json&method=SitesManager.getSitesIdFromSiteUrl...

    Can you check the url= parameter within this string? Does this show your blog’s URL and does it equal the URL set in Matomo?

    (Anyway, I will prove a solution for manual config, of course. Just want to understand why auto config does not work at all.)

    Thread Starter jsmansart

    (@jsmansart)

    string(204) "https://matomo.bayard.io/?module=API&method=API.getBulkRequest&format=json&urls[0]=method%3DSitesManager.getSitesIdFromSiteUrl%26idSite%3D1%26url%3Dhttps%3A%2F%2Fwww.pelerinage-national.org&token_auth=..."

    Yup, seems good to me.

    I’ve tried to clear the cache, reset “Connect Matomo” config, etc. same result

    Plugin Author braekling

    (@braekling)

    Can you please try again with the latest release 1.0.30? I hope this will solve the issue for you. You should open your configuration and save it once again, afterwards the correct site should be estimated.

    Thread Starter jsmansart

    (@jsmansart)

    Thanks a lot, it’s now working

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘autoconfig not working and still get checked’ is closed to new replies.