Saturday, 11 February 2012

Going Bananas over Mangoes and Oranges

What would you do if you launch few features in span of few days and you see that pageviews go down with them? A natural instinct goes for analysing the features that went in and to figure out what could cause pageviews dip. After all, features were supposed to help users to explore more and pageviews should increase.

A similar situation arose at CF sometime back.
  • A brief look at the features didn't suggest that they were worsening user experience.
  • Though some of the features were such that user could see more information one one page without actually having to go to more pages. (e.g. not having to click on page-2 and search-results getting auto loaded on scrolling down). This meant that pageviews could decrease, but overall user experience would be better.
  • This was strengthened by observation that avg page time spent on the pages had increased. So there was a sigh of relief that people are probably engaging more and hence finding relevant information without visting more pages.
  • It was strengthened by couple of more observations. Unique pageviews had increased in this time. Also, the key business metrics showed growth as well.
But these were not completely convincing for following reasons:
  • Dip was sudden on a particular date
  • Dip continued from that date onwards
  • Pageviews dip was much more significant than what those above mentioned features would cause because of ease of information availability. e.g. People going to page-2 were not very high anyway.
All this sounded like a very interesting puzzle, but clearly it required more time to analyse. Somehow I could not get the time required for this analysis for a while.

But this republic day I got on my system and thought lets look into it deeper.

Various perspectives ran in mind:
  • Did our SEO get bust because of recent changes in Google algorithm?
  • Did we do some marketing earlier which was stopped suddenly?
  • Did something break in google analytics?
  • Did our servers become slow ?
  • If it is some feature, then probably a particular kind of pages should see dip and not others

I checked SEO: Things were affected because of recent Google algo, but not so much, and not on a particular date anyway

No particular marketing activity emerged either.

Few days back we had fixed an issue related to google analytics code being repeated on pages, so that sounded like a possibility. But that had happened much after this dip.

Also, few days back there was a facebook api bug which was causing pageviews to get distorted. But the date on which it was fixed, didn't show any particular change related to this dip.

Checking which kind of pages saw the dip revealed few pages. Project Pages, Listing Pages, Property Search page, Subpages of property pages. (For sake of making it tad bit more readable, lets call them Mango, Orange, Banana, and Grapes pages)

Now this was interesting! Other pages had not shown significant dip. These pages did.

Now the thought went back towards "maybe it is some feature that is causing it, as only a few type of pages have been affected"

So came the natural thought of checking lets see what exactly went live on this particular black date (Trivia: This date was 6th December, which is considered as black day in India because of Babri Mosque Demolition, and consequential riots that took place on 6th December 1992).
Checked my emails. Resulted nothing particular that I didn't know.
Checked with Vinay. Nothing specific came out.

Then I went about analysing each pagetype individually (While Vinay continued to analyse SVN records to see if anything suspicious was to be found). All these pages showed similar dip, but very important learning was TRAFFIC TO THESE PAGES FROM GOOGLE HAD INCREASED.

Now, that's something !! So, only the traffic which was from other pages in CF to these pages had gone down. It has got to be some feature which is causing the dip. It was also strengthened by observation that Mango pages had not even been touched by the recent features.

So I went about analysing traffic from one page to another for these pages. As expected there was a dip in the traversals from one page to another. e.g. Mango -> Orange had about 5.5k traversals per week before this, and now it was about 3.6k traversals per week.

BUT, from this we can't conclude that those pages are behaving badly. Because the pageviews from Mango to Orange has gone down because overall pageviews have gone down as well. So we need to see the percentage of pageviews which result into traversals, rather than absolute numbers.

Alas, all these pages showed improvement in performance in terms of % traversals, except for minor drop in Orange to Mango and Banana pages.

This was not helping. It was not feature because % performance of the pages had improved.

I went back to the unique pageviews, and avg time spent (Probably to make myself feel good).

Important observations here were:
  • Unique pageviews had increased. (More people looking at one page)
  • Ratio of pageviews to unique-pageviews had decreased (Person taking a decision on a page in less views than earlier)
  • Avg time spent per page had increased
  • Total time spent had increased (Avg time spent per page X Pageviews)
I almost concluded that nothing was wrong. Things have actually improved.

