Succeeding With Content In A Mobile World
In 2013, mobile traffic in the US almost doubled. Cyber Monday of 2013 was the year that cyber Monday went mobile. And, according to Gartner, Q2 of 2013 was the first time that sales of smartphones surpassed sales of feature phones, with the former accounting for 51.8 percent of mobile phone sales…
Please visit Search Engine Land for the full article.
Search Engine Land’s Most-Shared Stories on Google+ for 2013: What’s Right, What’s Wrong, What’s Next, & What’s Dead
Happy New Year to you, search marketing friends! Surely you’re eager to dive head-first into 2014, weighing predictions and forecasts of what’s next in the worlds of SEO and SEM, but we’ve still got an installment or two in our Search Engine Land Year In Review series! So…
Please visit Search Engine Land for the full article.
Googlers Working On New Years Day Also
Just like on Christmas, Googlers were working throughout New Years Day.
Truth is, I don’t think any were working publicly in the support forums New Years Eve, I may be wrong. But we had Zineb Ait Bahajji and Gary Illyes both active New Years day in t…
Forum Owner: I Was Hit By Pure Spam But It Should Be User-Generated Spam
So we know Google has penalized sites that accept user generared content, such as Mozilla…
Google: You Must Wait A Few Weeks To Submit A Reconsideration Requests
We know Google doesn’t like it when you submit a new reconsideration request a day or two after you get a rejection response from your reconsideration request. They want to see you put effort in after you get that response…
SMX Israel: My Two Presentations On 2013/2014 & Predictive Search
I and my volunteer advisor team have been working incredibly hard on putting together an awesome SMX Israel on January 26th in Jerusalem. The agenda is complete and the speakers are 95% finalized…
5 Ways to Have Killer Content in 2014
Content will continue to be a key part of SEO in 2014. But your strategy has to adapt to your users if you’re going to keep up. Here are five ways to make sure your content will sustain in the New Year and move you past your competitors.
The B2B Marketer’s Guide to Baidu SEO
Baidu is the most popular search engine in China, which makes it a very powerful channel for B2B marketers in the global market. As of November 2013, Baidu held 63.55% of the search engine market share in China. The other two big players in the market …
The hidden secrets of Marketing
Gianluca Fiorelli provides a very special look at predictions for 2014, with a special featuring the NSA, Google and more.
Post from Gianluca Fiorelli on State of Digital
The hidden secrets of Marketing
Failed reconsideration requests. You must wait a few weeks to submit again
Marie Haynes on twitter just tweeted a screen grab of google’s new notifications which I haven’t seen before asking the webmaster to wait a few weeks before submitting another re-inclusion…
An Integrated Marketing Blueprint to Grow Sales & ROI in 2014
The lines between SEO, website, content, social media, and mobile are forever blurred. To succeed in 2014, businesses and brands must merge every aspect of customer engagement to create, manage, and own a complex multi-channel, integrated strategy.
Top 10 Predictions for Video in 2014
Should we expect to see mobile video usage explode? Short-form content go mainstream? Blurred lines between music videos and ads? YouTube fix its broken business model? A redesign of One Channel? Here are our top 10 predictions for video in 2014.
How to Use the Information Inside Google’s Ved Parameter
Posted by deedpolloffice
This post was originally in YouMoz, and was promoted to the main blog because it provides great value and interest to our community. The author’s views are entirely his or her own and may not reflect the views of Moz, Inc.
It’s been two years now since Google announced that they’d be gradually withholding the search terms from referer headers, as secure (SSL) search was rolled out. This has meant that the keyword report in Analytics shows (not provided) for most visitors.
In our own Analytics reports, (not provided) keywords now make up 82% of all organic visitors.
For paid traffic (coming through AdWords) the keywords are still “provided,” which is very helpful, but also very expensive.
And of course there’s also the Search Queries report in Webmaster Tools. This is also useful, but it’s still a disappointing loss of information compared to what we used to have (even if I personally think Google was probably right to go ahead with it).
The ved parameter to the rescue
Back in May, Tim Resnik wrote about patterns he’d spotted in Google’s ved parameter. It turns out that ved codes contain rather useful information about the link that was clicked on in the search engine results page. And as Tim pointed out, this goes some way in replacing what was lost (or rather, killed off) by Google taking away the keyword data.
Three months later, Benjamin Schulz worked out that ved codes are actually encoded in Protocol Buffers (or “Protobuf”). So, as they’re not actually encrypted, it’s not too hard to unencode them (plus we don’t have to feel too guilty about it!).
Google has even released open-source compilers (in several different languages), which you can use to decode ved codes yourself. However these compilers are probably a bit over-the-top for what online marketers need (and probably a bit hard to put into practice).
We’ve written up a guide to decoding and interpreting ved codes—as well as filling in some of the unanswered questions (such as what parameter 1 means). And we’ve also written a JavaScript function for decoding veds, which—as I want to explain—is essential if you want to incorporate this information into your own Analytics reports.
This article is an actionable guide to getting information out of these ved codes, and incorporating it into Analytics.
What is a ved code anyway?
I don’t want to repeat too much what has already been written about in other posts, but it’s a good idea to summarise what veds are, what’s inside them, and how you can access them.

