webdev

Measure Goals with Google Analytics

Lake in the north

In the last post “How To Use Goals and Conversions In Google Analytics” we saw what are the first steps to define a goal. Let’s go deeper and see how to customize it step by step.

The default dashboard

This is the dashboard you will see when you open Google Analytics. It’s giving you the most basic pieces of information. As this is just the starting point, we should customize it and improve it to show us the metrics that we care about. In our case, we will see how to add our ‘Goals’ dashboard. When it comes to monetization, we can translate our goal to monetary value and get in the dashboard the amount of money we were able to generate. In the photo below you can see the default dashboard you are getting in Google Analytics. Continue reading →

Standard
webdev

How To Use Goals and Conversions In Google Analytics

Data and the light

“In the past, one could get by on intuition and experience. Times have changed. Today the name of the game is data.”- Steven D. Levitt

In todays world, we must measure and analyze our data in order to continue and improve our performances. In this article, we will show how to leverage Google Analytics in order to improve monetization.

TL;DR

  • Conversion Rate is the percentage of prospective users who took a specific action you want.
  • Usability, messaging and performance are key factors that influence our conversions.
  • Use Google Analytic in order to gain important views.

Goals and Conversions

What is conversion rate?

Conversion Rate is the percentage of prospective users who took a specific action you want. It might be time spend on a page, registration to an event or completing a transaction. You can also give a Goal a monetary value (e.g. in an e-commerce site), so you can see how much that conversion is worth to your business. Continue reading →

Standard
Chrome, HTML5, JavaScript, webdev

Maximizing Your ROI On The Mobile Web

mobile devicesIt’s a mobile world.
The next 4B users are going to use the web only on mobile so we should think on their experience. Moreover, a lot of people are using the mobile web as discovery mechanism and when they land on our site we got the (one) chance to impress. The summary of the slides below will focus on two main aspects: performance and user experience. In the slides you can read on the 25 principles and how to work with them.

  • Performance
    Get content to the user as quickly.
    I think this formula used in Ilya Grigorik’s talk sums this up:

    Perceived performance = f(Expected Performance, 
                               UX, 
                               Actual Performance)
  • User Experience
    Optimize for the mobile device. So start your design from the small screen and move forward to a bigger one.

Here are tools that every web developer should use (or embrace the concepts that these tools promotes): Continue reading →

Standard
Chrome, HTML5, JavaScript, webdev

Web Fundamental Update

Here are the slides from a talk I gave at Campus TLV. It’s a summary of web fundamentals is offering developers at the first step of ‘building your first multi screen site‘.

If you would like to contribute to this important open-source project, please jump to our github repo: github.com/google/WebFundamentals

 

 

Standard
Chrome, JavaScript

The Little Prince And The Better Parts Of Javascript

The little price“It seems that perfection is attained not when there is nothing more to add, but when there is nothing more to subtract.”

In this (quality talk), Douglas Crockford talks on the better parts of JavaScript. As always, it’s an opinionated talk, so choose what you wish to take from it for your next project. There are many aspects that Douglas touch on, that are very helpful to any technology you are using. I truly like his opening from “The little prince” ‎- Antoine de Saint-Exupéry. Great points on software development and especially JavaScript’s holes you wish to avoid.

Btw, back at 2010 I’ve recommended his book – Times fly.


Standard
Chrome, HTML5, JavaScript, webdev

uptodate.frontendrescue.org just got a hebrew version

fed-uptodate-hebrewI’ve been contributing to this cool project: github.com/frontend-rescue/keep-up-to-date and today it’s live!

If you wish to check what are the best practices for front-end developers (in hebrew) this is your version: http://uptodate.frontendrescue.org/he/

Good luck.

Standard
Chrome, JavaScript, webdev

How To Create A RESTful API

Google APIs with picturesque app

If you wish to read the background on RESTful APIs It’s all started here.  You can look at some good examples for RESTful APIs from Google, Twitter and many others. In this post, I will try to focus on some important aspect that you want to keep in mind when you are building your next RESTful API. Btw, if you are looking on an efficient way to create it – Checkout my talk from last Google I/O. It’s over a year now, but still very relevant.

Main aspects to pay attention

Continue reading →

Standard
Chrome, mobile, webdev

A List Of Great Mobile Web Apps

mwa-examples 2014-08-21 14.16.36In the past, I gave few presentations on ‘Modern web apps‘ and each time I tried to show compelling examples.

Here is a new source (mobile web apps ftw) that might help you see what can be done (today) on the mobile web.
Few good examples to checkout:

  1. Weather App
  2. Lanyrd (For your next conferences).
  3. Stanford
  4. Financial Times
  5. Alerts in Israel (hebrew)
  6. Time Tracker (hebrew)
  7. GitHub
  8. Twitter
  9. Gmail

Another good site to get insperation is: mobile-patterns.com
If you have other great suggestions – please use the comments and I’ll add them.

Standard
JavaScript, webdev

YouTube Analytics Dashboard With Apps Script

player_apisThere are cases where you wish to collect statistics on your youtube videos or channel. There are few options to do it with YouTube API. As the YouTube’s API supports many languages you can choose the one that will work for your environment. In many of these options, you will need to develop a server side that will fetch the data and a front-end to present it and give the users option to query it. If you wish to dive deeper (e.g. specific metric on channel performance and videos statistics), you will need to work with YouTube Analytics API.

In this post, we will see a simple example to create a dashboard that will be updated on a daily basis. Since we wish to save ourselves from building (and maintaining!) a server side and a web app to access it, we will use the power of Google Apps Script (GAS) and Google sheets.

The Dashboard

Here you can find the “Dashboard example sheet”.
Feel free to copy it and work on your own version that is not in ‘read-only’ mode. Continue reading →

Standard
webdev

Git 101- Part 2 (A bit More Advance)

git-local-remoteAfter the first post on Git 101, here is a set of commands you will use after the first 15-20 minutes of working with it. Some are very useful (e.g. stash your work before you can commit it in order to go for a quick coffee when your code is not done) and some are a quite rare (e.g. setting up a git on a remote server). Good luck.

Update & Merge

Creating a branch (and switching to the new branch) in one line

git checkout -b "The new branch name"

  • git pull – to update your local repository to the newest commit. It will fetch and merge remote changes.
  • git merge – to merge another branch into your active branch (e.g. master).
    Remember that in both cases, git tries to auto-merge changes. IF you have conflicts, You are responsible to merge those conflicts manually by editing the files shown by git. After changing, you need to mark them as merged with
    git add
  • Preview changes before merging them
    git diff

Stash

Creating a stash (think of it as a temporary place, like a clipboard to save changes without marking them deep in history) of changes to allow you to switch branches without committing.

Continue reading →

Standard