Tuesday, 22 April 2014

Track The People Who Print Webpages From Your Site

You may make your website printed friends but you don’t know people printing your web pages. If people print, do you know how frequently the webpages people print from your site and what kind of content the print very often?
To print a webpage there are number of ways.
To send current webpage to the print, use print menu which is in option or ctrl+p keyword short cut. If your is Mac then command+p. Some webpages have direct button to print so that we can print without any problem.
               We have to tract and capture the people who are taking prints of our webpages. For this Google analytics will help us.
Google Analytics tract printed web pages:
Add invisible 1x1 tracking image to website of printed version of the webpages. When anyone takes the printout then the tracking image will get download and notes complete information about who is printing the webpages and what kind of content they are frequently printing will be recorded to Google analytics.
It is easy implementation. A code will be available, which we need to paste it about the </body> tag in the website template. If you site is a wordpress site then you need to paste that code in the footer.php file. But you need to make a change in the code that is instead of the UA-1234-56 you have to write the Google Analytics profile ID.
<script>
Var googleAccount=”UA-1234-56”;
function s4()
{
return Math.floor((1+Math.room())*0x10000).toString(16).substring(1);
}
function guide()
{
return s4()+s4()+’-‘+s4+’-‘+s4+’-‘+s4+’-‘+s4+s4+s4;
}
function(){
var 
GIF=https://ssl.googleanalytics.com/collect1&t=event+”&ec=print&tid=”googleAccountID+”&cid=”+guide()+”&z=”(Math.round((newDate()).getTime()/1000)).toString()+”&ea=”+encodeURLComponent(document.title)+”&el=”encodeURLComponent(document.location.pathname);
var rule=”body:after{content:url(“+GIF+”)}”;
var head=document.head||document.getElementsByTagName(‘head’)[0];
var css=document.createElement(‘style’);
if(css && head){
css.setAttribute(“type”, “text/css”);
css.SetAttribute(“media”,”print”);
if(css.styleSheet){ //For IE
css.styleSheet.cssText=rule;
}
else
{
css.appendChild(document.createTextNode(rule));
}
Head.appendChild(css);
}
}) ();
</script>
After adding the tracking Java script code into your webpage, then log in to Google Analytics dashboard. Then goto real time and click on event then choose event for the category. The alternative method is goto behavior and then events reports.



Thursday, 27 March 2014

Things To Consider For New Word Press Theme

From Last few years, Word press ecosystem has improved and grown exponentially. The word press themes which are coming from market places and independent developers have no ending at all. How do you choose when there are many choice of themes are available. Before picking the themes, do typography and design are ok or we need to think of any other things?




Tips to help you in choosing Word Press Theme
For any word press theme Design is the main important factor but only factor. Every Word press developer will have a website to evaluate all the features of their word press theme and with the help of this site their theme can show the demo whether will it suitable to your site or not. 

How often the theme must be updated?
Try to get the themes which have new features developed by the developers and its different bugs which are fixed. Don't ever goto the themes which are not updated from 6 months or not compatible with the recent version of the word press.

Check whether the speed of the theme is enough or not  
Perform a speed test by taking the live URL of the word Press theme. To analyse the performance of the the websites of word press, Google tool is the best one. The page score with higher 70 should be preferred.

How to check whether the theme is responsive?
Responsive designs must be used in the new word press. When you confirm this then only you try to purchase the new word press theme. To test the responsiveness of the word press theme, as you resize the browser, try to know how menus, search boxes, inline tables are working. 

Check whether the theme is Customizable
To make minor changes in the word press, there is no necessary to consult the programmer as we can edit word press theme. Without having fiddle with CSS, A theme should have font family and even different colors. 

Does the code is Logic?
The structure information inside the webpage can be understandable by HTML5. which is a markup language helps the search engine to understand. You can look for the semantic tags like section, footer, article etc by viewing source code. To know the semantics of the webpage of word press we can even use W3.org tool. 

Code is the part of the theme
Count number of script tags by opening wordpress themes HTML source code. Exploring to other themes is a good idea when you find half dozen of script tags in the source code of a Theme.

Try to know whether the code is intelligent
To add Visual features like star rating, syntax highlighting, animated transistions etc are mostly developed by the wordpress developers using JQuery Plugins and Java script. Therefore, the weight of the page will increase. The Java script which is conditionally added is a Good Theme. The pages which have slider, the slide code should be included on those pages but not on every page.

Whether the theme have filters and hooks
While installing  a new word press theme, Without changing anything in the Parents theme, you create a child theme. Without over writing any changes, we can upgrade the theme when the web developer releases new version of the same theme. Without touching php files of Parents theme and child theme. it is easier to include your own code to the title or you can add hook at the title to accept the part of the text.

Check any short codes included
In you word press blog posts, we can easily include the content which you have formatted and with minimal markup at pages using short codes. Through external plugins we can add short codes.  For adding Multi column grids, testimonials, videos and maps to in theme short codes will be helpful certainly.

Major browsers which support the word press theme
According to the all desktop browsers and popular mobiles, the wordpress website look and work consistent. To know whether the theme is compatible or not, online tool Browserstack and Browsershots.

Try to find whether the theme is original or not
We can easily find dozens of themes in the websites like Quartz and medium. These 2 are the clones of the websites.