File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
source/Plugins/GoogleAnalyticsV3 Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -152,13 +152,13 @@ public IEnumerator HandleWWW(WWW request)
152
152
{
153
153
yield return request ;
154
154
if ( request . responseHeaders . ContainsKey ( "STATUS" ) ) {
155
- if ( request . responseHeaders [ "STATUS" ] == "HTTP/1.1 200 OK") {
155
+ if ( request . responseHeaders [ "STATUS" ] . Contains ( " 200 OK") ) {
156
156
if ( GoogleAnalyticsV3 . belowThreshold ( logLevel , GoogleAnalyticsV3 . DebugMode . INFO ) ) {
157
157
Debug . Log ( "Successfully sent Google Analytics hit." ) ;
158
158
}
159
159
} else {
160
160
if ( GoogleAnalyticsV3 . belowThreshold ( logLevel , GoogleAnalyticsV3 . DebugMode . WARNING ) ) {
161
- Debug . LogWarning ( "Google Analytics hit request rejected with" +
161
+ Debug . LogWarning ( "Google Analytics hit request rejected with " +
162
162
"status code " + request . responseHeaders [ "STATUS" ] ) ;
163
163
}
164
164
}
You can’t perform that action at this time.
0 commit comments