Monthly Archives: November 2012

HeartMath LLC: Surefire Stress Relief, Part 1: Breathing Through Your Heart

So if you find yourself feeling angry, mildly depressed, anxious or otherwise stressed, try this easy, free and quick technique for yourself to refuel your system:

Shift your attention to the area of your heart. Imagine your breath passing in and out through your heart area or the center of your chest as you slowly inhale and exhale. Breathe in an attitude of calm and balance, as if you were taking in an emotional tonic that takes off the rough edges. You can also try breathing in a feeling of gratitude or compassion — or whatever attitude you find most soothing. As you shift into the positive feeling, notice when you feel the release. You will likely feel genuine appreciation or compassion and the former uncomfortable physical sensations replaced by comforting, relaxed ones.

This exercise can be done in a quiet place or while walking, jogging, or — once you get familiar with it — even participating in a conversation.

I use this technique whenever I notice I am stressed to reboot my inner computer. Then I come back into balance and have more clarity about my next steps.


How this Moment Can Change the Rest of Your Life

If you have The Now Effect you may have found a “5 Step Cheat Sheet” in the Appendix that gives you ways to prime your mind toward the present moment and reinforce a certain way of being that you aspire to.

One of the five steps references controlling your environment. Just like signs on the road may help remind us to slow down or remind us of children crossing, we can put up signs with short verses in our day to day to remind us to be how we want to be.

Note: Check for auto-pilot reaction before moving on: Take a moment to check in with any judgments that might be arising right now. For example, “short verses? Is he nuts? How could that ever help me?” or “What is this, an affirmation?  Those never work.” Or “why am I even continuing to read this?” If anything like this arises, this is normal,  just take a moment to notice the automatic judgment, let it be, take a breath to help ground to the here and now and then gently continue on with the next paragraph.

Acclaimed author and teacher Thich Nhat Hanh uses short phrases all the time to support himself in being more present, grounded, and aware in daily life. He has taught this practice to medical professionals, psychologists, and students for many years now. He teaches the practices of walking and/or breathing and using these phrases to support us in calming our distressed minds and being more present to every day life.

I suggest reading these examples below and creating little signs in your environment at work and home that serve as reminders for you to automatically drop into more mindful moments throughout the day.

Short Verses

  1. You may take three steps while breathing in and say “Breathing in, I calm my body” and then with the following three steps “Breathing out, I relax.” You can then shorten this to saying “calm” as you breathe in, and “relax” as you breathe out.

  2. “Breathing in, I notice the colors all around me, breathing out, I smile.” Then shorten to “Breathing in, colors, breathing out, smile.” Even if we don’t feel like smiling, the simple act of doing a half-smile sometimes can change the tension in our faces, which in turn affects our mood.

  3. “Breathing in, I have arrived, breathing out, I am home.” Then shorten too “Breathing in, arrived, breathing out, home.” Have you ever had the experience where you were rushing home to relax? It doesn’t make sense and isn’t effective in calming the nervous system. Sometimes reminding ourselves that we have arrived to the present moment already and that we are home can help calm an anxious mind. We can then slow down and get home a few minutes later in a more collected and relaxed state.

  4. “Breathing in, I wash my hands, breathing out, may I use them wisely throughout the day.”  Shorten to, “Breathing in, washing, breathing out, wise hands.” This practice can not only bring appreciation to one of the unsung heroes of our bodies, our hands, but also reinforce the idea of being aware of all they do during the day and being more mindful with them.  This cultivation of appreciation can support us in feeling well.


Difference between correlation and causality

I just picked up on the “difference between correlation and causality” bullet. A good way of describing this difference is by saying that you cannot always assume causality from a set of correlating variables. 


For example, it would be fair to assume causality when looking at a correlation between a child’s age and a height. It would be fair to assume the causality of the increase in height was because of the child’s increasing age.


But you would probably exercise more caution is assuming causality between someone’s health and wealth for example. Does a person become more wealthy the healthier they are? or are they more healthy because of their wealth? The truth is probably lying in an underlying 3rd variable such as because they are more wealthy they could afford to take more exercise or eat better or be more educated about health.


So in the second example, it wouldn’t’ be fair to assume causality from just those variables. This is where you would start to use Multivariate testing to factor in the 3rd variables.


Email from Chris Elias, CAD Data Team Manager, DVLA

Automate Google Analytics Reporting using Google Apps Script – Analytics Blog

Many people have been asking for a simple way to put Google Analytics data into a Google Spreadsheet. Once the data is inside a Google Spreadsheet, users can easily manipulate Google Analytics data, create new visualizations, and build internal dashboards.

So today we released a new integration that dramatically reduces the work required to put Google Analytics data into any Apps Script supported product, such as Google Docs, Sites, or Spreadsheets.

Here’s an example of Google Analytics data accessed through Apps Script and displayed in a Google Spreadsheet.


Custom API Dashboards – No Code Required

We know that a popular use case of this integration will be to create dashboards that automatically update. To make this easy to do, we’ve added a script to the Spreadsheets script gallery that handles all this work – no code required. The script is called Google Analytics Report Automation (Magic).

This script is a great template for starting your own project, and we’ve had many internal Google teams save hours of time using this tool. Here’s a video demoing how to build a dashboard using this script:



You can find this script by opening or creating a Google Spreadsheet, clicking Tools -> Script Gallery and searching for “analytics magic”.

Writing Your Own Script

Of course many developers will want to write their own code. With the new Analytics – Apps Script integration, you can request the total visitors, visits, and pageviews over time and put this data into a spreadsheet with just the following code:

// Get Data.var results = Analytics.Data.Ga.get(    tableId,    startDate,    endDate,    'ga:visitors,ga:visits,ga:pageviews',    {‘dimensions’: ‘ga:date’});// Output to spreadsheet.var sheet = SpreadsheetApp.getActiveSpreadsheet().insertSheet();sheet.getRange(2, 1, results.getRows().length, headerNames.length)    .setValues(results.getRows());// Make Sandwich.

To get started now, read our Automated Access to Google Analytics Data in Google Spreadsheets tutorial. Also check out the Google Analytics Apps Script reference docs.

Solving Business Problems

Are you ready to start building solutions using Google Analytics and Google Apps Script?

We’d love to hear new ways you use this integration to help manipulate, visualize and present data to solve business problems. To encourage you to try out this integration, we are giving out Google Analytics developer t-shirts to the first 15 developers to build a solution using both APIs.

To be eligible, you must publish your solution to either the Chrome Web Store or the Spreadsheets Script Gallery and include a description of a business problem the script solves. We’ll then collect these scripts and highlight the solutions in an upcoming blog post. After you publish your script, fill out this form to share what you’ve built.

We’re looking forward to seeing what you can do with this integration.

Posted by Nick Mihailovski   profile

Nick is a Senior Developer Programs Engineer working on the Google Analytics API. In his spare time he likes to travel around the world.