decore
07-12-2012, 08:09 PM
Hello friends,
I'm struggling here to insert a _gaq.push(['_trackEvent', on a button at my webstite.
The original button looks like this:
<button type="submit" class="button" title="Login" onclick="veriform.verify(1)">'. LANG::_('login') .'</button>
What i tried to do is:
<button type="submit" class="button" title="Login" onclick="veriform.verify(1);_gaq.push(['_trackEvent', 'IniciarProjeto', 'Cadastro', 'EntrarCadastrado',]);">'. LANG::_('login') .'</button>
But my page appeared blank...
Can anybody help me?
I'm struggling here to insert a _gaq.push(['_trackEvent', on a button at my webstite.
The original button looks like this:
<button type="submit" class="button" title="Login" onclick="veriform.verify(1)">'. LANG::_('login') .'</button>
What i tried to do is:
<button type="submit" class="button" title="Login" onclick="veriform.verify(1);_gaq.push(['_trackEvent', 'IniciarProjeto', 'Cadastro', 'EntrarCadastrado',]);">'. LANG::_('login') .'</button>
But my page appeared blank...
Can anybody help me?