hi i have a module(Joomla 1.5.14) that works as a calculator for calculating the pricing options for the users. my client has a google analytic code that he wants to embed/ enabled when someone calculates the price on the site via that calculator module , but the google analytic tracking code needs to be at the bottom of the page just before the </body> tag , so i cannot enable it with in the module as the module is not included at the end of the index page so i what i tried to do was
1.within the module i checked if there were any values posted
if(yes) then $calc_submit=1;
2. And Then in the index file i check
if($calc_submit==1) then show the google analytic code
BUT IT IS NOT WORKING AS THE INDEX PAGE CANNOT DETECT THE VALUE BEING SET WITHIN THE MODULE
can any 1 guide me through that
Regards,
Omer Aslam