Skip to content
Snippets Groups Projects
Commit 3ace8b80 authored by Joe Pitassi's avatar Joe Pitassi
Browse files

merging changes from 7.x-1.1

parent 2087fddd
Branches
Tags 7.x-1.2
No related merge requests found
......@@ -34,6 +34,11 @@ function tracking_code_init() {
* Implements hook_page_alter().
*/
function tracking_code_page_alter(&$page) {
// Don't try to run foreach if tracking code doesn't exist.
if (!isset($_SESSION['tracking_code'])) {
return;
}
$node = menu_get_object();
// Render "After <BODY>" tracking code.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment