I am trying to set some omniture variables from template.php using omniture_set_variable() in theme_preprocess_node() but those variables are not getting passed in omniture module because omniture module is executed first and then theme_preprocess_node() in template.php.

So is there any way of setting omniture variables in theme_preprocess_node() and embedding in omniture script.

Comments

greggles’s picture

I think template.php is too late in the page request cycle. Can you set the variables in a hook_nodeapi instead?