Meanwhile, Vinay was researching on SVN. He couldn't find anything, but since he was curious, I shared some graphs with him. Nothing specific could come out.

Just in a bid to see example dip on a particular page, I went to some of the Mango pages and saw the behaviour on few specific top performing pages. There was clear dip, but without any pattern.

I was raking brains in various other directions, and was almost about to give up. There was a sense that things were good as unique pageviews had increased and total time spent was increased. But somewhere in mind there was a sense of not having solved the problem completely as some loose ends were still there.

In this brain-raking, I felt there is more to this. There might be some more pattern to it. Maybe there is a bug. Maybe this behaviour is for a particular type of people. Or from a particular type of source. e.g. particular connection network, particular browser etc.



I had a renewed energy. I thought maybe in IE also it might be specific to some version. Checked it. Yes it was the IE7!

My mind went through all the recent bugs of IE7. There was one important bug, but that was fixed a while back, and that didn't seem related to traffic too. Also, if there was some such big bug, QA would catch it.

I anyway thought of downloading IE7 and trying it myself. Downloaded it, and tried. But my system has very little memory, and it required a lot of memory and started hanging. So I let it be for sometime, and thought, will try it from office.

Meanwhile the analysis continued.

My mind went "Maybe in IE some pages don't behave the way the are expected to. Probably navigation from one page to another is not good in IE". I repeated my above analysis for IE7 traffic. Traversal data was same as above, so no big discovery there. Features were working fine on those pages.

But there was a striking observation there. Earlier the ratio of pageviews to unique pageviews used to be of range 15-20 in IE7, while now it was just above 2 !!

15-20 as the ratio ! Basically that means a person earlier was viewing each of those pages 15-20 times! And that is average! This sounded ridiculous. Avg of about 2 was still sounding okay. Another important stat here. Avg. time spent on these pages in IE7 was about 10-15 seconds before this dip, and after dip, it was about a min. or more.

It looked as if something was wrong earlier, and things have now come to normalcy. But what could it be? As mentioned earlier, the bug of including google analytics code twice was something that was fixed sometime back, but not when this issue occurred.

Anyway I concluded that things are fine. Its just that some pageviews and time-on-site calculation was haywire earlier (for some unknown reason). And now everything is fine.

But of course there was a curiousity to know what is the change that caused this numbers to become normal.

So next day when I went to office, I started taking Vinay's help again in determining what all changed on 6th Dec (or dates surrounding it).

Nothing worthwhile could be seen. But we anyway thought that lets just try on IE7 if everything was fine. Got IE7 downloaded and tried it.

Alas, behaviour in IE7 was BAD! Mango, Banana and one more page were taking forever to load in IE7. Almost like hanging. Basically the behaviour that I noticed at my home pc was not because of my pc having low memory. That was a real issue indeed!

How did QA not catch it? Well, because we used to test on IE9 with changing the compatibility modes to IE7 and IE8. I had always doubted if that will work correctly. Now we had a live case demonstrating that its not advisable to test that way.

It was quickly realised that this was a big issue. It was not very clear if this was the one which was had caused the dip. But it surely was very important as IE7 still brings a lot of visitors.

Now started the task of debugging whats going wrong here. Vinay, Ankush, Deep, Abinash and myself sat till late night and tried all possible ways of debugging, but couldn't catch the bug. We tried everything that we could think of at that hour. Disabling javascript, Partial disabling, Loading page from disk rather than server etc., but none helped. We also suspected if this was related to G+ API having some bug. Some more effort for couple of days was put on it but with no avail (Of course there were other issues too which had demanded people's time).

After few days of failure, Manickam took it up. He tried for couple of days himself but couldn't figure it out. We explored if there are some debuggers which could help us locate JS issues, in IE. Meanwhile Manickam sat tight with some more things in his mind in debugging it, and HE FOUND IT! It was some file which was causing the problem. Removing its reference made the page load much faster. Clap Clap! We later found that this file was for some fix in IE6. This shouldn't have any effect on IE7, but for IE7 and IE8, it makes pages slow if there are lot of images in it.

Now the QA took place for this and the fix was made live!

I was like "I can now marry in peace".

