Version Description
- Missing admin_url() causing issues with sub-directory installs.
- Legacy code removed causing API errors with old ga_profileid variable conflicting.
- Added Google App ID To tracking ID as supplied by Google Analytics team. This is just for Google's own reporting. We do not get access to any of your data.
- Added support for users who wont want to authenticate with Google, but just use tracking code
Download this release
Release Info
| Developer | VideoUserManuals |
| Plugin | |
| Version | 6.3.4 |
| Comparing to | |
| See all releases | |
Code changes from version 6.3.3 to 6.3.4
google-analytics-summary-widget.php
CHANGED
|
@@ -103,16 +103,7 @@ class GoogleAnalyticsSummary
|
|
| 103 |
# Attempt to login and get the current account
|
| 104 |
$account = $this->getAnalyticsAccount();
|
| 105 |
|
| 106 |
-
|
| 107 |
-
if ( trim($profile_id) != '' ) {
|
| 108 |
-
if ( substr($profile_id, 0, 3) == 'ga:' ) {
|
| 109 |
-
$this->id = $profile_id;
|
| 110 |
-
} else {
|
| 111 |
-
$this->id = 'ga:' . $profile_id;
|
| 112 |
-
}
|
| 113 |
-
} else {
|
| 114 |
-
$this->id = $account;
|
| 115 |
-
}
|
| 116 |
|
| 117 |
$this->api->setAccount($this->id);
|
| 118 |
|
| 103 |
# Attempt to login and get the current account
|
| 104 |
$account = $this->getAnalyticsAccount();
|
| 105 |
|
| 106 |
+
$this->id = $account;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 107 |
|
| 108 |
$this->api->setAccount($this->id);
|
| 109 |
|
