Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #467633

    Hi there,

    I have a LayerSlider on the home page and would like to track clicks on it. I tried using a layer with the following html but no luck:
    <a href="http://mywebsite.com/page/" onClick="_gaq.push(['_trackEvent', 'Banner', 'Click', 'BSO','1']);" style="color:#fff;">Book Now</a>

    I searched through other threads and while I found an identical one, the images were missing and therefor not helpful.

    Thank you for your help.

    #468114

    Hey bmccumber!

    I think that should be working. Are you sure you placed it inside the HTML tab instead of the Text tab? Send us a link to your page and we’ll take a look.

    Regards,
    Elliott

    #468117

    100% sure. The page is albertabcsafety.com

    #468658

    Hey!

    I can’t see anything wrong with the code itself, is it still not tracking?

    Best regards,
    Rikard

    #469012

    Still not working

    #469134

    Hi!

    I see a “gaq” is undefined error. Are you sure you have analytics setup in the theme options?

    Best regards,
    Elliott

    #469202

    I was playing around with it earlier. Is the error still there? Where can I see it?

    #469752

    Hey!

    I recommend using Firebug add-on for Firefox.

    I see you have a google analytics plugin installed. Go ahead and deactivate that and try filling out the analytics information in Dashboard > Enfold > Theme Options.

    Regards,
    Elliott

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.