WordPress.org

Support

Support » Plugins and Hacks » Ads by datafeedr.com » Could you add the clicks or CTR?

Could you add the clicks or CTR?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author datafeedr

    @datafeedrcom

    Hi,

    No, I won’t be adding that. If you need to track outbound clicks, there’s plenty of free scripts out there.

    I suggest Event Tracking from Google Analytics. https://developers.google.com/analytics/devguides/collection/gajs/eventTrackerGuide

    That will give you WAY more data than my plugin will… also, no need to reinvent the wheel.

    Eric

    It would be nice if outbound clicks were apart of this plugin. The Google Event Tracking is over my head. Other than that I love this plugin.

    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!

    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.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Could you add the clicks or CTR?’ is closed to new replies.
Skip to toolbar