When you click on any of the links in Google’s search results, the URL (address) of the link contains a “ved” parameter.
This “ved” code contains information about the link that you clicked on, and when a user comes to your website through Google’s search results, the ved code is (usually) passed to you in the referer HTTP header.
What’s inside a ved code?
A ved code contains up to five separate parameters, which each tell you something about the link that was clicked on:
Link index (parameter 1)
All the links on the SERP have a numerical index, which gets passed in the ved code.
It only gives you a very rough idea of where the link was in the page (without knowing more about what was on the page), so it’s the least useful of the five parameters inside the ved.
However, it is rather useful when it’s for a ved code coming from an adword, simply because there’s no other information about the position.
Although the link index only gives a rough idea of the position of the adword, there are two concrete things you can take from it:
- If it’s about 45—65 or less (shopping results could go up to 85), then it means the adword was in the main column above the organic results
- If it’s about 170 or over, then it means the adword was in the right-hand column or at the bottom of the page

Link type (parameter 2)
This parameter is a number which corresponds to the type of link that was clicked on.
The most common value is 22, which corresponds to a normal (universal) search result.
Other common values (and their meanings) are:
| Type of link | Value |
|---|---|
| normal (universal) search result | 22 |
| sitelink | 2060 |
| one-line sitelink | 338 |
| image result (thumbnail) in universal search | 245 |
| news result | 297 |
| adword (i.e. sponsored search result) | 1617 |
See the complete list, for other (less common) values.
We’ve actually found well over a hundred distinct values, so this is a small fraction of them! Most of them, though, are very unlikely to appear in referer URLs (bear in mind that these are Google’s parameters; they weren’t really meant for us).
You’ll no doubt have noticed that there are lots of gaps in the values. I don’t really know if this is because a lot have been retired, or if Google has left space for future link types (probably a bit of both, but more of the latter). For example, our reports show the link type 703, but we haven’t worked out what it means yet. It seems like it’s some sort of universal search result just for mobile devices. If you see 703 or other codes in your reports, and you have an idea what they mean—write a comment below, or submit a pull request.
Start result position (parameter 7)
This parameter is the cumulative result position of the first result on the page. On page 2 it will be 10, on page 3 it will be 20, and so on.
It’s better to think of this as the page number of results (after subtracting 1, and multiplying by 10)—because it’s quite a long time ago now that there were always 10 results on every page. Anyhow, you’ll need to interpret it in conjunction with parameter 6.
Result position (parameter 6)
This is very similar to the cd parameter, but there are a few important differences:
cdis counted from 1 (and upwards), whereas the ved result position is counted from 0.- On page 2 of the results,
cdkeeps on counting (i.e. 11, 12, 13…), but the ved result position is reset to 0. - Sometimes the
cdparameter is not passed (e.g. for image thumbnails). In these cases, though, the ved result position does seem to get passed.
The ved result position is the more reliable of the two. If, for example, the cd parameter is 11—you wouldn’t know if this is the 11th result on page 1, or the first result on page 2. With the ved result position, you can distinguish the two.
Sub-result position (parameter 5)
This parameter is like the result position (parameter 6), except it tells you the position in a list of sub-results, such as breadcrumbs, or one-page sitelinks.
How to decode ved codes and pull the information into Analytics
To import the ved into Analytics, you’ll need to include some Javascript to decode it (and send it to the Analytics servers).
To do this, you can modify your Analytics JavaScript “snippet” as follows:
1. Include the ved-decode and base64 libraries
You need to include these libraries in your HTML, somewhere before your Analytics snippet.
The ved-decode library is needed to decode the ved and extract the information we want.
The base64 library is needed for Internet Explorer users, because they won’t have a native Base64 decoder available in their browser.
Each of the two libraries is licensed under a permissive open-source licence (MIT / Apache v2.0)—which lets you use it in any kind of project.
<!-- Include both these scripts or copy them into your main JavaScript file -->
<!--[if lt IE 10]>
<script type="text/javascript"
src="http://veddecode.opensource.dpo.org.uk/js/base64-1.0.min.js"></script>
<![endif]-->
<script type="text/javascript"
src="http://veddecode.opensource.dpo.org.uk/js/ved_analytics-1.0.min.js"></script>
2. Send the ved data to Analytics
How you do this depends on whether you’re using the old Analytics (ga.js) code, or the new Universal Analytics (analytics.js) code:
If you’re using Analytics (ga.js)
Add this JavaScript code just before the call to _gaq.push(['_trackPageview'])—
// The custom variable code needs to go *before* you record the pageview
// (i.e. the call to _trackPageview)
(function(w) {
var customVars = [
{ slot: 1, name: 'Google link index', v: 'linkIndex' },
{ slot: 2, name: 'Google link type', v: 'linkType' },
{ slot: 3, name: 'Google result position', v: 'resultPosition' },
{ slot: 4, name: 'Google sub-result position', v: 'subResultPosition' },
{ slot: 5, name: 'Google page', v: 'page' }
];
if (w._gaq && w.VedDecode && w.VedDecode.ved) {
for (var i = 0, val; i < customVars.length; ++i) {
val = w.VedDecode[customVars[i].v];
w._gaq.push([
'_setCustomVar',
customVars[i].slot,
customVars[i].name,
val ? val + '' : '(not set)',
2 // session scope
]);
}
}
})(window);
If you’re using Universal Analytics (analytics.js)
For Universal Analytics you need to set up custom dimensions corresponding to the five parameters:
| Custom dimension name | Scope |
|---|---|
| Google link index | Session |
| Google link type | Session |
| Google result position | Session |
| Google sub-result position | Session |
| Google page | Session |
(These are suggested names, of course—you can call them whatever you like.)
Then add this JavaScript code just before the call to ga('send', 'pageview'):
// The custom variable code needs to go *before* recording the pageview
(function(w) {
if (w.ga && w.VedDecode && w.VedDecode.ved) {
// Send pageview with custom dimension data
ga('set', {
dimension1: getVedValue('linkIndex'),
dimension2: getVedValue('linkType'),
dimension3: getVedValue('resultPosition'),
dimension4: getVedValue('subResultPosition'),
dimension5: getVedValue('page')
});
}
function getVedValue(key) {
var ret = w.VedDecode[key];
return ret ? ret + '' : '(not set)';
}
})(window);
Make sure that the index generated for each dimension in your control panel corresponds to the dimension number in the JavaScript code.
For example, if the generated index for the Google link index dimension is 7, then you need to refer to it as dimension7 in the code.
Using the data
After a short while, the ved data should show up in your reports!
How you then use the data is up to you.
Clearly, though, it’s going to be useful for optimizing different routes to your site, and looking at how different routes affect your conversion rates.
Personally, I think it’s very interesting—for AdWords customers—to see how adword position (i.e. link index) affects conversion rates. It’s very frustrating only having daily averages to work with, because you can’t see (in the standard reports) how much your adword position varies during the day.
Please let us know what you do with the data in the comments below.
But what if no referer header gets passed?
This is important, because if there’s no referer header, then there’s no ved parameter.
The referer won’t get passed in some cases:
If your site isn’t secured by HTTPS
If your site uses HTTP, or it uses HTTP for some pages (in particular, any landing pages), then the referer header may not get passed. Sometimes—even if a user is using secure (HTTPS) search—Google redirects them through a (non-secure) intermediate HTTP click-tracking page. When this happens, you’ll get the referer (and the ved parameter).
However, if Google passes them through a secure (HTTPS) click-tracking page, then you won’t get the referer (or the ved parameter) unless your site is also using HTTPS.
In conclusion—if you want to be sure of getting the ved parameter for as many users as possible—use HTTPS for your site. (Of course this isn’t the only reason to use HTTPS!)
If the user is on a mobile device
For mobile devices, Google has started to use hyperlink auditing—which should have been called “click tracking”, and is better known as the “ping” attribute—instead of redirects through a click-tracking page. Hyperlink auditing isn’t as reliable as a redirect, though, which is why:
- Google only use it for mobile devices
- all paid results (e.g. adwords) still go through traditional redirects
According to Google, the main motivation for using the ping attribute (only) on mobile devices, is to improve speed—and I’m inclined to believe them. But it probably also helps that:
- mobile users are probably less likely to turn hyperlink auditing off (or know how, or know what it is)
- mobile devices run modern browsers, which support hyperlink auditing
However—you might ask—if mobile devices don’t go through a redirect, and my site is using HTTPS, shouldn’t I get the referer anyway?
Yes, that’s right, you should get the referer!
But sadly, Google has specifically disabled it.
What Google do, if they use hyperlink auditing, is to set the meta referrer element to origin:
<meta name="referrer" content="origin">
This instructs the user’s browser to include the document’s origin in the referer header rather than the full URL of the document. So the referer will just state (something like) <a href="https://www.google.co.uk/">https://www.google.co.uk/</a>.
Before you think, “How evil!”—there’s a good reason for this. If they didn’t do this, then the search terms would also appear in the referer, and Google has committed to turning this off for privacy reasons.
So, mobile devices are another kettle of fish, and ved code analysis won’t work most of the time. But for most sites, mobile devices will still be in the minority, and things change quickly anyway. (For example, if there was a new anti-privacy law requiring hyperlink auditing to be off by default, that would certainly be the death of it.)
Sign up for The Moz Top 10, a semimonthly mailer updating you on the top ten hottest pieces of SEO news, tips, and rad links uncovered by the Moz team. Think of it as your exclusive digest of stuff you don’t have time to hunt down but want to read!
Entity Associations with Websites and Related Entities
When we talk about how web sites are related, it’s not unusual for us to talk about links between sites and pages. Google pays a lot of attention between such links, and they are at the heart of one of its most well known ranking signal – PageRank. PageRank is now more than 15 years […]
The post Entity Associations with Websites and Related Entities appeared first on SEO by the Sea.
New Year 2014 Logos From Google, Yahoo & Others
Happy 2014 everyone, wishing you a happy, healthy and successful New Year 2014! I deeply hope all of you have much success, happiness and good health…
New Year 2014 Google Logo Keeps On Disco Dancing
Happy New Year! Today’s Google logo ushers in the New Year with the same logo as yesterday’s New Year’s Eve disco-themed logo, with one small change: 2013 is now 2014. The interactive logo includes the same spinning disco ball and vibrating speakers, but now the dancing numbers…
Please visit Search Engine Land for the full article.
Quickly Reversing the Fat Webmaster Curse
Long story short, -38 pounds in about 2 months or so. Felt great the entire time and felt way more focused day to day. Maybe you don’t have a lot of weight to lose but this whole approach can significantly help you cognitively.
In fact, the diet piece was originally formed for cognitive enhancements rather than weight loss.
Before I get into this post I just want to explicitly state that I am not a doctor, medical professional, medical researcher, or any type of medical/health anything. This is not advice, I am just sharing my experience.
You should consult a healthcare professional before doing any of this stuff.
Unhealthy Work Habits
The work habits associated with being an online marketer lend themselves to packing on some weight. Many of us are in front of a screen for large chunks of the day while also being able to take breaks whenever and wherever we want.
Sometimes those two things add up to a rather sedentary lifestyle with poor eating habits (I’m leaving travel out at the moment but that doesn’t help either).
In addition to the mechanics of our jobs being an issue we also tend to work longer/odd hours because all we really need to get a chunk of our work done is a computer or simply access to the internet. If you take all of those things and add them into the large amount of opportunity that exists on the web you have the perfect recipe for unhealthy, stressful work habits.
These habits tend to carry over into offline areas as well. Think about the things we touch or access every day:
- Computers
- Tablets
- Smartphones
- Search Engines
- Online Tools
- Instant Messaging
- Social Networks
What do many of these have in common? Instant “something”. Instant communication, results, gratification, and on and on. This is what we live in every day. We expect and probably prefer fast, instant, and quick. With that mindset, who has time to cook a healthy meal 3x per day on a regular basis? Some do, for sure. However, much like the office work environment this environment can be one that translates into lots of unhealthy habits and poor health.
I got to the point where I was about 40 pounds overweight with poor physicals and lackluster lipid profiles (high cholesterol, blood pressure, etc). I tried many things, many times but what ultimately turned the corner for me were 3 different investments.
Investment #1 – Standup/Sitdown Desk
Sitting down all day is no bueno. I bought a really high quality standup desk with an electrical motor so I can periodically sit down for a few minutes in between longer periods of standing.
It has a nice, wide table component and is quite sturdy. It also allows for different height adjustments via a simple up and down control:

