By : Josh Stauffer
There have been several times in the past that I can remember designing something and thinking that using a silhouette image would be cool. I often abandon this idea because I can never find what I am looking for and for the price that I want it… FREE.
Finding free silhouette images just became a little easier. I now have “85 Free High Quality Silhouette Sets” to choose from, thanks to Hongkiat.
By : Josh Stauffer
Tracking 404 pages with Google Analytics is extremely simple. If you have a custom 404 page to handle your 404 pages, you just need to make a simple change in your GA tracking code.
Change this line of code:
pageTracker._trackPageview();
To this:
pageTracker._trackPageview("/404.html?page=" + document.location.pathname + document.location.search + "&from=" + document.referrer);
So the final GA tracking code for your 404 page should look like this:
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-xxxxxxx-x");
pageTracker._trackPageview("/404.html?page=" + document.location.pathname + document.location.search + "&from=" + document.referrer);
} catch(err) {}
</script>
That’s all there is to it. However, for my purposes I am wanting to use this Analytics code with WordPress. I usually just insert my Analytics code before the closing </body> in my theme’s footer.php file. Since this technique for tracking 404s requires slightly different code than the standard GA tracking code, you can use PHP and the WordPress is_404() function to display the correct code. Just paste this code into your theme’s footer.php file:
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-xxxxxxx-x");
<?php if ( is_404() ) { ?>
pageTracker._trackPageview("/404.html?page=" + document.location.pathname + document.location.search + "&from=" + document.referrer);
<?php } else { ?>
pageTracker._trackPageview();
<?php } ?>
} catch(err) {}
</script>
Please remember to use your Analytics Account ID and not UA-xxxxxxx-x.
By : Josh Stauffer
Avatars are widely supported by blog platforms, web forums, and social networking sites. Simply put, an avatar is a virtual representation of someone, such as a picture. For instance, my avatar is a small image of my face. Very creative, I know.
It seems the popular trend lately is users having cartoon like avatars. When I first saw these cartoon avatars I thought “Wow, this person is very creative and artistic.” Gradually I began to see more and more of these avatars and thought again “Wait a sec here… where can I get mine!” I came across this site, Face Your Manga, where you can generate some really cool cartoon avatars quickly and easily. After you are done creating your avatar it will be emailed to you. And if you absolutely fall in love with your avatar you can pay a bit to be able to download and print a poster of your creation.
Face Your Manga is very cool and simple to use but if you are looking for something a little more life like you can try sending a picture to Cartoon Me, pay a few bucks, and get something that will blow your mind or take a look at this list of the best avatar makers put together by Mashable.
Once you have an image you would like to use for an avatar, you can create a free gravatar.com account and soon after you’ll start seeing it on gravatar enabled sites.
3