@@ -12,8 +12,7 @@ discard block |
||
12 | 12 | exit; |
13 | 13 | } |
14 | 14 | |
15 | -class MonsterInsights_Tracking_Gtag extends MonsterInsights_Tracking_Abstract |
|
16 | -{ |
|
15 | +class MonsterInsights_Tracking_Gtag extends MonsterInsights_Tracking_Abstract { |
|
17 | 16 | /** |
18 | 17 | * Holds the name of the tracking type. |
19 | 18 | * |
@@ -37,8 +36,7 @@ discard block |
||
37 | 36 | * |
38 | 37 | * @since 7.15.0 |
39 | 38 | */ |
40 | - public function __construct() |
|
41 | - { |
|
39 | + public function __construct() { |
|
42 | 40 | } |
43 | 41 | |
44 | 42 | /** |
@@ -50,8 +48,7 @@ discard block |
||
50 | 48 | * |
51 | 49 | * @since 7.15.0 |
52 | 50 | */ |
53 | - public function frontend_tracking_options_persistent() |
|
54 | - { |
|
51 | + public function frontend_tracking_options_persistent() { |
|
55 | 52 | return apply_filters('monsterinsights_frontend_tracking_options_persistent_gtag_before_pageview', []); |
56 | 53 | } |
57 | 54 | |
@@ -69,8 +66,7 @@ discard block |
||
69 | 66 | * |
70 | 67 | * @since 7.15.0 |
71 | 68 | */ |
72 | - public function frontend_tracking_options($type = 'ua', $encoded = false) |
|
73 | - { |
|
69 | + public function frontend_tracking_options($type = 'ua', $encoded = false) { |
|
74 | 70 | global $wp_query; |
75 | 71 | $options = []; |
76 | 72 | |
@@ -185,8 +181,7 @@ discard block |
||
185 | 181 | * |
186 | 182 | * @since 7.15.0 |
187 | 183 | */ |
188 | - public function frontend_output() |
|
189 | - { |
|
184 | + public function frontend_output() { |
|
190 | 185 | $options = $this->frontend_tracking_options('ua', true); |
191 | 186 | $options_v4 = $this->frontend_tracking_options('v4', true); |
192 | 187 | $persistent = $this->frontend_tracking_options_persistent(); |
@@ -473,8 +468,7 @@ discard block |
||
473 | 468 | return $output; |
474 | 469 | } |
475 | 470 | |
476 | - public function should_do_optout() |
|
477 | - { |
|
471 | + public function should_do_optout() { |
|
478 | 472 | return !(defined('MI_NO_TRACKING_OPTOUT') && MI_NO_TRACKING_OPTOUT); |
479 | 473 | } |
480 | 474 | } |