Coluccini Posted March 11, 2014 Share Posted March 11, 2014 Hi, I have installed the ganalytics module and set up the new order goal on my analytics account. But know I want to set another goal for new customer signup and I don't know where to start. Have someone already made this? can you please help me at least saying which controller should I change? Thanks! Link to comment Share on other sites More sharing options...
Coluccini Posted March 11, 2014 Author Share Posted March 11, 2014 No one? really? Link to comment Share on other sites More sharing options...
Coluccini Posted March 12, 2014 Author Share Posted March 12, 2014 I'm trying to user the createAccount hook to define a variable that makes print an Analytics pageview call on the ganalytics template. But if I try this: function hookCreateAccount($params) { $this->context->smarty->assign('isNewCustomer', true); return $this->display(__FILE__, 'header.tpl'); } isNewCustomer is not passed to header.tpl. What is the right way to pass an variable to that template from that hook? should I pass a variable to hookHeader()? how can I do that? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now