Internal search uses POST not GET


I’m using Piwik2. I understand that the internal search feature relies on GET parameters, but my search engine uses POST only.

How do I set it so that Piwik can see the POST data, specifically the parameter “keywords” which my internal engine sends via POST?

(Matthieu Aubry) #2

if you use the javascript tracker you can call the method see JavaScript Tracking Client: API Reference - Matomo Analytics (formerly Piwik Analytics) - Developer Docs - v3


Thanks! I’ll see if I can make that work…


OK I’ve read the recommended script, but am not sure what the syntax is to capture the keyword string.

The keywords appear as a term on many links in the result page. It’s called “highlight”. My javascript isn’t good enough yet to grab that. Dammit! Can someone steer me in the right direction?