WordPress.org

Plugin Directory

Changeset 913998


Ignore:
Timestamp:
05/14/14 16:40:06 (4 years ago)
Author:
project107
Message:

Modified/updated readme

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ga-link-tracker/trunk/readme.txt

    r913995 r913998  
    1818 
    1919Example of code added to properly formed URLs in main post content: 
    20 `onclick="javascript:_gaq.push(['_trackEvent', 'Links', 'PageID: /my_blog/2013/04/my_cool_post/ ', 'http://www.myurl.com/my_blog/my_link.html']);"` 
     20 
     21`<a onclick="ga('send', 'event', 'Links', 'click', 'http://twitter.com/chris_dickow');" href="http://twitter.com/chris_dickow">@chris_dickow</a>` 
    2122 
    2223The above example assumes the href of the link is: `http://www.myurl.com/my_blog/my_link.html` 
Note: See TracChangeset for help on using the changeset viewer.