A couple of tips here:
- Wear comfy shoes
- Take periodic breaks (I do so hourly) to go walk around the house or office or yard
- I also like to look away from the CPU every 20-30 minutes or so, sometimes I get eyestrain but I bought these glasses from Gunnar and it’s relieved those symptoms

Investment #2 – Treaddesk
The reason I didn’t buy the full-on treadmill desk is because I wanted a bigger desk with more options. I bought the Treaddesk, which is essentially the bottom part of the treadmill, and I move it around during the week based on my workflow needs:

They have packages available as well (see the above referenced link).
I have a second, much cheaper standup desk that I hacked together from IKEA:

This desk acts as a holder for my coffee stuff but also allows me to put my laptop on it (which is paired with an external keyboard and trackpad) in case I want to do some lighter work (I have a hard time doing deeper work when doing the treadmill part while working).
I move the Treaddesk back and forth sometimes, but mostly it stays with this IKEA desk. If I have a week where the work is not as deeply analytical and more administrative then I’ll walk at a lower speed on the main computer for a longer period of time.
I tend to walk about 5-7 miles a day on this thing, usually in a block of time where I do that lighter-type work (Quickbooks, cobbling reports together, email triage, very light research/writing, reading, and so on).
Investment #3 – Bulletproof Coffee and the Bulletproof Diet
I’m a big fan of Joe Rogan in general, and I enjoy his podcast. I heard about Dave Asprey on the JRE podcast so I eventually ended up on his site, bulletproofexec.com. I purchased some private coaching with the relevant products and I was off to the races.
I did my own research on some of the stuff and came away confident that “good” fat had been erroneously hated on for years. I highly encourage you to conduct your own research based on your own personal situation, again this is not advice.
I really wanted to drop about 50 pounds so I went all in with Bulletproof Intermittent Fasting. A few quick points:
- I felt great the entire time
- In rare moments where I was hungry at night I just had a tablespoon of organic honey
- I certainly felt a cognitive benefit
- I was never hungry
- I was much more patient with things
- I felt way more focused
So yeah, butter in the coffee and a mostly meat/veggie diet. I cheated from time to time, certainly over the holiday. I lost 38 pounds in slightly over 60 days. Here’s a before and after:
Fat Eric

