Completed
Push — add/8181-enhanced-google-analy... ( 492986...fd7aed )
by
unknown
36:24 queued 28:55
created

Jetpack_Google_Analytics_Universal::insert_code()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 0
dl 0
loc 3
rs 10
c 0
b 0
f 0
1
<?php
2
3
/**
4
* Jetpack_Google_Analytics_Universal hooks and and enqueues support for analytics.js
5
* https://developers.google.com/analytics/devguides/collection/analyticsjs/
6
*
7
* @author allendav 
8
*/
9
10
/**
11
* Bail if accessed directly
12
*/
13
if ( ! defined( 'ABSPATH' ) ) {
14
	exit;
15
}
16
17
class Jetpack_Google_Analytics_Universal {
18
	public function __construct() {
19
		// TODO add_filter( 'jetpack_wga_classic_custom_vars', array( $this, 'jetpack_wga_classic_anonymize_ip' ) );
0 ignored issues
show
Coding Style Best Practice introduced by
Comments for TODO tasks are often forgotten in the code; it might be better to use a dedicated issue tracker.
Loading history...
20
		// TODO add_filter( 'jetpack_wga_classic_custom_vars', array( $this, 'jetpack_wga_classic_track_purchases' ) );
0 ignored issues
show
Coding Style Best Practice introduced by
Comments for TODO tasks are often forgotten in the code; it might be better to use a dedicated issue tracker.
Loading history...
21
		// TODO add_action( 'wp_footer', array( $this, 'insert_code' ) );
0 ignored issues
show
Coding Style Best Practice introduced by
Comments for TODO tasks are often forgotten in the code; it might be better to use a dedicated issue tracker.
Loading history...
22
		// TODO add_action( 'wp_footer', array( $this, 'jetpack_wga_classic_track_add_to_cart' ) );
0 ignored issues
show
Coding Style Best Practice introduced by
Comments for TODO tasks are often forgotten in the code; it might be better to use a dedicated issue tracker.
Loading history...
23
	}
24
25
	public function insert_code() {
26
27
	}
28
}