background preloader

How to Track Tweets, Facebook Likes and More with Google Analytics

How to Track Tweets, Facebook Likes and More with Google Analytics
Don’t you wish you could track the traffic impact of Twitter, Facebook and Google+ using Google Analytics? Well now you can. Keep reading to learn how. Google’s getting social in a big way. Google has been quite busy lately, rolling out Google+ (Google’s social network) to a limited audience, the Google +1 button (a feature similar to Facebook’s Like button), a new Google Analytics interface and Google Analytics Social Interaction Tracking. Google Analytics Social Interaction Tracking This new Analytics feature allows you to track social interactions on your website, your blog or on your Facebook fan page. In this article, I will guide you step-by-step in adding this powerful new tracking feature to your Facebook tabs or web pages. NOTE: Adding Google Analytics Social Tracking requires access to and modification of your web page files. What is currently supported by Google’s Social Tracking As of this writing, my testing shows that the following social buttons are supported: Troubleshooting Related:  HOW TO CS

Dive Into HTML5 Ubuntu Natty Narwhal (Ubuntu 11.04) [ISPConfig 2] Version 1.0 Author: Falko Timme <ft [at] falkotimme [dot] com> Follow me on Twitter Last edited 05/02/2011 This tutorial shows how to set up an Ubuntu Natty Narwhal (Ubuntu 11.04) server that offers all services needed by ISPs and hosters: Apache web server (SSL-capable), Postfix mail server with SMTP-AUTH and TLS, BIND DNS server, Proftpd FTP server, MySQL server, Courier POP3/IMAP, Quota, Firewall, etc. In the end you should have a system that works reliably, and if you like you can install the free webhosting control panel ISPConfig 2 (i.e., ISPConfig runs on it out of the box). I will use the following software: Web Server: Apache 2.2.17 with PHP 5.3.5, Python, Ruby, and WebDAV Database Server: MySQL 5.1.54 Mail Server: Postfix DNS Server: BIND9 FTP Server: proftpd POP3/IMAP: I will use Maildir format and therefore install Courier-POP3/Courier-IMAP. Please note that this setup does not work for ISPConfig 3! 1 Requirements To install such a system you will need the following:

Installing Apache2 With PHP5 And MySQL Support On Ubuntu 11.04 (LAMP Version 1.0 Author: Falko Timme <ft [at] falkotimme [dot] com> Follow me on Twitter Last edited 05/05/2011 LAMP is short for Linux, Apache, MySQL, PHP. This tutorial shows how you can install an Apache2 webserver on an Ubuntu 11.04 server with PHP5 support (mod_php) and MySQL support. I do not issue any guarantee that this will work for you! 1 Preliminary Note In this tutorial I use the hostname server1.example.com with the IP address 192.168.0.100. I'm running all the steps in this tutorial with root privileges, so make sure you're logged in as root: sudo su 2 Installing MySQL 5 First we install MySQL 5 like this: apt-get install mysql-server mysql-client You will be asked to provide a password for the MySQL root user - this password is valid for the user root@localhost as well as root@server1.example.com, so we don't have to specify a MySQL root password manually later on: 3 Installing Apache2 Apache2 is available as an Ubuntu package, therefore we can install it like this: 4 Installing PHP5

Setting Up A Spam-Proof Home Email Server (The Somewhat Alternate Way) (Debian Squeeze Introduction Email spam is a huge problem. I have found for myself quite a simple solution, however it'll take some time to "migrate" completely over to it. The solution is to create a unique email address everytime I have to give an email address to someone else or to some website to sign up. For people I use a format like that: "email.john.doe@MYDOMAIN.COM". Because I generate unique email addresses for every contact, I can easily find out where my email address got leaked and then I can easily remove it. This howto will set up a full functioning email server with according scripts to make easy email management. Summary In this howto I use Debian Squeeze as server. A short summary of what is being done in this howto is like this: Obtaining a domain name Taking care of a dynamic ip - if necessary Taking care of the dns and routing Setting up postfix Setting up procmail Setting up dovecot Setting up webserver for email address management Setting up Thunderbird with addon Credits Dyn.

Netbios Hacking Almost half of the Internet users across the globe use ADSL routers/modems to connect to the Internet. However, most of them are unaware of the fact that it has a serious vulnerability in it which can easily be exploited by anyone with a basic knowledge of computer. In this post, I will show you how to hack an Ethernet ADSL router by exploiting the common vulnerability that lies in it. Every router comes with a username and password using which it is possible to gain access to the router settings and configure the device. This makes it possible for the attackers to gain unauthorized access to the router and modify its settings using a common set of default usernames and passwords. Here is a detailed information on how to exploit the vulnerability of an ADSL router: Go to whatismyipaddress.com. Suppose your IP is 117.192.195.101, you can set the range something as 117.192.194.0 to 117.192.200.255 so that there exists at least 200-300 IP addresses in the range. Now click on Start. Warning!

Easiest and fastest way to host Flask Python : flask A python package template | ionel's codelog I've been sitting on this for a while, it's time to announce it as I don't know what I can improve in it. It's a python library template with all the nuts and bolts included, designed to address packaging issues and pitfalls. Travis, Coveralls, AppVeyor, Pytest, Tox, coverage, bumpversion, isort are preconfigured. No need to futz around for 3 hours trying to figure out what's wrong with your coverage or test settings every time you create a library anymore. It also includes a test grid configurator, along the lines of what I previously wrote about, but better, with declarative configuration. This template errs on the side of "too much stuff" - it's easier to remove stuff you don't need than figuring out how to write it properly when you need it. Why it this good ? I created this because every time I had the same problems: The test grid configurator is incredibly useful in situations where you want to test that your package works properly everywhere, in every configuration. Where & how ?

What is the best practice for granting special rights to some users of a web site? : flask Home surveillance and motion detection with the Raspberry Pi, Python, OpenCV, and Dropbox Wow, last week’s blog post on building a basic motion detection system was awesome. It was a lot of fun to write and the feedback I got from readers like yourself made it well worth the effort to put together. For those of you who are just tuning it, last week’s post on building a motion detection system using computer vision was motivated by my friend James sneaking into my refrigerator and stealing one of my last coveted beers. And while I couldn’t prove it was him, I wanted to see if it was possible to use computer vision and a Raspberry Pi to catch him in the act if he tried to steal one of my beers again. And as you’ll see by the end of this post, the home surveillance and motion detection system we are about to build is not only cool and simple, but it’s also quite powerful for this particular goal. Today we are going to extend our basic motion detection approach and: We’ll be looking at a lot of code into this post, so be prepared. Our JSON configuration file Integrating with Dropbox

donnemartin/interactive-coding-challenges

Related: