Monday, 21 September 2015

ON-PAGE-SEO & Off page seo TIPS & TRICKS

(1)Title tag:

HTML Title Tag Length

There are no hard and fast rules regarding the length of title and meta description tags. However the recommended length of title is somewhere between 65 to 70 characters including spaces, because more than this likely to be truncated in the search results. So try to keep the title length to 65 characters including spaces for best possible rendering. You can go up to 69 characters in total, but try not to exceed this.

<title> keyword text </title>

(2)HTML Meta Description Tag Length

The suggested length of meta description is somewhere between 155 to 160 characters including spaces. You can even use fewer characters and it works great if your descriptions looks appealing and read better but don't try to create lengthy descriptions or description with more than 160 characters.

HTML lets you specify metadata - additional important information about a DOCUMENT  in a variety of ways. The META elements can be used to include name/value pairs describing properties of the HTML document, such as author, expiry date, a list of keyword, document author etc.
The <meta> tag is used to provide such additional information. This tag is an empty element and so does not have a closing tag but it carries information within its attributes.
You can include one or more meta tags in your document based on what information you want to keep in your document but in general, meta tags do not impact physical appearance of the document so from appearance point of view, it does not matter if you include them or not.

<meta name="description" content="Learning about Meta Tags." />

(3)Meta Keywords
What is a   meta   keyword  ?
Meta keywords are no longer used by Google or  Bing  to determine a site's ranking (relevance), so don't overthink meta keywords. Smaller search engines still might use them in their algorithm, so we recommend adding them anyway. They are invisible to site visitors both on your site on in the search engines. 
How to create meta  keywords
The meta keywords should follow these guidelines:
·                     The meta keywords should be the same as the tags you're using in the article. The image below shows that I'm using the article's tags as its meta keywords.
·                     Separate the keywords with commas.
·                     Protip: While beneficial to add to your website pages and blog posts, meta keywords don't hold as much weight as they once did for on-page SEO

<meta name="keywords" content="HTML, Meta Tags, Metadata" />

Example for meta tags & title we keep it in the <head> ------ </head> :

<!DOCTYPE html>
<title>Meta Tags Example</title>
<meta name="keywords" content="HTML, Meta Tags, Metadata" />
<meta name="description" content="Learning about Meta Tags." />
<p>Hello HTML5!</p>
(2)The Alt Tag/Attribute  inside image <img> tag :
It’s ok if you don’t know what an Alt tag is, let me explain.
The alt attribute is part of the image HTML tag.
Here is an example
<img   alt=”keyword text   src=”” >

(3) Internal Links USING  <a  href="  "> tag:

Internal Links are hyperlinks that point at (target) the same domain as the domain that the link exists on (source). In layman's terms, an internal link is one that points to another page on the same website.
Code Sample
<a href="" title="Keyword Text">Keyword Text</a>
Optimal Format
Use descriptive keywords in anchor text that give a sense of the topic or keywords the source page is trying to target.

What is an Internal Link?

Internal links are links that go from one page on a domain to a different page on the same domain. They are commonly used in main navigation.
These type of links are useful for three reasons:
  • They allow users to navigate a website.
  • They help establish information hierarchy for the given website.
  • They help spread link juice (ranking power) around websites.

Anchor Text

Anchor Text is the visible, clickable text in a hyperlink. In modern browsers, it is often blue and underlined, such as this link to the moz homepage
Code Sample
<a href="">Example Anchor Text</a>
Optimal Format
SEO-friendly anchor text is succinct and relevant to the target page.

What is Anchor Text?

Anchor text is the visible characters and words that hyperlinks display when linking to another document or location on the web. In the phrase "CNN is a good source of news, but I actually prefer the BBC's take on events," two unique pieces of anchor text exist for two different links: "CNN" is the anchor text pointing to, while “the BBC's take on events” points to
Search engines use this text to help determine the subject matter of the linked-to document. In the example above, the links would tell the search engine that when users search for "CNN", thinks that is a relevant site for the term "CNN" and that is relevant to “the BBC's take on events.” If many sites think that a particular page is relevant for a given set of terms, that page can manage to rank well even if the terms NEVER appear in the text itself.


(4)External Links

