Problem/Motivation

Twitter provides an option to disable tracking on widgets: https://developer.twitter.com/en/docs/twitter-for-websites/privacy

Proposed resolution

We should add an option thats a data-dnt attribute on the widget.

Remaining tasks

I will submit a patch.

User interface changes

Add a new checkbox on the block configuration form.

Data model changes

Add a new boolean config key.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

prudloff created an issue. See original summary.

prudloff’s picture

Status: Active » Needs review
sonam.chaturvedi’s picture

StatusFileSize
new97.38 KB
new110.84 KB
new33.78 KB

MR !1 mergeable applied successfully on drupal 9.2 version.

1. "Disable tracking" checkbox option for Twitter block is now available on block configuration page
2. Default value for "Disable tracking" checkbox is false (unchecked).
3. Once user checks the "Disable tracking" option > data-dnt attribute is set to 'true'.

smustgrave made their first commit to this issue’s fork.

smustgrave’s picture

Status: Needs review » Fixed
Parent issue: » #3336754: Stable 8.x-3.0 release with D10

Thanks

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.