give us a call: 1.800.860.4807

The Digg Toolbar Exposed; What’s in the code?

digg-logo-heart-lgA lot of attention on the web this week surrounded the digg.com toolbar and what it represents. Concerns about publisher rights and content stealing through “iframes” have been raised. Digg even wrote a blog post (http://blog.digg.com/?p=636) to defend itself on the issue.

Finally, someone has the balls to analyze the code in detail. Why Has Digg added this feature? Why does it benefit Digg? Does it pose a threat to Associated Press and other News publishers?

Welcome to the world of Adapt or Die Marketing, only here, will you will find the unmasking of the code behind the Digg toolbar.

To analyze this properly, we need to click on a link on any article submitted to Digg.com and we see the source code. Since the actual content on the page is in an i-frame, we will see Digg.com’s code where we are still under their watchful eye. All the html in the page still belongs to Digg: Meta Tags, body, and any tracking tags they choose to use. For our study, we will be using the following page: http://digg.com/d1oIkJ

The first thing we need to look at about the source code is the Meta information that Search Engines use to categorize the page in their index:

Meta Robots tag:

<meta name="robots" content="noindex"/>

The Meta Robots tag with a “noindex” description in the content attribute basically tells search engines that they should not include this page in the index. This is great for the publishers, as it will not allow the page to compete with the original in the Search engines results. Digg went to a lot of trouble to make sure they got this right with Google (as stated in their blog post), as they wanted to make as little a ruckus as possible. But today, with the Associated Press constantly attacking Google, Digg figures no one will pay attention to them.

Canonical Tag:

<link rel="canonical" href="http://www.baltimoresun.com/news/health/sns-health-breaking-habits,0,4763864.story"/>

This is Digg’s way of telling search engines “Hey Mr. Search engine Bot, the original source of the story contained in the link: http://digg.com/d1oIkJ belongs to this page: http://www.baltimoresun.com/news/health/sns-health-breaking-habits,0,4763864.story”.

The canonical tag was introduced a couple of months ago by Google and announced by Matt Cutts to allow webmasters control over duplicate pages their CMS may produce. This tag, tells search engine bots that the page is a duplicate of another page and supposedly gives the “link juice” of any links pointing to it towards the URL contained in the tag. The only issue here is that this only works within a domain, and not through cross-domains (See explanation here), so essentially were it not for the sole link on the nav bar pointing to the originating source, Digg.com could be considered a Blackhole website.

User Tracking

If you are logged in, once you are on that page, Digg will track your login username with this code:

<script type="text/javascript" charset="utf-8" src="http://digg.com/dynjs/loader/DynJsc9c5738b9b1e73c2a8a4b3887e6bdc6c">
</script>   <script type="text/javascript" charset="utf-8"> /* <![CDATA[ */
        var permaLink_url = '/health/Studies_Show_Bad_Habits_Can_Be_Broken_Not_Forgotten';
        aHash = "ac8392587bc94e8e71f6cc68d8b7f0b4";
        D.meta.page.type = "11";
        D.meta.user.loggedIn = "YOUR USER NAME HERE";
        D.analytics = new Object(); D.analytics.enabled = "1";
        // ]]>
    </script>

So that they can now track how many links you visit on the external site (notice how you can navigate the external site and the short Digg URL remais the same) while attributing that behavior directly to your user name. Why is this important? If you are a user that is more prone to click on “science news” then the Advertising presented to you on Digg could be targeted more specifically to you.

Digg is gathering information about your behavior on other sites to better target personalized ads by profiling your username.

Quantcast Tag

Quantcast is the internet advertising equivalent of the Television Nielsen Ratings. The more pageviews and visits your site has, the more your “channel” or website is appraised for advertising purposes. By adding this tag to all loaded pageviews that were previously external to Digg.com’s site, they now appear to have a lot more pageviews.

Conclusion: overnight, Digg.com will appear to have a significant amount of additional pageviews per visitor without having really done anything other than adding a toolbar.

When we consider that Digg’s popularity has dropped within the past 12 months:

diggtrend2

We see that this quantcast tag could be their savior by artificially boosting their pageviews:

<!-- Start Quantcast tag -->
    <script type="text/javascript" src="http://edge.quantserve.com/quant.js"></script>
    <script type="text/javascript">_qacct="p-34Iv4_7kv_i-6";quantserve();</script>
    <noscript>
    <a href="http://www.quantcast.com/p-34Iv4_7kv_i-6" target="_blank"><img src="http://pixel.quantserve.com/pixel/p-34Iv4_7kv_i-6.gif" style="display: none" border="0" height="1" width="1" alt="Quantcast"/></a>
    </noscript>
    <!-- End Quantcast tag -->

Internal code for Digg use

Here we find a whole bunch of code that is the bread and butter for users of Digg. You can see comments, bury, share, digg etc without clicking the back button of your browser to vote the story up after having read it.

Now, and for the first time, Digg can actually measure if you were on the page long enough to read it before digging it up.

Can this help with their algo? Of course. Users digging a story after having been on the page for a mere 2 seconds may not count as a vote to get to the home page as much as a vote that saw the page for 1 minute and 32 seconds. This way Digg assures itself that the vote was more of an honest push than one that may have been solicited by a friend and is not really read by the voter.

Digg advertisement on toolbar?

While currently there is no advertisement on the toolbar, there is part of the code that looks like this:

<div id="sourceWhoop" class="whoop">
    <div class="t-contents">
        <div class="ad">advertisement2</div>

This has absolutely nothing to do with the publisher source code, and is included outside the publisher’s iframe. Does Digg.com have the intention of Advertising on the toolbar? This would be crucial in understanding Digg’s intent with the toolbar, seeing how they are blatantly using a third party website’s content, taking up valuable fold-over space on the publisher’s page while benefiting from advertising revenue? Sketchy indeed.

Their own tracking: Omniture code:

Digg’s Omniture code. Nothing is left behind, Digg is tracking all of your behavior on the external site.

What Else is There?
Other than the code, we should take into consideration that a large percentage of web users which want to share their favorite articles with friends will no longer link directly to the publisher’s links. Instead, they will be linking to the new short Digg URL, and seeing how the canonical tag does not work cross-domain, it will be denying publishers from well deserved link-love which would help the publisher sites appear higher in the Search Engine results for their own content.

Digg’s Intent with all this:


  1. Instantly increase the internal traffic and Pageviews on your site which equals more Advertising Inventory.
  2. Profile your users through their login username to better target ads.
  3. Improve Digg algorithm by measuring time on external site (did the voter actually read the article?)
  4. Keeping link love towards itself which increases the website’s authority in all the search engines.

What have you found in the Digg Toolbar code?


19 Responses to “The Digg Toolbar Exposed; What’s in the code?”

  1. L. Mohan Arun April 10, 2009 at 11:48 am #

    It is not only Digg, ow.ly and twitpwr do the same thing

  2. Oggy April 10, 2009 at 11:56 am #

    @L. Mohan Arun In terms of the toolbar, while ow.ly and twitpwr.com do have one, there is only a Google Analytics code. Digg’s various tracking codes are sometimes larger than the code on the original publisher’s page! And Quantcast? That is just to boost its Pageviews…

  3. Erin April 10, 2009 at 11:59 am #

    Very cool… Never would’ve dug into Digg this much on my own :P Thanks!

  4. Jeff April 10, 2009 at 12:19 pm #

    Thanks for taking the time to walk through the Diggbar code. It’s just one more thing to make life a little more interesting while trying to your website discovered by the largest possible audience.

  5. Gab Goldenberg April 11, 2009 at 10:46 pm #

    Methinks the rel=”canonical” can work crossdomain … you tested this with a super-authority site? If this is the case and G backchannels have quietly informed Digg that rel=”canonical” can work across sites when you’re a big guy, the hackers are gonna have a field day breaking into trusted sites.

  6. Oggy April 11, 2009 at 11:38 pm #

    @Gab Canonical tag does not work cross-domain. It is mentioned by Google themselves. Here is the Google Document describing the canonical tag in detail:

    http://docs.google.com/Present?docid=ddvhbrqf_70dp3rv7hn

    The reason Google chose to not allow it to work across domains is probably because of what you describe in your comment.

  7. Rick Vaughn April 12, 2009 at 11:57 am #

    Pretty smart on Digg’s part to get more pageviews. As a publisher however you hate to see someone have to click another link to get to my content.

  8. Brant April 12, 2009 at 1:57 pm #

    I wrote a similar blog post about DiggBar discoveries:
    http://www.x-pose.org/blog/145/

  9. Dawid Ryba - Make Money Online April 13, 2009 at 7:24 am #

    Hello Oggy,
    Thanks for taking the time to walk through the Diggbar code. Great Job!!

  10. chelsea blacker April 15, 2009 at 9:24 am #

    When i right click in Chrome, it doesn’t give me the option to view page source, only to “view frame”. clever google.

  11. Oggy April 15, 2009 at 10:19 am #

    @Chelsea With Chrome you will have the option of viewing “frame source” which is the source code of the original content. If you want to view the source code around the i-frame type this into your Chrome address bar: view-source:http://digg.com/d1oigC , you can change the Digg.com URL to anything you want. ;)

  12. Doof April 16, 2009 at 12:36 am #

    Why do people still care for Digg? It’s old, multiple stories, and a few power users govern what you see and what you don’t. Digg is obsolete.

  13. Steve May 11, 2009 at 6:56 pm #

    I think what Digg have failed to account for is how unpopular the toolbar is proving with their users (just go to Digg and do a search for diggbar). It’s certainly meant that I spend far less time at Digg and more at Reddit.

Trackbacks/Pingbacks

  1. Francis Vallieres SEO blog » Blog Archive » The new Digg toolbar and SEO - April 10, 2009

    [...] way with iframe. You have to read the article my friend Agustin written about it on Adapt or Die : The Digg Toolbar Exposed; What’s in the code Good Read ! Posted in SEO | Leave a [...]

  2. Weekly Updates for the Week of April 06 - 12 | Rockin' SEO Blog - SEO Tools - April 14, 2009

    [...] Exploring Digg’s toolbar [...]

  3. Reiz mež? dzima med… pag… onk.. N?! Open! | nombre.lv - April 15, 2009

    [...] Toolbar. Par to var?tu uzrakst?t pat atseviš?u rakstu, bet p?ris saites Jums pašiem, ko rakt: 1 2 3 4 5. Visp?r cilv?ki ir baigi sacepušies par šo lietu, neesmu man?jis praktiski nevienu [...]

  4. The Digg Toolbar Exposed - iBot.tv - April 15, 2009

    [...] Josh Schreibman on Apr.15, 2009, under Opinion & Analysis Adapt or Die Marketing has done a great analysis of the new Digg [...]

  5. popurls.com // popular today - April 16, 2009

    popurls.com // popular today…

    story has entered the popular today section on popurls.com…

  6. Which Social Networking Sites Give an SEO Benefit? – Squidbits - Greekgeek’s Squidoo Blog - May 6, 2009

    [...] Digg has implemented an ingenious way of redirecting all that backlink juice to itself. See The Digg Toolbar Exposed and 5 Reasons Diggbar Sucks for more [...]

Leave a Reply