Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter yeleyko

    (@yeleyko)

    Thank you very much, it did solve the problem. I put it like this:

    "/episode30","http://www.realmenrealstyle.com/mistakes-men-make-with-jewelry/",302
    "/episode3","http://www.realmenrealstyle.com/the-suit-foundations-of-a-strong-wardrobe/",302
    "/Episode30","http://www.realmenrealstyle.com/mistakes-men-make-with-jewelry/",302
    "/Episode3","http://www.realmenrealstyle.com/the-suit-foundations-of-a-strong-wardrobe/",302

    Looking for an update. Thanks again!

    Sorry ,guys, first I wrote that post above post askign for help but found the solution in the process:) Now can’t edit above post..
    here it is for those interested:

    Before:
    <a href="http://example.com/wp-content/uploads/2013/08/1.jpg"><img src="http://example.com/wp-content/uploads/2013/08/1.jpg" alt="1" width="300" height="300" class="alignnone size-medium wp-image-12257" /></a>

    With Google Analytics event tracking:

    <a href="http://example.com/wp-content/uploads/2013/08/1.jpg" onClick="_gaq.push(['_trackEvent', 'SponsorBanners', 'Sidebar3', 'Sponsor1']);"><img src="http://example.com/wp-content/uploads/2013/08/1.jpg" alt="1" width="300" height="300" class="alignnone size-medium wp-image-12257" /></a>

    The reports are available in your GAnalytics under Content/Events. Give some time for Google to catch it.

    The fact is that adding event tracking code brakes everything and images do not display after they work ok before.
    Please tell me what is wrong with my code as it doesn’t work:

    So it perfectly works this way:
    <a href="http://example.com/wp-content/uploads/2013/08/1.jpg"><img src="http://example.com/wp-content/uploads/2013/08/1.jpg" alt="1" width="300" height="300" class="alignnone size-medium wp-image-12257" /></a>

    BUT disappears when I add tracking:

    <a href="http://example.com/wp-content/uploads/2013/08/1.jpg" onClick="_gaq.push(['_trackEvent', 'SponsorBanners', 'Sidebar3', 'Sponsor1']);"><img src="http://example.com/wp-content/uploads/2013/08/1.jpg" alt="1" width="300" height="300" class="alignnone size-medium wp-image-12257" /></a>

    ___ Appreciate any help, thank you!

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