| @@ -22,8 +22,9 @@ | ||
| 22 | 22 | |
| 23 | 23 | public function attributes(): array |
| 24 | 24 | { |
| 25 | 25 | return array_filter([ |
| 26 | + 'data-platform' => 'wordpress', | |
| 26 | 27 | 'data-mode' => Setting::boolean(SettingName::HASH_MODE) ? 'hash' : null, |
| 27 | 28 | 'data-collect-dnt' => Setting::boolean(SettingName::COLLECT_DNT) ? 'true' : null, |
| 28 | 29 | 'data-ignore-pages' => Setting::get(SettingName::IGNORE_PAGES), |
| 29 | 30 | 'data-auto-collect' => Setting::get(SettingName::MANUAL_COLLECT) ? 'true' : null, |