Shifting to _utmz to _ga

Some years back I had written about the __utmz cookie that Google Analytics uses to identify source attribution for visitors. If you are interested in reading that post, click here on Understanding the __utmz cookie.

Google evolves beyond Urchin

Google Analytics is based on the Urchin tracking management system and has been improving on that system over a period of time. As I have seen this product evolve, and many more features that were not there in Urchin … one of the major changes has been in the usage of cookies.

That makes my earlier post defunct.

The utmz Cookie

The utmz cookie used to contain the information about where the user has come from, which campaign, source and medium did the user react to arrive at the site. This information could be read and stored in a separate system (such as a CRM whenever a lead is captured). This could help in attribution of paying customers, and bring in all the crunchy goodness that you wanted.

Unfortunately, the utmz cookie no longer exists. The cookies have changed, if you are interested in know which cookies Google Analytics uses now, you can read this support article.

Where does that leave us?

So how do we go about finding more information about the user. This information is now not readable. However, what information we have on hand is a unique identifier of the cookie. That much still hasn’t changed.

So let’s take a look under the hood shall we,

The _ga cookie contains a value. This is the client id of the user. If you see the cookies collection, there are multiple _ga cookies, however, when you match it with the domain column, for every user – domain combination, there is a single _ga cookie.

This cookie is accessible by your server side script as well as your client side JavaScript. Therefore, we can get access to the _ga cookie value and store the client id within.

What is a client id?

To understand this, let’s go to Google Analytics. In GA, under the Audience section, we have a User Explorer report. Here’s a screenshot from my GA –

Check the value – 129754452.1496423206

This is available in the _ga cookie as well as in the user explorer. I can now identify specific users and leads in my CRM based on their client ids.

Therefore, I can even start checking their user behavior on the site, like so –

This is how the user has been visiting the site over a period of time. Notice the source is changing for different visits.

In a world where I would have been storing just the final source in the CRM, now I have a much more detailed view of how the user keeps coming to my site. This allows me to explore other attribution models and share the credit of the user’s conversion across channels.

This brings me one step closer to the World of And.

The World of And

In case if you haven’t already watched this, you need to watch this –

 

How to Clean an Infected Site — WordPress.tv

If you have been playing with WordPress themes or providing WordPress based web builds as part of your business, then you would have installed a nulled theme in your life.

What’s a Nulled theme?

A nulled theme is a premium theme that’s released by someone in the wild. There are multiple such sites.

Wait, isn’t that piracy?

I consider it so. But this is where two different ideals are conflicting. That’s space for another post.

So what happens when you do install a nulled theme … chances are it might contain a malware.

An infected site

This is a nightmare to handle. The worry is not at the technical front, the worry is the grief the publishing team feels … as someone who regularly writes – I would feel bad if my blog were to get compromised.

Here’s a methodical way to sort yourself out.

https://videopress.com/embed/4vjvbhOr?hd=0

Immensely passionate about technology, Owen has built his career on his innate ability to understand and dissect organisational challenges and apply timely and effective solutions, typically focusing on emerging techniques and systems. Owen has been using WordPress since version 2 and runs a number of sites for himself and his clients. He is a Certified Ethical Hacker (CEH) and tries to learn everything about the WordPress security scene. His talk is on ‘Keeping WordPress secure, how sites get infected and how to clean them when they do.’ He decided to talk about malware in WordPress, because it’s a problem that effects a lot of people. he explained malware is just code, code in the same type of code that WordPress is, if you understand what it does and how it does it then there are steps you can take to avoid it.

via Owen Cutajar: How WordPress Malware Works and How to Clean an Infected Site — WordPress.tv

Game Theory and SEO

This blog has been my place to articulate my thoughts, to propose experiments and my views on multiple topics. Having said that, this is one such piece.

I would love to hear your views about this and feel free to scroll down to that comment box and leave a line (or two).

What is Game Theory?

Taking the excerpt from Wikipedia –

Game theory is “the study of mathematical models of conflict and cooperation between intelligent rational decision-makers.” Game theory is mainly used in economics, political science, and psychology, as well as logic, computer science and biology.

In this piece, I am proposing that we can use the basic precepts of Game Theory and apply them to SEO strategies as well.

Originally, it addressed zero-sum games, in which one person’s gains result in losses for the other participants. Today, game theory applies to a wide range of behavioral relations, and is now an umbrella term for the science of logical decision making in humans, animals, and computers.

In Search Engine Optimization, for a particular query search, only one site can be at the top. At the cost of the search visibility of other sites.

Ergo, SEO is clearly a zero-sum scenario.

Wait, isn’t this between two players?

That’s what we construe of Game Theory … and more importantly with Prisoner’s Dilemma. However, in the real world, and in almost any market driven environment, there are always multiple players.

Such scenarios are referred to as n-person games, or in Gaming parlance – multi-player games. This gives way to something we define as Evolutionary game theory.

What is Evolutionary Game Theory?

Evolutionary game theory considers games involving a population of decision makers, where the frequency with which a particular decision is made can change over time in response to the decisions made by all individuals in the population.

