The theme uses boxes, one of them is for price plans. The link to purchase the price plan is a button. The code that creates the button is:
PHP Code:
( '' != $button_text ? do_shortcode( "[et_lb_button size='medium' align='center' url='" . esc_url( $button_url ) . "' color='{$button_color}']{$button_text}[/et_lb_button]" ) : '' ) .
This code outputs a linked button with the link looking like this:
PHP Code:
<a href="http://businesswebsitedev.com/clients/cart.php?a=add&pid=1">
I need you to edit the code so that it outputs a linked button with the link looking like this:
PHP Code:
<a href="http://businesswebsitedev.com/clients/cart.php?a=add&pid=1" onclick="_gaq.push(['_link', 'http://couponcodeelite.com']);return false;">
I am using google analytics and need the onclick function added to the link so that it works properly. The problem is that I do not know how to edit the coding so that it will output the link like I have shown you above.
Thank you
Bookmarks