-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwk-ga.php
More file actions
33 lines (26 loc) · 1022 Bytes
/
wk-ga.php
File metadata and controls
33 lines (26 loc) · 1022 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<?php
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
use WebKinder\GoogleAnalytics\PluginFactory;
/*
* Plugin Name: WEBKINDER Integration for Google Analytics and Google Tag Manager
* Plugin URI: https://wordpress.org/plugins/wk-google-analytics/
* Description: Deploy Google Analytics on your website without having to edit code and without tracking your own visits. You can exclude any logged in user from this and enable tracking solely for them.
* Version: 1.11.5
* Author: WEBKINDER
* Author URI: https://www.webkinder.ch/
* License: GPL2
* License URI: https://www.gnu.org/licenses/gpl-2.0.html
* Domain Path: /languages
* Text Domain: wk-google-analytics
*/
define( 'WK_GA_PLUGIN_FILE', __FILE__ );
define( 'WK_GA_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
define( 'WK_GA_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
define('WK_GOOGLE_ANALYTICS_DIR', dirname(__FILE__));
$autoload = __DIR__.'/vendor/autoload.php';
if (file_exists($autoload)) {
require_once $autoload;
}
PluginFactory::create()->run();