It went live and was curious to see the effect of the fix.The pageviews had increased for sure, but not as largely as they had dipped. I had kind of guessed it though because some questions are still unanswered:
  • was there even before 6th Dec. How did the issue start only on 6th Dec?
  • How do we explain ridiculous pageviews/unique-pageviews ratio that was there earlier?
  • What was causing avg times of <15 sec. on those pages?
  • Is it that google analytics was getting multiple requests at small intervals? Was page refreshing at those short intervals?
  • Is it just a statistics gone wrong issue, or a real issue where numbers have been impacted?
Writing this has taken long as well. :) Its 4AM now, and I am tired and sleepy, but still craving to know the answers.

More later.


  1. Great Article
    Cyber Security Projects

    projects for cse

    Networking Security Projects

    JavaScript Training in Chennai

    JavaScript Training in Chennai

    The Angular Training covers a wide range of topics including Components, Angular Directives, Angular Services, Pipes, security fundamentals, Routing, and Angular programmability. The new Angular TRaining will lay the foundation you need to specialise in Single Page Application developer. Angular Training

    1. Nice article. All the sections of your site covered with great functions. I really like the content and discussions on your site. Thanks a lot for allowing me to join. I love to see more about GB WhatsApp 2022. Keep sharing and updating. Also share more posts with us. Thank you.

  2. There are many blogs I have read. But when I read Your Blogs I have found such useful information, fresh content with such amazing editing everything is superb in your blog. Thank you so much for sharing this useful and informative information with us.

    medical store

  3. Thank you for sharing useful information with us. please keep sharing like this. You might like the following article also please visit us

    freedom fighters names

  4. Doing SEO, ranking your website and getting the outcome in your favor is the new trend that is dominating every marketing technique. For my business I also opt for SEO but these days my PhD is not allowing me to properly follow the search engine guidelines. That is why I am thinking to take help from the top PhD thesis writers in UK to sideline my PhD for a while and focus on my website’s SEO.

  5. 우리카지노사이트 더킹카지노 샌즈카지노 퍼스트카지노 예스카지노 슈퍼카지노 개츠비카지노 33카지노 월드카지노 메리트카지노

  6. 우리카지노사이트 더킹카지노 샌즈카지노 퍼스트카지노 예스카지노 슈퍼카지노 개츠비카지노 33카지노 월드카지노 메리트카지노

  7. 우리카지노사이트 더킹카지노 샌즈카지노 퍼스트카지노 예스카지노 슈퍼카지노 개츠비카지노 33카지노 월드카지노 메리트카지노

  8. 우리카지노사이트 더킹카지노 샌즈카지노 퍼스트카지노 예스카지노 코인카지노 33카지노 월드카지노 메리트카지노 개츠비카지노

  9. 우리카지노사이트 더킹카지노 샌즈카지노 퍼스트카지노 예스카지노 슈퍼카지노 개츠비카지노 33카지노 월드카지노 메리트카지노

  10. Excellent Blog! I would like to thank you for the efforts you have made in writing this post. Gained lots of knowledge.
    Data Analytics Course

  11. Awesome article. I enjoyed reading your articles. this can be really a good scan for me. wanting forward to reading new articles. maintain the nice work!
    Data Science Courses in Bangalore

  12. I bookmarked your website because this site contains valuable information. I am very satisfied with the quality and the presentation of the articles. Thank you so much for saving great things. I am very grateful for this site.

    Data Science Training in Bangalore

  13. I have voiced some of the posts on your website now, and I really like your blogging style. I added it to my list of favorite blogging sites and will be back soon ...

    Digital Marketing Training in Bangalore

  14. Wow, happy to see this awesome post. I hope this think help any newbie for their awesome work and by the way thanks for share this awesomeness, i thought this was a pretty interesting read when it comes to this topic. Thank you..
    Artificial Intelligence Course

  15. What an incredible message this is. Truly one of the best posts I have ever seen in my life. Wow, keep it up.
    AI Courses in Bangalore

  16. The Extraordinary blog went amazed by the content that they have developed in a very descriptive manner. This type of content surely ensures the participants explore themselves. Hope you deliver the same near the future as well. Gratitude to the blogger for the efforts.

    Machine Learning Course in Bangalore

  17. I found Habit to be a transparent site, a social hub that is a conglomerate of buyers and sellers willing to offer digital advice online at a decent cost.

    Artificial Intelligence Training in Bangalore

  18. I need to thank you for this very good read and i have bookmarked to check out new things from your post. Thank you very much for sharing such a useful article and will definitely saved and revisit your site.
    Data Science Course

  19. I am sure it will help many people. Keep up the good work. It's very compelling and I enjoyed browsing the entire blog.
    Business Analytics Course in Bangalore

  20. Your site is truly cool and this is an extraordinary moving article and If it's not too much trouble share more like that. Thank You..
    Digital Marketing Course in Hyderabad

  21. Thank a lot. You have done excellent job. I enjoyed your blog . Nice efforts
    Data Science Certification in Hyderabad

  22. This was strengthened by observation This meant that pageviews could decrease, but overall user experience would be According to a survey, about 78 per cent of students in the United Kingdom are doing side jobs in order to manage their daily living expenses and tuition fee.
    Dissertation Writing Services

  23. I am really enjoying reading your well written articles. I am looking forward to reading new articles. Keep up the good work.
    Data Science Courses in Bangalore

  24. I feel very grateful that I read this. It is very helpful and very informative and I really learned a lot from it.
    Data Analytics Course

  25. Very good message. I stumbled across your blog and wanted to say that I really enjoyed reading your articles.
    AI Courses in Bangalore

  26. If you’re running your business on Microsoft Dynamics AX 2009 or 2012, you are no doubt aware that both software products are approaching the end of their life-cycles. Microsoft is ending Mainstream Support for Dynamics AX 2009, Dynamics AX 2012, and AX 2012 R2 this year and for AX 2012 R3 in 2021. That means no more security updates, hotfixes, warranty claims, design changes, features requests, and self-service support. You can purchase extended support. But be aware that extended support for AX 2009, AX 2012, and AX 2012 R2 ends in 2021. For AX 2012 R3, it will be available until 2023.

    If your business is thinking of upgrading from AX2012 to the latest Dynamics 365version, we recommend a complimentary Dynamics 365 upgrade assessment and cloud migration estimate. With the continuous releases we are seeing from Microsoft, this could be your last upgrade. The complimentary Microsoft Dynamics AX upgrade assessment Nevas Technologies offers to users has helped other businesses tackle obstacles.

  27. If I were you, I'd ask my visitors for their feedback before launching new features. This allows the graph of pageviews to go up instead of down. Buy Dissertation Online

  28. Simply the article is awesome

    Visit convert images to PDF by phone to get tips and tricks of Technology, Android, Websites and others.

    Visit turn off comments on Instagram posts to get tips and tricks of Technology, Android, Websites and others.

    Visit restore deleted Instagram posts to get tips and tricks of Technology, Android, Websites and others.

    Visit reopen recently closed tabs on chrome

    Visit chrome tips and tricks

    Visit delete Instagram and Facebook permanently

    Visit delete Instagram and Facebook permanently

  29. Simply the article is awesome
    Visit Tech News to get tips and tricks of Technology, Android, Websites and others.

  30. I recently came across your article and want to express my admiration for your writing skills and your ability to get readers to read from start to finish.
    AWS Course in Hyderabad

  31. Especially if you’re unfamiliar with the different types jackets and coats than we are here only to provide you our real leather winter sale at your doorstep worldwide.

  32. Whether you’re running laps around the park or having coffee with friends, a baseball leather jackets can make an excellent option.

  33. Excellent work done by you once again here and this is just the reason why I’ve always liked your work with amazing writing skills and you display them in every article. Keep it going!
    Data Analytics Courses in Hyderabad

  34. Tesekkurler bu degerli muzlar ile ilgili konu basliginiz icin. Gecenler de canlı tv izlerken karşıma bu sayfa çıktı ve hemen ziyaret ettim.

  35. Your website is really cool with great inspiring articles and thanks for sharing this amazing and educative blog post!
    Cloud Computing Courses in Hyderabad

  36. I am always searching online for articles that can help me and you made some good points in Features also. Keep working, great job
    Data Science Training