Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Track site search #93

Merged
merged 1 commit into from
Jul 11, 2021
Merged

Track site search #93

merged 1 commit into from
Jul 11, 2021

Conversation

rwd
Copy link
Contributor

@rwd rwd commented Jul 5, 2021

This adds a new option trackSiteSearch which supports app-specific logic to determine that a particular user interaction should be tracked as a site search instead of as a page view.

While Matomo can detect that an interaction is a site search based on URL query parameters, this is not always sufficient, for instance if the search category is in the Vue route params instead of in the query, or if one wants to also track the resultsCount.

@AmazingDreams AmazingDreams merged commit e3231ab into AmazingDreams:master Jul 11, 2021
@AmazingDreams
Copy link
Owner

Thanks! Released in v4.1.0 https://github.com/AmazingDreams/vue-matomo/releases/tag/v4.1.0

rwd added a commit to europeana/portal.js that referenced this pull request Jul 13, 2021
rwd added a commit to europeana/portal.js that referenced this pull request Jul 14, 2021
* Revert to official vue-matomo package

Re AmazingDreams/vue-matomo#93

* Update package name in import
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants