Yoast / Yoast/developer

Enable usage tracking filter

Open
#335 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
15
Forks
23
PR merge metrics
No merged PRs in 30d

Description

Please give us a description of the issue

We have this filter add_filter( 'wpseo_enable_tracking', '__return_true' ); to enable tracking. What is the usecase of the filter? i.e. when we should use/recommend using the filter?

If the users' keep the tracking disabled from settings > site basics and from first time configuration, then our filter doesn't override the settings value and it is the correct output. In that case, when the filter can be useful?

  • I've read and understood the contribution guidelines.
  • I've searched for any related issues and avoided creating a duplicate issue.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by investigating the wpseo_enable_tracking filter and the tracking settings described in the issue, including the linked WordPress plugin guidelines. Determine when the filter is useful without bypassing user consent, then document that use case and the recommended behavior in the developer portal.

Written by the indexing model from the issue text.

Assessment

Tech stack
wordpress
Domain
documentation
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.