PLEASE help PHP + JS
I am trying to setup onclick tracking for analytics on a button within some PHP code but it keeps giving me errors and I don't know why!
Please take a look:
if (!VmConfig::get('use_as_catalog')) { $checkout_link_html = '<a href="javascript:document.checkoutForm.submit();" class="vm-button-correct"><span>' . $text . '</span></a>'; } else { $checkout_link_html = '';
Please can anyone help?
Thanks
Ricky
-
jazoo -
Thanks
{{ DiscussionBoard.errors[6004866].message }} -
-
drmadcow -
Thanks
{{ DiscussionBoard.errors[6016900].message }} -