So, in SEO the strategy that I can adopt at any point of time is suspect to change, and over a period of time, most players who are working on their SEO would tend to change their strategy and evolve their approach.

In economics, the same theory is intended to capture population changes because people play the game many times within their lifetime, and consciously (and perhaps rationally) switch strategies.

Ditto about SEO again. In textbook style, I could say don’t do Black Hat. However, you know it and I know it … that at some point of time in our lives we have done Black Hat. Yes yes yes, it doesn’t work and you have to pay the price, but we still have gone ahead, haven’t we?

This change in tactics, resulting in evolution of market dynamics effectively ends up changing the winning strategies of the game. A research article that talks about how the competing strategies change within a network of decision makers is available here.

To read more on Evolutionary Game Theory, here is the wiki link.

Rituals and Evolutionary Game Theory

One more interesting characteristic that mathematical biologist John Maynard Smith realized when studying the behavior of game theory in communities was that in biological communities (his research was based on Darwinian concepts and survival of the fittest) most of the players did not focus on their strategy as a winning one, but treated their strategies as at a ritualistic level.

Ergo, for most members of the population it was not important whether they were engaged in a competitive and winning strategy, but rather that they were engaged in a strategy in the first place.

Wait, what?

Let me rephrase that statement.

Players involved in playing a multi-player game, where the game itself was changing constantly, the winning strategy was not important for players.

So much, as having a strategy in the first place.

Uh, I thought this was going to be on SEO

It is.

In a game of lets-get-on-top (on Google), all of us marketers are running circles trying to figure out the best SEO strategy.

We have seen many of the oft-quoted paradigms here –

  1. Content is king
  2. Great Link profiling
  3. Black Hat

What I am proposing is that it really does not matter which step you take … as long as you decide to take a step as per a strategy and then choosing to evolve your stance after you find out the result.

 

Taking a look at Jetpack Stats

Let me state upfront that I love Google Analytics. I use it at work in 13 Llama Interactive to measure the effectiveness of the campaigns that my team runs.

That being said, I will try and not be too biased about comparing Jetpack Stats to Google Analytics. As a marketer, the way I look at an analytics package is from an ability to extract a fair amount of data.

However, Jetpack Stats is on top of WordPress and available to all WordPress based sites which are connected to the WordPress.com site. This makes Jetpack Stats primary user base as bloggers.

Let’s see what Jetpack Stats has to offer.

The wp-admin Dashboard Integration

Jetpack Stats puts a nice pretty looking graph on the wp-admin Dashboard. This is how it looks like for my site –

Jetpack-Stats-on-wp-admin-Dashboard

Now, this is fairly similar to the Audience Overview you get when you check out Google Analytics.

Google-Analytics-Dashboard

Straight off the bat, I prefer Jetpack Stats overview as opposed to the one given by Google Analytics. Jetpack Stats also provides me with how my posts have performed this day, this report would be available in GA witin the Behavior section, the Site Content report.

The Top Searches that you see in the screenshot would have been helpful had it been accurate. Unfortunately, Google accounts for the majority of organic traffic on my site, and most of that traffic is encrypted. Thus, these keywords that you see (really, I rank for ‘big ass girl dunes’) are not a complete set!

Jetpack Stats does not talk to Google Webmaster Tools, which now is the only source of this keyword data.

Jetpack Stats Posting Activity

One awesome feature about Jetpack Stats is the posting activity screen –

Jetpack-Posting_Activity

This data is shown with a correlation of average traffic per day as well as traffic per month. You could always get this data in Google Analytics (here is a useful post I had written some time back – Google Analytics for Content Marketers).

It’s just this kind of insights that makes me keep Jetpack around for my measurement requirements.

Jetpack Stats vs Google Analytics

Jetpack Stats is a very lightweight tool and it would be useful for a simple blog. However the minute we enter the realm of finding user engagement and performance marketing, Jetpack simply does not have those features yet.

This is where Google Analytics shines through with its Event tracking.

Having said that, Jetpack Stats is an apt solution for a user who is more focused on the publishing process.

The tragedy behind Indian IT Services

Understanding Indian IT Companies (TCS, Infosys, Wipro, HCL Tech, TechM)

via Understanding Indian IT Companies (TCS, Infosys, Wipro, HCL Tech, TechM) —

An excellent infographic of the top IT/ITES providers in the country.

The bulk of the revenue comes from abroad, and this seems to be a problem. As technology keeps getting more simpler and easier to adopt, the reason to outsource the contract to another country will keep going down.

Combine this with the recent spate of visa issues, and you have one impending slump in the near future.

Google, GoDaddy and the HTTPS Conundrum

I like to stay active on this blog, and I love the constant tinkering on WordPress (right from identifying which plugins to install to customizing the theme).

This is one of the main reasons I am able to blog on a regularish basis. Obviously, since it’s a content driven site, the bulk of my traffic comes from Google Search.

So what’s wrong with that

The over dependence on organic search means for the blog to have more visitors, user engagement and comments – I have to try and follow the diktats of the market leader in Search. That’s Google.

