Bug fix: Display Advertising
-
This plugin wasn’t validating properly with Google Analytics if Display Advertising was selected. I fixed this by changing the code around line 129:
$tk .= " ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'https://www') + '.google-analytics.com/ga.js';\n";
… was replaced with …
if($Display_Advertising=="false"){ $tk .= " ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'https://www') + '.google-analytics.com/ga.js';\n"; }else{ $tk .= " ga.src = ('https:' == document.location.protocol ? 'https://' : 'https://') + 'stats.g.doubleclick.net/dc.js';\n"; }
… which appears earlier in the plugin.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Bug fix: Display Advertising’ is closed to new replies.