|
Project Information
Members
Featured
Downloads
|
Fathomer is a highly customizable tool that detects if a visitor to your site is a Twitter user and shows a badge, or ad, with your message and a link to your Twitter account. The idea behind Fathomer is to directly target users who are already Twitter members. The thinking behind this is that existing users are much, much more likely to follow you than people who have never encountered Twitter before. It works by detecting if a user has visited the account settings page on Twitter, which is a URL you can only access once you have been logged in to the service. The user does not have to enter any personal account information, nor do you. Its easy to install on your site, simply by adding a small piece of javascript somewhere on your page. It is possible to customize Fathomer in the following ways:
REQUIREMENTS AND NOTICES: Fathomer is written in jQuery. If your site already uses the jQuery library, it works just fine. However, if Fathomer doesn't find jQuery, it will dynamically load it into the browser. You have to configure your Twitter username in the script. There's no way to guess, so if you don't want to publish your Twitter account then why are you using Fathomer? HOW TO USE Paste this code into your page. Customize the different parameters by uncommenting them and modifying them. <script type="text/javascript" src="http://fathomer.googlecode.com/files/fathomer0.6-min.js"></script>
<script type="text/javascript">
// Required. Your account name.
fathomer.account = 'yourAccountName';
// Optional. The message that is displayed.
//fathomer.message = 'Sample override message.';
// Optional. Can specify a specific element to attach to. ID, class, or css selector
//fathomer.target = '';
// Optional. Turn off default css if you have your own styles.
//fathomer.loadcss = false;
// Optional. Can be changed to a different Twitter url to check the visited history state.
//fathomer.urlcheck = '';
// Optional. If a custom html structure is needed, it can be loaded using standard jquery methods in altbadge. Properties are accessed/set via fathomer.var, e.g. fathomer.message.
//fathomer.altbadge = function(){};
fathomer.init();
</script>
HOW IT BEHAVES Here's the matrix of rules that happen that determine if Fathomer shows or not. When a user closes the badge, a cookie is set so as not to show it again.
|