External Links are hyperlinks that point at (target) any domain other than the domain the link exists on (source).
In layman's terms, if another website links to you, this is considered an external link to your site. Similarly, if you link out to another website, this is also considered an external link.
Code Sample
<a href="" title="KEYWORD  text">Link Anchor Text</a>
Optimal Format
Use descriptive keywords in anchor text that reflect the same topic or keywords the target page is trying to target. It's not necessary to use the same keyword text every time—in fact, doing so can trigger spam detectors. Instead, strive for a variety of anchor text that enhances context and usability for your users—and for search engines, as well.


What is an External Link?

An external link is a link that points at an external domain.
  • Top SEOs believe that external links are the most important source of ranking power.
  • External links pass "link juice" (ranking power) differently than internal links because the search engines consider them as third-party votes.
  • Top SEOs don't believe that the "title" link attribute is used for rankings purposes.

(5)URL   STRUCTURE   of   a   website   for   SEO   :

One of the simplest methods to improve your search engine optimization is to look at the way you name your files. Before writing this tutorial, we did a lot of research on filenames and found that search engines like Google give too much importance to filenames. You should think what you want to put in your web page and then give a relevant file name to this page.
Just try giving any keyword in Google search engine and you will find file names highlighted with the keyword you have given. It proves that your file name should have appropriate keywords.

File Naming Style

The filename should preferably be short and descriptive.
It is always good to use same keywords in a filename as well as in page title.
Do not use filenames such as service.htm or job.htm as they are generic. Use actual service name in your file name such as computer-repairing.htm, which is more specific.
Do not use more than 3–4 words in file names.
Separate the keywords with hyphens rather than underscores.
Try to use 2 keywords if possible.

File Name Example

Listed below are some filenames which would be ideal from the users’ point of view as well as SEO.




Notice that the keywords are separated by hyphens rather than underscores. Google sees good filenames as follows:
seo-relevant-filename as seo relevant filename(good) SEO

(b)URL  Sub-Directory   Name  :

From Search Engine Optimization point of view, URL sub-directory name hardly matters. You can try giving any keyword in any search, and you will not find any sub-directory name matching with your keywords. But from the user’s point of view, you should keep an abbreviated sub-directory name.

Guru Mantra

Keep the following points in mind before naming your files:

Keep the web page filename short, simple, descriptive, and relevant to the page content.
Try to use a maximum of 3-4 keywords in your filename, and these keywords should appear on your web page title as well.
Separate all keywords with hyphen rather than with underscore.
Keep your sub-directories name as short as possible.
Restrict the file size to less than 101K because Google chops almost everything above that.
For example:

for  example :

(7)how to submit url to google search Engine for Indexing in google:

how to use google webmaster tools for google indexing & adding property & adding sitemap.xml files:

(9)how-to-track-your-website-using-google-analytic & how to add tracking code to your website :

-------------------------------------------------Part 2--------------------------------------------------------
Off Page SEO
Unlike On- page SEO, off-page SEO refers to activities outside the boundaries of the webpage. The most important are:
  • Link Building  (by Blogging on &  & much more techniuqes)
  • Social Media (facebook page,google plus page,twitter page ,youtube channel etc)
  • Social bookmarking.
We will look at these in detail below but first let me explain about the importance and benefits of off-page SEO.
Why is Off-Page SEO important?
Search engines have been trying for decades to find a way to return the best results to the searcher. To do that, they take into account the on-site SEO factors (described above), some other quality factors and off-page SEO.
Off page SEO gives them a very good indication on how the World (other websites and users) perceive the particular website. A web site that is useful is more likely to have references (links) from other websites; it is more likely to have mentions on social media (Facebook likes, tweets, Pins, +1’s etc.) and it is more likely to be bookmarked and shared among communities of like-minded users.
What are the benefits of ‘off-site SEO’ to website owners?
A successful off-site SEO strategy will generate the following benefits to website owners:
Increase in rankings – The website will rank higher in the SERPs and this also means more traffic.
Increase in PageRank – Page rank is a number between 0 and 10 which indicates the importance of a website in the eyes of Google. It is the system invented by Larry Page (one of Google’s founders) and one of the reasons that Google was so successful in showing the most relevant results to the searcher.  Page rank today is only one out of the 250 factors that Google is using to rank websites.
More exposure – Higher rankings also means greater exposure because when a website ranks in the top positions: it gets more links, more visits and more social media mentions. It’s like a never ending sequence of events where one thing leads to another and then to another etc.

Link Building :

