• Hello,

    I have met 2 issues with the HTTP method.
    This option does not seem to work as expected whatever I choose POST or GET.

    I have installed WP-Matomo (1.0.26) on my wordpress (5.8.2) website.
    I have connected this plugin with my self-hosted matomo (4.6.2).

    In expert settings, the HTTP method is POST.
    When I test my website, I see the ajax call with POST method but all the data are filled as GET parameters. Why do the data remain as GET parameters ?

    When I choose GET HTTP method, the ajax call remains POST method.

Viewing 1 replies (of 1 total)
  • Thread Starter martindupont

    (@martindupont)

    I have just resolved temporarily my issue by adding in my tracking code:
    _paq.push(["setRequestMethod", "POST"]);

    I may misunderstood the purpose of the setting “HTTP method” in expert settings.
    This setting may be used for the API authentification with my matomo but not for the tracking code right ?

    If this is right then I think it could be useful to have an option “HTTP method” for the tracking code

Viewing 1 replies (of 1 total)
  • The topic ‘HTTP method option not working’ is closed to new replies.