Sunday, July 3, 2011

Google Analytics Social Interaction Tracking Code


This is the code that you will add to your site



  • _trackSocial(network, socialAction, opt_target, opt_pagePath)




  • More on this link.

    Social Interaction Tracking

    Sunday, June 12, 2011

    Multi-regional and multilingual sites

    Targeting 2 different countries. Read here

    Thursday, June 9, 2011

    Authorship Markup Metadata

    Authorship markup uses the rel attribute (part of the open HTML5 standard) in links to indicate the relationship between a content page and an author page.


    When Google has information about who wrote a piece of content on the web, we may look at it as a signal to help us determine the relevance of that page to a user’s query. This is just one of many signals Google may use to determine a page’s relevance and ranking, though, and we’re constantly tweaking and improving our algorithm to improve overall search quality.
    •A content page can be any piece of content with an author: a news article, blog post, recipe, review, short story …

    •An author page is a page about a specific author. For example, a news site might feature an author page for each of its contributors. The author page should be on the same domain as the content page.

    To identify the author of an article or page, include a link to an author page on your domain and add rel="author" to that link, like this:
    Written by .

    This tells search engines: "The linked person is an author of this linking page." The rel="author" link must point to an author page on the same site as the content page. For example, the page http://example.com/content/webmaster_tips could have a link to the author page at http://example.com/authors/mattcutts. Google uses a variety of algorithms to determine whether two URLs are part of the same site. For example, http://example.com/content, http://www.example.com/content, and http://news.example.com can all be considered as part of the same site, even though the hostnames are not identical.
    Linking multiple profiles: rel="me"

    An author page on a site can often link to other web pages about the same author, such as the author’s home page or a social networking profile. To tell Google that all these profiles represent the same person, use a rel="me" link to establish a link between profile pages.
    Say that Matt is a frequent contributor to http://example.com. Here’s a link from his http://example.com author page to the page he maintains on http://mattcutts.com/:
    Read more about Matt

    In turn, Matt’s profile on http://mattcutts.com points back to his author page on http://example.com, like this:
    Matt has also written lots of articles for the Foo Times.The reciprocal rel="me" links tell Google that the profiles at http://mattcutts.com and http://example.com/contributors/mattcutts represent the same person

    Tuesday, June 7, 2011

    SEO Training DOJO Video Training Videos

    For those of you who like to learn and get the latest update on SEO and other stuff that is related to web, watch SEO Training Dojo's video.

    Here is the link.. http://seotrainingdojo.com/Video-Library/frontpage.html

    How To Add Custom Tracking To Google AdWords

    Many advertisers use keyword level tracking in AdWords destination URLs. This allows your server to track the source of paid search traffic hitting the site. Recording this data with each inbound paid click allows you to collect your own data for analysis. It is possible to track the search engine, account, campaign, ad group, keyword, and so on, augmenting what is available from Google AdWords and Analytics reports.

    Why go to this additional effort? Maybe you have a local data warehouse, the ability to track the actual user search (from the referrer URL), or you want to watch for click fraud. Another useful thing to do is customize the landing page and user experience based on the specific search term that triggered a visit.

    This post discusses some undocumented functionality from Google that has been around for awhile, including the recently (and quietly) released {MatchType} parameter.

    Let’s Start With The Basics
     Many advertisers start with just a single destination URL for all paid search, such as:

    http://www.widgets.com

    Advertisers often find it useful to create more specific landing pages for campaigns or ad groups, such as:

    http://www.widgets.com/gadgets

    But it’s possible to get even more granular, to get even deeper insights. One way track keywords is to use keyword level destination URLs, providing a unique destination URL for each keyword. Here’s an example for the keyword “blue gadget,” along with other parameters associated with the keyword:

    http://www.widgets.com/gadgets?SearchEngine=Google&Account=WidgetsPPC&Campaign=Gadgets&AdGroup=BlueOnes&Keyword=Blue_Gadget&MatchType=Broad

    That’s pretty straightforward, and you can do that in Excel or your keyword tool of choice prior to uploading keywords. Each URL includes easy to understand, plain-text, useful information. If you get this far you are doing most of what is possible. Read on for some advanced considerations and to see how to do this much easier at the ad level rather than the keyword level.

    Recognizing The Difference Between Search And Content Ads

    If you use the display network (content) in your paid search campaigns, Google randomly chooses a keyword from your content campaign to assign the click to. It would be nice to know if this click was from a content or a search ad when the user reaches your site. Here is where we get into dynamic URLs—this example shows how we can differentiate between the two.

    http://www.widgets.com/gadgets?SearchEngine=Google&Account=WidgetsPPC&Campaign=Gadgets&AdGroup=BlueOnes&Keyword=Blue_Gadget&MatchType=Broad&Distribution={IfSearch:Search}{IfContent:Content}

    Note that when you see a click is from content campaigns, you should simply ignore the keyword and match type, because the ad is randomly chosen from “key terms” identified by Google in your account as the theme for the ad group. Just about the only useful thing to do with these would be to try to sort out what words Google thinks are your key terms (something you can’t otherwise find out). But many smart advertisers are already building tightly grouped ad groups with 50 terms or less for content anyway, using a documented feature called ValueTrack.

    Ad Level Dynamic Destination URLs

    There are a few advantages to working at the ad level rather than the keyword level, and it is possible to do so without losing any tracking information.

    Doing so keeps the keyword-adding process nimble and light, unencumbered by the extra step of forming destination URLs as we add keywords. This is a big productivity boost and allows us to use various keyword tools without pausing to generate destination URLs.

    Using ad level destination URLs also facilitates A/B testing. Start with two otherwise identical copies of an ad, then vary destination URLs to point to the landing pages you wish to test. Now place them in an ad group and set the ad delivery to rotate (rather than optimize). You will get balanced, randomized traffic sent to the two URLs.

    You can look at the performance of the two ads and get a decent idea of which landing page performs better. A word of caution: it is frequently the case that even though the two ads are visually identical, Google’s system decides one performs better CTR-wise on some traffic versus the other and then favors that ad on specific keywords. This happens because Google keeps track of performance metrics for each ad + keyword combination to optimize results, yet it is a level of optimization we frequently don’t get insight into. If this happens and your ads have wildly different CTRs at the end of your test despite being visually identical, you should consider redoing the test.

    To recap, using ad level destination URLs over keyword level destination URLs keeps the keyword adding process nimble and light, reduces the chance of error and enables A/B testing.

    However, to do so and retain our ability to track performance at the keyword level, we need to generate ad level destination URLs with keyword-level information. We need dynamic insertion that will insert keyword level information into an ad level destination URL. Because any keyword in the ad group can trigger the ad, Google doesn’t know which keyword triggers the ad until it serves the ad. At that time Google can fill in the keyword level information, if you set it up correctly. Read on to find out how.

    Dynamic Insertion in Google AdWords Destination URLS

    Google tracks the following tags in AdWords destination URLs:

    •{Keyword} = PPC Keyword that triggered this ad
    •{MatchType} = Keyword Match type
    •{Creative} = Ad ID
    •{Placement} = Placement name / URL
    •{IfSearch:Search} & {IfContent:Content} = If this is search traffic, then the value after IfSearch is written, and likewise for content (never both). You can substitute your own values after the colon.
    So here is a URL that behaves as expected at the ad level, dynamically filling in keyword level information at the time of the click:

    http://www.widgets.com/gadgets?SearchEngine=Google&Account=WidgetsPPC&Campaign=Gadgets&AdGroup=BlueOnes&Keyword={Keyword}&MatchType={MatchType}&Distribution={IfSearch:Search}{IfContent:Content}&AdID={Creative}&Placement={Placement}

    Some Practical Tips

    To separate parameters, you can choose any delimiter you prefer. The common choices are to use the standard “?” and “&” (for the first and subsequent delimiters, respectively). Google itself has started using “#” and “&” to separate parameters. Java often uses “?” and “;”. The variety of encoding schemes these days is dizzying.

    http://www.widgets.com/gadgets#SearchEngine=Google;Account=WidgetsPPC

    You can also cram all that information into a single parameter, mixing your delimiters:

    http://www.widgets.com/gadgets?CID=Google++WidgetsPPC++BlueOnes++Blue_Gadget++

    This might be useful if your particular setup only allows tracking of one parameter, as with Omniture’s CID code.

    It’s a good idea to limit your use of special characters in the names of your accounts, campaigns, etc. if you are using “&” as your delimiter. If you include an “&” in your campaign name, that might foul up your ability to parse the rest of the URL. URLs often arrive slightly modified from their original form. Somewhere along the way, either Google or your server typically replace spaces with “%20” or “+”. You will need to “undo” this replacement in order to make sense out of your keywords.

    Be sure not to name your parameters anything that will conflict with parameters you pass around your site. If you use Google Analytics and auto tagging () be sure to avoid adding a parameter whose key conflicts with one of the auto-tagging keys (don’t add one named GCLID, though I have no idea why you would want to).

    A Matter Of Style

    As a matter of style, I prefer not to use long parameter names in my URLs. I typically use a set of easily discernible but short three letter acronyms. They just have to be long enough that they will be unique and not conflict with any other parameters you are passing around your site. Here is a set I like—the letter “P” in each case represents “paid”:

    •PSE = Search Engine
    •PAC = Account
    •PCA = Campaign
    •PAG = ad group
    •PKW = Keyword
    •PMT = Keyword match Type
    •PDS = Distribution (Search / Content)
    •PPL = Placement
    •PAD = Ad ID
    The Final Product
    Here’s an example of what a custom URL with your tracking codes will look like:

    http://www.widgets.com/gadgets?PSE=Google&PAC=WidgetsPPC&PCA=Gadgets&PAG=BlueOnes&PKW={Keyword}&PMT={MatchType}&PDS={IfSearch:S}{IfContent:C}&PPC={Placement}&PAD={Creative}

    If you’re using a Google AdWords editor bulk sheet, here’s a handy Excel formula you can use in the destination URL column—just insert this formula into the destination URL column (column G) and replace the site URL and account name:

    http://www.YourSite.com?SearchEngine=Google&Account=YourAccountName&Campaign="&A2&"&AdGroup="&B2&"&Keyword={Keyword}&MatchType={MatchType}&Distribution={IfSearch:Search}{IfContent:Content}&AdID={Creative}&Placement={Placement}

    Conclusion

    If you are collecting keyword level data with AdWords, you can use ad level destination URLs to track this data. Using ad level destination URLs keeps your keyword-adding work easy, reduces the chances of error with destination URLs and enables you to A/B test your landing pages. To do so, use dynamic insertion in your ad level destination URLs with a combination of documented and undocumented features to produce a destination URL that Google can fill in with keyword level information when it serves the ad.

    source: http://searchengineland.com/how-to-add-custom-tracking-to-google-adwords-52950

    Wednesday, January 26, 2011

    SEO Tips: Matt Cutts on Redirects, Trailing Slash plus more

    Image representing Google as depicted in Crunc...Image via CrunchBase
    •  Should Webmasters Use the 'If Modified Since' Header? - a good standard practice, but Matt notes that it won't necessarily help you get crawled faster.
    • Should Webmasters Use 503 Status Codes for Downtime? - 03s can help avoid getting a page that's under construction or experiencing problems crawled and indexed
    • Does the Number of Outbound Links from a Page Affect PageRank? - There's no need to hoarde all of your link juice on your page and, in fact, there may be benefit to generously linking out...
    • Is a Trailing / Important in URL Structure? - Matt says he would slightly advocate for using a trailing slash simply because it clearly indicates that a URL is a folder and not a document.
    • Does Google Crawl from Multiple Geopgraphic Locations? - Google basically crawls from one IP address range worldwide because (they) have one index worldwide. (They) don't build different indices, one for each country.
    • Is It a Bad Idea to use Chain Redirects (e.g. 301-->301-->301)? - yes ideally no more than 2.