• Resolved MrAnalogy

    (@mranalogy)


    Is there an easy way to execute some .js for google analytics tracking when a button is clicked?

    Or perhaps the Yost SEO pluggin is a better way to do that?

Viewing 1 replies (of 1 total)
  • Plugin Contributor alexgso

    (@alexgso)

    Hi mranalogy,

    The easiest way would be with the SiteOrigin Button widget which is added by the SiteOrigin Widgets Bundle. That widget has a dedicated onclick field which allows you to add JavaScirpt using that field.

Viewing 1 replies (of 1 total)

The topic ‘Add javascript to button “click” event?’ is closed to new replies.