File tree Expand file tree Collapse file tree 2 files changed +2
-30
lines changed Expand file tree Collapse file tree 2 files changed +2
-30
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ import EditUserForm from './EditUserForm'
17
17
@withLoggedInUser
18
18
export default class UserSettings extends React . PureComponent {
19
19
render ( ) {
20
- const { t, addModal, locale , logout } = this . props
20
+ const { t, addModal, logout } = this . props
21
21
return this . props . isLoading ? (
22
22
< LoadingFrame />
23
23
) : (
@@ -37,17 +37,6 @@ export default class UserSettings extends React.PureComponent {
37
37
< br />
38
38
< hr />
39
39
< br />
40
- < div className = "has-text-centered" >
41
- < h3 className = "title is-3" > { t ( 'browsingAnalyzer' ) } </ h3 >
42
- < iframe
43
- title = "Matomo opt-out"
44
- style = { { border : 0 , height : 175 , width : 600 } }
45
- src = { `https://stats.captainfact.io/index.php?module=CoreAdminHome&action=optOut&language=${ locale } &fontFamily=Ubuntu` }
46
- />
47
- </ div >
48
- < br />
49
- < hr />
50
- < br />
51
40
< div className = "has-text-centered" >
52
41
< h3 className = "title is-3" > { t ( 'dangerZone' ) } </ h3 >
53
42
< Button
Original file line number Diff line number Diff line change 1
- <!DOCTYPE html>
1
+ <!doctype html>
2
2
< html >
3
3
<!-- prettier-ignore -->
4
4
< head lang ="en ">
25
25
</ script >
26
26
<!-- End runtime env variables -->
27
27
28
- <!-- Matomo -->
29
- < script type ="text/javascript ">
30
- if ( document . domain === 'captainfact.io' ) {
31
- var _paq = window . _paq = window . _paq || [ ] ;
32
- _paq . push ( [ 'trackPageView' ] ) ;
33
- _paq . push ( [ 'enableLinkTracking' ] ) ;
34
- ( function ( ) {
35
- var u = "//stats.captainfact.io/" ;
36
- _paq . push ( [ 'setTrackerUrl' , u + 'matomo.php' ] ) ;
37
- _paq . push ( [ 'setSiteId' , '1' ] ) ;
38
- var d = document , g = d . createElement ( 'script' ) , s = d . getElementsByTagName ( 'script' ) [ 0 ] ;
39
- g . type = 'text/javascript' ; g . async = true ; g . src = u + 'matomo.js' ; s . parentNode . insertBefore ( g , s ) ;
40
- } ) ( ) ;
41
- }
42
- </ script >
43
- <!-- End Matomo Code -->
44
-
45
28
<!-- Preloading frame base style (without animation) -->
46
29
< style >
47
30
# preloading-frame {
You can’t perform that action at this time.
0 commit comments