preload image preload image preload image preload image preload image preload image preload image preload image preload image
The Official iSynergy Webdesign Blog

Posts Tagged ‘blogging’

URL Shortening – Sociable Plug-In 3.5.1

Back in August, we wrote a little tutorial on how to update the Sociable WordPress plugin by Joost de Valk to use a URL shortener and add Google Tracking. We’ve updated our download for the recent release of 3.5.1.

To download the latest package: sociable-bitly-mod-3.5.1

See the original post here: URL Shortening and Tracking in WordPress: Sociable Plug-in

  • RSS
  • del.icio.us
  • Digg
  • StumbleUpon
  • Technorati
  • Sphinn
  • Google Bookmarks
  • Yahoo! Buzz
  • MisterWong
  • MySpace
  • BlinkList
  • LinkedIn
  • Mixx
  • Ping.fm
  • Propeller
  • Reddit

URL Shortening and Tracking in WordPress: Sociable Plug-in

The Sociable WordPress plug-in is a great extension and we use it here at the official iSynergy Webdesign blog, but it’s still missing a few key features.

Tracking

One key feature is the ability to track the data of how many shares are made through sociable. Using Google Analytics, it’s possible to set up event tracking as a means to keep tabs on the data.

To do this, go into the sociable plug-in folder and open the social.php file in a text editor. Go to line 703 or look for the following code (for 3.4.4):

$link .= " href=\"javascript:window.location='".urlencode($url)."';\" title=\"$description\">";

or the following (For 3.5.1 and 3.5.2):

$link .= " href=\"".$url."\" title=\"$description\">";

Add the following into the anchor tag:

 onclick=\"pageTracker._trackEvent('Sociable', 'Shared Link', '".$title."');\"

The code should look like this after (for 3.4.4):

$link .= " href=\"javascript:window.location='".urlencode($url)."';\" title=\"$description\" onclick=\"pageTracker._trackEvent('Sociable', 'Shared Link', '".$title."');\">";

Or like this (for 3.5.1 or 3.5.2):

$link .= " href=\"".$url."\" title=\"$description\" onclick=\"pageTracker._trackEvent('Sociable', 'Shared Link', '".$title."');\">";

And that’s it. As long as you have Google Analytics set up on the page already, it should start tracking events for sociable links.

Note: you can find event tracking in Google Analytics under: Content > Event Tracking

Read the rest of this entry »

  • RSS
  • del.icio.us
  • Digg
  • StumbleUpon
  • Technorati
  • Sphinn
  • Google Bookmarks
  • Yahoo! Buzz
  • MisterWong
  • MySpace
  • BlinkList
  • LinkedIn
  • Mixx
  • Ping.fm
  • Propeller
  • Reddit

Blog World Expo – Las Vegas, NV – October 2009

Blog World Expo
October 15-17, 2009
Las Vegas Convention Center
http://www.blogworldexpo.com/

The 2009 BlogWorld & New Media Expo will take place at the Las Vegas Convention Center, beginning with the exclusive “Social Media Business Summit” conference on October 15th and continuing with the BlogWorld & New Media Expo and Conference October 16th-17th. This is first and only industry-wide tradeshow, conference, and media event dedicated to promoting the dynamic industry of new media including: Blogging, Podcasting, Social Media, Online Video, Music, TV, Radio, Gaming, Entertainment and Communities.

Sign up before July 1 to save, use TWEET20 as your coupon code for 20% off.

  • RSS
  • del.icio.us
  • Digg
  • StumbleUpon
  • Technorati
  • Sphinn
  • Google Bookmarks
  • Yahoo! Buzz
  • MisterWong
  • MySpace
  • BlinkList
  • LinkedIn
  • Mixx
  • Ping.fm
  • Propeller
  • Reddit