Link building is the most popular off-Page SEO method.  Basically by building external links to your website, you are trying to gather as many ‘votes’ as you can so that you can bypass your competitors and rank higher. For example if someone likes this article and references it from his/her website or blog, then this is like telling search engines that this page has good information.
Over the years webmasters were trying to build links to their websites so that they rank higher and they ‘invented’ a number of ways to increase link count. The most popular ways were:
Blog Directories – something like yellow pages but each entry was a link back to a website
Forum Signatures – Many people where commenting on forums for the sole purpose of getting a link back to their website (they included the links in their signature)
Comment link – The same concept as forum signatures where you comment on some other website or blog in order to get a link back. Even worse, instead of using your real name you could use keywords so instead of writing ‘comment by Alex Chris’,  you wrote ‘comment by How to lose weight’ or anything similar.
Article Directories – By publishing your articles on an article directory you could get a link (or 2) back to your website. Some article directories accepted only unique content while other directories accepted anything from spin articles to already published articles.
Shared Content Directories – Websites like hubpages and infobarrel allowed you to publish content and in return you could add a couple of links pointing to your websites.
Link exchange schemes – Instead of trying to publish content you could get in touch with other webmasters and exchange links. In other words I could link your website from mine and you could do the same. In some cases you could even do more complicated exchanges by doing a 3-way link, in other words I link to your website from my website but you link to my website from a different website.
Notice that I used the past tense to describe all the above methods because not only they do not work today, you should not even try them because you are more likely to get a penalty rather than an increase in rankings (especially when it comes to Google).
The birth of black hat SEO
Link building was an easy way to manipulate the search engine algorithms and many spammers tried to take advantage of this by building link networks which gradually lead to the creation of what is generally known as black hat SEO.
Google has become very intelligent in recognizing black hat techniques and with the introduction of Panda and Penguin they have managed to solve the problem and protect their search engine from spammers. Of course there are still exceptions but they are doing advances in every new release of their ranking algorithm and very soon none of these tricks will work.
To “follow” or “nofollow”
In addition to the above and in order to give webmasters a way to link to a website without passing any ‘link juice’ (for example in the case of ads), search engines introduced what is known as the “nofollow” link. This is a special tag you can add to a link (for example: “<a href= rel=”nofollow”>Some Site</a>) that tells search engines not to count the particular link as a ‘vote’ to the referenced website.
This was done so that you can link other websites from yours without taking the risk of being caught for selling or exchanging links.
As a rule of thumb, you should add the no follow tag on all your external links (within your pages) that go to websites you cannot trust 100%, to ALL your comment links, to ALL your blog roll links and to ALL banner ad links.
What is a good link?
So, if the above links are not useful, what is a good link?
First you should understand that link building it’s not only a matter of quantity but it is a matter of quality as well. In other words it no longer matters how many links are pointing to your website but it is more important from where these links are coming. For example a link from a normal blog does not have the same weight as a link from New York Times or a link from Matt Cutts blog (head of Google Quality team) is not the same as a link from my blog.
The obvious question is how to you get these links?
If you ask Google they will tell you that any links pointing to your website has to be natural links. Natural links are exactly what their name implies. A website owner or blogger likes another website or blog and naturally adds a link to his/her blog.
Does this happen in reality or is it another myth?
It certainly does but you have to try really hard to get to this point. Take for example this blog, there are many incoming links because other webmasters find the content interesting and I also link to other sites in my articles because I find their content interesting and want to inform my readers about it. This is natural link building where a link has more value from the readers’ point of you rather than the search engine point of view. The best way to attract links is to publish content (text, images, videos, infographics etc) that other people would like to link.
If natural links are what I have just described above, in which category do all other links belong?
They belong in the category of artificial links and by adopting such techniques you increase the risk for getting a manual or algorithmic penalty by Google.
Is guest blogging a valid way to build links?
Guest posting can be a valid way to get links back to your website provided that you don’t do it just for links and that you don’t overdo it. You can read these 2 articles to get a complete picture as to when to accept guest posts on your blog and when to guest post on other blogs.

Social Media : (facebook page,google plus page,twitter page , youtube channel etc)

Social media is part of ‘off-site SEO’ and if you think about it, it’s also a form of link building. It should be noted that almost all of the links you get from social media sites are “nofollow” but this does not mean that they do not have any value.
Social Media mentions are gaining ground as ranking factors and proper configuration of social media profiles can also boost SEO.

