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

[TASK] Be able to disable tracking of visitors search inputs #4003

Closed
christophlehmann opened this issue Apr 11, 2024 · 3 comments · Fixed by #4006
Closed

[TASK] Be able to disable tracking of visitors search inputs #4003

christophlehmann opened this issue Apr 11, 2024 · 3 comments · Fixed by #4006

Comments

@christophlehmann
Copy link
Contributor

What should be done in the scope of this task?

Tracking of user search input seems enabled by default. This

  • floods the tables fe_sessions/tx_solr_last_searches
  • starts sessions and thus sends session cookies.

There should ben an easy possibility to disable it.

Offtopic: Search inputs are only tracked, when they provide results.

Current TypoScript

plugin.tx_solr {
  search {
    lastSearches = 0
    lastSearches {
      limit = 10
      // tracking mode "user" or "global"
      mode = user
    }
  }
}

lastSearches = 0 and mode = '' or limit = 0 could be candidates to achieve disabling the tracking. What do you think?

@dkd-kaehm
Copy link
Collaborator

Yes, that is good idea.
Would propose mode = disabled to be more self explaining notation.

@christophlehmann
Copy link
Contributor Author

And change it to be new default?

@dkd-kaehm
Copy link
Collaborator

For main in separate commit please.
It would be nice to backport that feature in non-Breaking manner.

christophlehmann pushed a commit to christophlehmann/ext-solr that referenced this issue Apr 14, 2024
Currently last searches are always tracked, even if not displayed.

This introduces the new tracking mode 'disabled' to disable it.

plugin.tx_solr.search.lastSearches.mode = disabled

Relates: TYPO3-Solr#4003
christophlehmann pushed a commit to christophlehmann/ext-solr that referenced this issue Apr 14, 2024
christophlehmann pushed a commit to christophlehmann/ext-solr that referenced this issue Apr 14, 2024
dkd-kaehm pushed a commit to christophlehmann/ext-solr that referenced this issue May 8, 2024
Currently last searches are always tracked, even if not displayed.

This introduces the new tracking mode 'disabled' to disable it.

plugin.tx_solr.search.lastSearches.mode = disabled

Relates: TYPO3-Solr#4003
dkd-kaehm pushed a commit to christophlehmann/ext-solr that referenced this issue May 8, 2024
dkd-kaehm pushed a commit to christophlehmann/ext-solr that referenced this issue May 17, 2024
Currently last searches are always tracked, even if not displayed.

This introduces the new tracking mode 'disabled' to disable it.

plugin.tx_solr.search.lastSearches.mode = disabled

Relates: TYPO3-Solr#4003
dkd-kaehm pushed a commit to christophlehmann/ext-solr that referenced this issue May 17, 2024
dkd-kaehm pushed a commit that referenced this issue May 17, 2024
Currently last searches are always tracked, even if not displayed.

This introduces the new tracking mode 'disabled' to disable it.

plugin.tx_solr.search.lastSearches.mode = disabled

Relates: #4003
dkd-kaehm pushed a commit that referenced this issue May 17, 2024
dkd-kaehm pushed a commit to dkd-kaehm/ext-solr that referenced this issue May 17, 2024
Currently last searches are always tracked, even if not displayed.

This introduces the new tracking mode 'disabled' to disable it.

plugin.tx_solr.search.lastSearches.mode = disabled

Relates: TYPO3-Solr#4003
Ports: TYPO3-Solr#4006
spoonerWeb pushed a commit to spoonerWeb/ext-solr that referenced this issue May 17, 2024
Currently last searches are always tracked, even if not displayed.

This introduces the new tracking mode 'disabled' to disable it.

plugin.tx_solr.search.lastSearches.mode = disabled

Relates: TYPO3-Solr#4003
spoonerWeb pushed a commit to spoonerWeb/ext-solr that referenced this issue May 17, 2024
dkd-kaehm pushed a commit that referenced this issue May 17, 2024
Currently last searches are always tracked, even if not displayed.

This introduces the new tracking mode 'disabled' to disable it.

plugin.tx_solr.search.lastSearches.mode = disabled

Relates: #4003
Ports: #4006
dkd-kaehm pushed a commit that referenced this issue May 17, 2024
dkd-kaehm pushed a commit to dkd-kaehm/ext-solr that referenced this issue Jun 6, 2024
dkd-kaehm pushed a commit that referenced this issue Jul 5, 2024
dkd-kaehm pushed a commit that referenced this issue Jul 11, 2024
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 a pull request may close this issue.

2 participants