PDA

View Full Version : Javascript within PHPCode tags Issue


ntock
08-08-2010, 06:52 AM
Hi all,

I'm having this issue where the site is crashing when I try to use my product:

<hookname>register_form_complete</hookname>
<phpcode>
<![CDATA[$footer .= '<script type="text/javascript">_gaq.push(['_trackPageview', '/G1/signup.html']);</script>';]]>
</phpcode>

I'm wondering if the brackets from the gaq.push code are closing the entire statement too early?

Many thanks for any help you can provide..

Cheers

Agathadaimon
08-08-2010, 03:24 PM
You have used a code does not allow

ntock
08-08-2010, 03:40 PM
You have used a code does not allow

Thank you for replying. I don't understand sorry, what do you mean?