Not So Fat Eric

I kept this post kind of short and to the point because my desire is not to argue or fight about whether carbs are good or bad, whether fat is good or bad, whether X is right, or whether Y is wrong. This is what worked for me and I was amazed by it, totally amazed by the outcome.
I also do things like cycling and martial arts but I’ve been doing those for awhile, along with running, and while I’ve lost weight I’ve never had it melt away like this.
I’ve stopped the fasting portion and none of the weight has piled back on. Lipid tests have been very positive as well, best in years.
Even if you don’t have a ton of weight to lose, seriously think about the standup desk and treadmill.
Happy New Year!
Google Shopping Expanding 360 Degree Product Images, Making New Hire
Last year, Google began adding 360 degree product views to Google Shopping ahead of the holiday season. This year, the search giant continued to tout the 360 views and have expanded from toys to other consumer products that consumers typically like to …
SearchCap: The Day In Search, December 31, 2013
Below is what happened in search today, as reported on Search Engine Land and from other places across the web. From Search Engine Land: Infographic: The Biggest Changes To Google Search In 2013 What were some of the biggest changes to Google Search in…
SEER’s Music Friday – By the Numbers
Music has been a part of the culture at SEER, at least since I started here. Wil frequently turns on his speakers to share music while we work. Near the end of last year, we started what has been a semi-regular tradition, Music Fridays. The concept is simple. We come up with a theme, create […]