Social Bookmarking:

Social bookmarking is not as popular as it used to be in the past but it is still a good way to get traffic to your website. Depending on your niche you can find web sites like,,, and (to name a few) to promote your content.

Off-page SEO is as important as on-site SEO. If you want your SEO campaigns to be successful you have to do both. When thinking about link building don’t take the easy way, but try to get links from hard-to-get places. The more difficult is to get a link, the more value it has.
In the past you could easily get thousands of links and rank higher but nowadays you have to do more than that.  My advice is to forget about link building all together and put all your efforts in making a great website, promote it correctly and everything else will follow.

how-to-track-your-website-using-google-analytic & how to add tracking code to your website

how to setup your Google Analytics Tracking Code to your Website

how to track url using utm code in Google Analytics

Google analytics code setup :

(1)first make login using gmail id on following url:

(2)after login you will see:

(3)then click on  SIGN UP BUTTON   on right hand side to make an account..

(4)then you  will enter all details  for sign up:

Account Name required
Accounts are the top-most level of organization and contain one or more tracking IDs.

Setting up your property

Website Name required
Website URL required
Industry Category

Reporting Time Zone

Data Sharing Settings

Data you collect, process, and store using Google Analytics ("Google Analytics data") is secure and kept confidential. This data is used to provide and maintain the Google Analytics service, to perform system critical operations, and in rare exceptions for legal reasons as described in our privacy policy.

(4)after filling above details click on  GET TRACKING CODE  you will see  :




(7)now you can see how many visitor are on your website and on which page they are:

step 1:

click on  Reporting

step 2: then click on  Real time on left hand side & under Real time click on   Audience -->Overview:

above shows then one audience is right now on website..

Google Analytics  Basic Terms:

The basics
Page views

This is the number of times users view a page that has the Google Analytics tracking code inserted. This covers all page views; so if a user refreshes the page, or navigates away from the page and returns, these are all counted as additional page views.


Visits are the individual periods of time (also known as “sessions”) that visitors spend on your site. A visit is ended either after 30 minutes of inactivity or if the user leaves your site for more than 30 minutes (if a user leaves your site and returns within 30 minutes, this is counted as part of the original visit).

Unique Pageviews

The unique pageview number counts all the times the page was viewed in an individual session as a single event; so whether a visitor viewed the page once in their visit or five times, the number of unique pageviews will be recorded as just one.

Unique Visitors

When a user visits your site for the first time, a new visit and unique visitor are both recorded. If the same user returns to the site after their initial visit, only a new visit is added.

Google Analytics is able to recognise whether a user has been to the site before through the use of 
cookies. This means that if a user deletes their cookies, or accesses the site through a different browser or machine, then they may be mistakenly added as a new unique visitor; for this reason Google Analytics tends to place more prominence on the visits data.
User  behaviour
New vs. Returning Visitors

New visitors are those users that have not visited your site before the time period specified, while returning visitors will have made at least one visit to at least one page on your site previously. This is again determined by whether Google Analytics can detect cookies, which indicate previous visits. If Google cannot detect a cookie one will be set for future recording, unless the user has disabled cookies in their personal browser preferences.


Segments enable you to analyse your data in more detail, by filtering the results to show only information for certain kinds of traffic. You can also use segments to compare results between groups of visitors; for example new vs. returning, or paid vs. organic search traffic. Google also allows you to set up custom segments to for even more granular analysis.

Landing Page

The page your user begins their visit to your site on; quite simply, how they ‘land’ on your site.

Bounce Rate

Bounce rate is given as a percentage, and represents the number of visits when users leave your site after just one page; regardless of how they got to your site or how long they stayed on that page.

Visitors Flow

The visitors flow report shows how users moved through your site, from landing page to exit page. Visitors flow reports can be customised to show additional detail, such as the geographic location of users or the traffic source, and also shows how many people exited at each stage of interaction.


Traffic Sources: Direct vs. Referral

Traffic sources show you how users got to your site, and in Google Analytics are split into direct and referral traffic.

Direct traffic is made up of visitors that type a URL directly into the address bar, select an auto-complete option when typing the URL, or click on a bookmark to get to your site (however, instances when Google Analytics cannot determine a source also get automatically assigned as direct).

