Révision d756b39a
Ajouté par Assos Assos il y a environ 8 ans
drupal7/sites/all/modules/piwik/piwik.js | ||
---|---|---|
19 | 19 |
|
20 | 20 |
// Colorbox: This event triggers when the transition has completed and the |
21 | 21 |
// newly loaded content has been revealed. |
22 |
$(document).bind("cbox_complete", function () { |
|
23 |
var href = $.colorbox.element().attr("href"); |
|
24 |
if (href) { |
|
25 |
_paq.push(["setCustomUrl", href]); |
|
26 |
_paq.push(["trackPageView"]); |
|
27 |
} |
|
28 |
}); |
|
22 |
if (Drupal.settings.piwik.trackColorbox) { |
|
23 |
$(document).bind("cbox_complete", function () { |
|
24 |
var href = $.colorbox.element().attr("href"); |
|
25 |
if (href) { |
|
26 |
_paq.push(["setCustomUrl", href]); |
|
27 |
_paq.push(["trackPageView"]); |
|
28 |
} |
|
29 |
}); |
|
30 |
} |
|
29 | 31 |
|
30 | 32 |
}); |
31 | 33 |
|
Formats disponibles : Unified diff
Weekly update of contrib modules