wordpress 3.4.2 update, new twitter embed feature

twitter embed not working?

yes it works, but i had to add some embed tags to get it work. just wrap the twitter link with embed tag

[ embed ]https://twitter.com/krlrnsir/status/243759811429285889[ /embed ]

 

🙂

Google analytics social tracking

if you want to track some social activities like twitter tweets and facebook likes in your google analytics you have to add some extra code. Googles plus one will be tracked automatically by google analytics.

 

just add this snippet right before your analytics codesnippet

<script src="http://analytics-api-samples.googlecode.com/svn/trunk/src/tracking/javascript/v5/social/ga_social_tracking.js"></script>

<script>
_ga.trackFacebook();
_ga.trackTwitter();
</script>

After adding the code to your page you can see the results in your Analytics account under „Traffic Sources / Social / Social Plugins //-> Social Source and Action“

Google Analytics Social Tracking Demo: link

Official Google Social Interaction Analytics page: link