I am a fan of most of Google’s work. However, the kind of hold they have on the search market means that publishers who want to be found on search have to work towards being search friendly. Google is all about Do No Evil, and I respect them for that. However, with the recent HTTPS update to their search algorithm, small time publishers are forced to relook at their hosting solutions.

GoDaddy and shared hosting

My site doesn’t get a lot of traffic, 2k-3k visitors a month. For that kind of traffic, a shared hosting plan is perfect. I have been using GoDaddy for quite some time now. Primarily, because most of my domains are within this account.

For the past 8 years or so, I have been using this account, I cannot complain about the service. I know it’s a shared hosting, and it has managed to meet my expectations.

Until now.

GoDaddy and HTTPS

The hosting plan I have is a simple plan and it does not support me having to install a custom SSL certificate. So much so that, even if I wanted to purchase a certificate from GoDaddy – I am not able to do so. Perhaps its a glitch in their interface.

I could get a Lets Encrypt certificate, and that’s what I have done for the 13 Llama Interactive site and for Harshaja’s blog. The problem with this approach is that both these sites are hosted on a DO instance. Where I can easily control the installation of the SSL certificate.

There is no simple option for doing that. GoDaddy support is of no use, and that leads me to a dead end.

Cloudflare can help

This is where a reverse proxy like Cloudflare helped. Atleast all the requests that are going to the site can be sent to an HTTPS version of the site. The lookup itself is done via Cloudflare and I have updated the website settings in my WordPress to serve from the HTTPS endpoint.

However, this kind of kills the wp-admin section. Thankfully through the REST API and Jetpack’s connection to WordPress.com I can still manage to post content.

So what can a publisher do?

At this juncture, I could simply shift my hosting and be done with it. It’s the easiest option. However, what about all those publishers out there who may not have such an option available to them.

There has to be a simpler solution to this mess.

Using Data Studio to create beautiful Reports

In the month of November 2016, Data Studio was made available for all users in India. The product was launched quite some time back, however, it was only accessible in the US and for premium Google Analytics 360 users.

However, as of today, anyone can use Google Data Studio to create dazzling reports that can be shared with teams and clients.

So how does one go about creating awesome reports?

That’s where Data Studio shines, it allows users to create one template which can be utilized across multiple data sources. I tried to create a quick report using one of the default templates provided, here’s a step by step guide on using Data Studio to create reports.

An update: As of 2nd Feb 2017, Data Studio has been declared a free product for everyone to use.

Adding a Data Source

First, we need to add our data source (in this case my site’s Google Analytics account) to the Data Studio.

Choose the Data Source menu from the Dashboard
Choose the Data Source menu from the Dashboard

Once you click on the menu, you would be directed to a screen listing all the data sources that you have added to your account.

Note, by default Google keeps some data sources in your account, so that one can practice on the product before moving on to your own data sources.

List of Data Sources
List of Data Sources

As all Google products, you can see the clear use of Material Design in this interface. Use the blue floating action button at the bottom right of your screen to add your own custom data source.

Connecting GA as Data Source
Connecting GA as Data Source

As the screenshot above shows, that most of the Google products can easily be integrated to this product. What’s more you can even use a MySQL database or a Google Spreadsheet (Excel ahoy!).

So, I could do most of my number crunching in existing styles, and use this tool only as a slick presentation layer.

After I press connect, this GA property of my site is now added to Data Studio as a source of data.

The minute you choose the right property, you would see all the dimensions and metrics that Google Analytics has. This is a pretty exhaustive list and you can import most of these into Data Studio.

GA Fields Imported as Dimensions and Metrics
GA Fields Imported as Dimensions and Metrics

Now that the important fields are linked (do check the respective fields you want to pull), we can go on to using a report template.

List of my Data Sources
List of my Data Sources

The screenshot shows the recently added data source. Great! We are all set to creating awesome reports!

Using Report Templates

We would be using the Acme Marketing template that’s there in the account. It broadly shows basic user level data in one simple report.

Keep in mind that Data Studio reports can span across multiple pages, but for this guide we are sticking to a one-pager.

Go back to your dashboard and choose the Acme Report template.

Acme Data Studio Template
Acme Data Studio Template

Click on the Use Template button, and now this is the most important point when it comes to using Data Studio report templates, choose your own data source.

Selecting the right Data Source
Selecting the right Data Source

Something for beginners to keep in mind again, is that if you choose the wrong data source (for e.g. of the default ones provided), then the report would be generated, however the data won’t be yours!

If in case, you have done this, it’s easy to change the data source after you have created the report.

Let’s move on to customizing the report

 

Customizing the Report
Customizing the Report

What I did was choose the Acme logo, and change it to the Big Fat Geek logo! A small change in the header color, and I have a branded look for the template.

This is what the finished report now looks like –

Finished Report
Finished Report

Using Data Studio

The cool part of Data Studio now shines through. What I have is a report which talks to data in real time. So I can change my data range, and my report updates!

This report can now be shared with my team or my reporting manager or clients without worrying about giving access to all the dimensions and metrics.

Data Studio Working Report
Data Studio Working Report

That’s all for today folks! It’s your turn to go and try out this tool and churn out spectacular looking reports.