📜 ⬆️ ⬇️

Analytics. Cat. Friday

This post is intended for the trained user Habrahabr and leading analysts of web agencies working with Google Analytics.

Three weeks ago, habrayuser centaurus published a post about its magnificent cats, which currently has 475 pluses, almost 100 thousand views and takes the honorable first place on the fifth page of the “Best posts of all time”.

We, the team of Buruk , decided that it was impossible to leave shaggy seals only for techies and added them to us in the issuance of flight options.
')
At first glance, our action is in no way connected with common sense, just as cats are not connected with air tickets and price comparisons. But! Even those who buy tickets regularly know that it’s really stressful. Each time the user is afraid to confuse the name, date of birth and date of validity of the passport. If several people are flying, then problems multiply. After choosing a flight (usually, there are several dozens of flight options for any route), you have to pay for the ticket, and this is stress again - check the currency to be debited, find the phone to enter the 3D Secure code, and so on.

Every purchase of an air ticket is stressful and must be dealt with. To solve this problem, during the day, the cat has been developed and implemented a stress relieving cat. The feature is shown in the illustration below, a live example can be viewed at the link .



After clicking on the pseudo link with the cat icon, the user sees a popup with the ability to continue the procedure, thank the developers, or refuse the cat services. It also provides the ability to go to the author's cat ru.iconka.com/cat-power



The introduction of any functionality requires an assessment - is it really in demand by users. Perhaps the developers live in their own, divorced from reality, the world and solve non-existent tasks.

For the analysis, a Google Analytics system from one small California company was used. Accounting was based on event'ov

Some code to organize accounting
//   GA (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','__gaTracker'); __gaTracker('create', ' ID', { 'storage': 'none', 'clientId': 'Id /' }); //     dummy  /** * Dummy analytics tracker function. * * @param {...} var_args */ function __gaTracker(var_args) {} //       namespace var SiteNamespace = window.SiteNamespace || {}; SiteNamespace._ga_cache = {}; /** *      * * @param {Boolean} once -   ""  * (   ) * @param {String} category -  * @param {String} action -  * @param {String} [label] -  * @param {Number} [value] -  */ SiteNamespace.trackGAEvent = function(once, category, action, label, value) { if (typeof __gaTracker === 'undefined') { return; } var cache = SiteNamespace._ga_cache; if (!cache[category]) { cache[category] = {}; } if (!cache[category][action]) { cache[category][action] = {}; } if (cache[category][action][label]) { if (once) { // track only first usage return; } } else { cache[category][action][label] = true; } var opts = { hitType: 'event', eventCategory: category, eventAction: action }; if (typeof label !== 'undefined') { opts['eventLabel'] = label; } if (typeof value !== 'undefined') { opts['eventValue'] = value; } __gaTracker('send', opts); }; 


As a result, the following analytical data were obtained:


Since the introduction, over 1600 people have been relieved of stress, thanks to them.

Among users, the majority decided to seriously relieve stress; more than 81% of users decided to continue relieving stress, viewing an average of 8.74546 cats per session.

Of those who continued watching, 95% (excellent!) Users were satisfied with the cats and said thank you, 20 people said thank you more than once.

About 31% of respondents admitted to the sympathy for dogs, and 21% were heather cats.

The study will be continued, and the number of those who have removed stress will increase.

Thank you, centaurus from Buruk and from satisfied users.

Source: https://habr.com/ru/post/193528/


All Articles