What would be the correct syntax for the onClick attribute in the following:
<?php
if($_resp['user']) {
echo '<div class="logo"><a href="http://www.example.com/" onClick="_gaq.push(['_trackEvent', 'Join', 'Home', 'BigButton']);">Link Text</a>';
}
?>
Since you are nesting both double and single quotes, you will need to escape the single quotes in the
onClickwith backslashes.