Commit c2a10830 authored by hass's avatar hass
Browse files

#1836896: D6 - Outbound links not being tracked due to variable name bug

parent 72c50491
......@@ -79,8 +79,8 @@ function googleanalytics_init() {
// Add link tracking.
$link_settings = array();
if ($track_outgoing = variable_get('googleanalytics_trackoutgoing', 1)) {
$link_settings['trackOutgoing'] = $track_outgoing;
if ($track_outbound = variable_get('googleanalytics_trackoutgoing', 1)) {
$link_settings['trackOutbound'] = $track_outbound;
}
if ($track_mailto = variable_get('googleanalytics_trackmailto', 1)) {
$link_settings['trackMailto'] = $track_mailto;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment