Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author livemesh

    (@livemesh)

    This is at present not possible with standard header of the hero image unless you extend the includes/widgets/lsow-hero-image-widget with your own PHP file.

    I suggest you use a custom header for the hero image (you can copy the heading content HTML generated by the plugin for the standard header) which has the onclick attribute set for the button part of the standard heading.

    Thread Starter alexandreinka

    (@alexandreinka)

    How can I do that?

    Or is there a way to identify the hero header button by some element ID?
    Then I can copy/paste a custom js that would set the onclick?

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Hero Header button: Google Analytics js’ is closed to new replies.