Referral traffic is when a user has landed on your site by clicking on a link from somewhere else; this could be another site, a social media profile, or a search engine.

Search Traffic: Organic vs. Paid

Google Analytics also lets you see what percentage of your traffic came from search engines, and this is further broken down into organic and paid search.

Organic search shows the users who came to your site by clicking on the organic links on the search engine results page (SERP); these results appear below that adverts and are determined by how well the page is optimised for search engines.

The paid search results show users who clicked on one of your paid search engine adverts; these typically appear at the top and side of the SERPs and are managed via an advertising account such as Google AdWords or Bing Ads.

Custom information:


Events can be set up within Google Analytics to help you measure activity that may not otherwise be recorded by the tracking code; these may include when a user plays a video, downloads a factsheet, uses an embedded tool, or other on-site interactions.


For critical site objectives, such as getting users to fill in a contact form, complete an online transaction or spend a certain amount of time engaging with your site, goals can be set up to monitor the conversion rate of these activities. There are four types of goals available in Google Analytics: URL Destination, Visit Duration, Pages (or Screens)/Visit and goals tied to existing events. You can also assign a monetary value to each goal completion, to help determine the return on investment from your website or application.

Setting Up Event Tracking
Before viewing event tracking results in your reports, you must set up event tracking on your site:
  1. Set up tracking on your site. Make sure you have set up tracking for your website. For information on setting this up, see the Tracking Basics guide.
  2. Call the _trackEvent() method in the source code of a page object, widget, or video. 
    The signature of the _trackEvent() method is as follows:
    _trackEvent(category, action, opt_label, opt_value, opt_noninteraction)
    • category (required)
      The name you supply for the group of objects you want to track.
    • action (required)
      A string that is uniquely paired with each category, and commonly used to define the type of user interaction for the web object.
    • opt_label (optional)
      An optional string to provide additional dimensions to the event data.
    • opt_value (optional)
      An integer that you can use to provide numerical data about the user event.
    • opt_noninteraction (optional)
      A boolean that when set to true, indicates that the event hit will not be used in bounce-rate calculation.
  3. View the reports. Once event tracking has been set up and working on your site for a day, go to the Content section of the reports and view Event Tracking.

<a href="index.html" onClick="ga('send', 'event', { eventCategory: 'affiliate', eventAction: 'click', eventLabel: 'myaffilitate'});">Free trial from Netflix</a>

you can generate   Event Tracking code  from :

(1)Select  Your Property  :

(2)then click on Goals & you will get following Screen:

(3)now  Click on New Goal & then you will get following screen   :

Enter your  Goal Name  and select  Goal type as  "Event"

(4)click on continue & then you will see following screen :

Enter   Goal Details:

enter your CATEGORY=enquiry
enter your Action= click
 enter you Label=contactform

and click on save  ...

Now  you have create Event goal now  turn to create  Code for this Event  Goal:

just  see  my this code make ready your event goal code according Goal Details which you created  :

<a  href="" onClick="ga('send', 'event', { eventCategory: 'enquiry', eventAction: 'click', eventLabel: 'contactform'});"> to know More Contact us </a>

In above code you  can see  href = "web page url which you want to link after click event "

see code example when you use this code to your web page:

<!----event goal tracking --code-->
<a  href="" onClick="ga('send', 'event', { eventCategory: 'enquiry', eventAction: 'click', eventLabel: 'contactform'});"> to know More Contact us </a>

<!----event end code--->


How to track facebook post  & twitter tweet  using google analytics:

go to url :

step  1: enter your all details as givne below image .

utm_source =facebook
utm_term=php training in virar

step 2:  then  you will get in  2)   code  for  tracking that is  given below example:

 step 3: now this url is too long  so  use  to short your url :

  enter your   copied  url  as above given and click on  SHORTEN URL

step 4: Then you will get url copy that url and make post on facebook  :


About Me

My photo
B.E.(COMPUTER ENGINEER) PHP Web developer & Provide Training for Web Development , Digital Marketing ,Android Mobile Apps Development
Powered by Blogger.

Formulir Kontak


Email *

Message *





Find Us On Facebook

Video Of Day

PageNavi Results No. (ex: 7)


Follow us on FaceBook



Search This Blog

Fixed Menu (yes/no)

Related Posts No. (ex: 9)


© 2013 Digital Marketing by Om Sir. All rights resevered. Designed by Templateism

Back To Top