Thursday, December 7, 2017

Page Load time by seconds by different pages


If you would like to see  

Page Load time by seconds by different pages from both front user and backend system data report through Google Analytics

Follow this to create the custom report:

New working team - Brand new start

To be honest, I am really grateful that I'm having a chance to work at IT department in Motovicity Distribution. All of my coworkers are easy-going and very committed to their responsibilities.

Tom (IT Manager) and Josh (Database Administrator / Assistant IT Manager): They have meetings sometimes, or just chat with each other setting up the next direction or solving this or that problem.

Steve (senior software developer): the way this 25-year-old guy programs is like the style that a tailor is sewing. All I heard is the sound that he's typing the keyboard. (Maybe I should tell him my comment😈)

Shova (junior software developer): a girl from Nepal, we both love bows (typical Asian style??????) and one day, at break time, we talked about the shapes of the diamond of the wedding rings. I like her wedding ring because the shape looks really nice with a diamond (not a fan of the wedding ring without anything on it, just one ring). Shova asked me, what shape do you like? Oval, circle, square or heart? "None of them," I said. Let me show you the picture of the shape I like. Shova looked at the picture "Water drop???" Then we googled it and it is indeed called "water drop wedding ring".

Justin (network engineer), the other Josh (system administrator) and Nick are in the IT operation and maintenance side. I see them stay in and out trying to solve the IT problems in all the other departments. 

Justin just put his whole box of tissue on my desk when I'm sick with running nose.
The other Josh showed me how to scan my document with their advanced printer.
Nick took me to the other departments to see how we can solve their email problems.

Will it be beneficial that I can be a Google Analytics Expert creating the data reports that the managers would like to see, also maintain the backend .NET system, at the same time, be handy to solve the operational problems whenever they need my help, connecting to the supply chain system applying my previous knowledge?

Whenever I passed the Sales department, the staff are always on the phone talking to their clients. Just walk slowly in case my footsteps won't bother them while they're on the phone.

One day, the internet was down, sales, marketing, accounting, finance, supply chain departments couldn't function properly. All I saw was that the whole IT department team were working together to detect the problems, check the reports. And the situation was controlled in a very short time. I still have a lot to learn.







I wish I can gain more experiences and make myself a more valuable asset for Motovicity Distribution

For the Ecommerce Tracking:

Steve (senior software developer), Shova (junior software developer), and I (data analyst) have been trying for the past three days. From the code I gave to Shova yesterday, we finally got one valuable data, but one data is not enough. We need a data report for 6 months.

Today, when I showed up, Steve said: "Shuting, I'm not familiar with how to Implement using the Data Layer in Google Analytics, could you please tell me more?"

At first, I showed the code of data layer to Steve. Steve thought for a while, "is there anything more specific related to E-commerce Tracking?"  Then I showed him this link

https://developers.google.com/tag-manager/enhanced-ecommerce.

Since I still haven't had the access to the backend system, I need to bother Steve and Shova to see what they can do to make the code integrate with the company's system. I really hope it will work at some point at the end of this week.

This is the third week I've been working with Motovicity Distribution.

In the first week, I created a report to show the traffic through various devices, for example, mobile, desktop and tablet.

In the second week, I worked on track all the buttons click report and it's been a little bit complicated

( to see the process in details: http://shutingcui.blogspot.com/2017/11/work-dairy-11292017-all-click-buttons.html)

In the third week, the developers and I work together trying to figure out how to make the Ecommerce Tracking data through Google Analytics, GTM (Google Tag Manager) integrate with the company's back system.

I wish I can gain more experiences and make myself a more valuable asset for Motovicity Distribution.



Wednesday, December 6, 2017

The full JavaScript code for EcommerceTracking with Google Analytics page view




<script>
(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','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-XXXXXX-Y', 'auto');
ga(‘require’, ‘ecommerce’, ‘ecommerce.js’);

ga('send', 'pageview');
ga('require', 'ecommerce');
ga('ecommerce:addTransaction', {
'id': '1234', // Transaction ID. Required.
'affiliation': 'Fresh Egg', // Affiliation or store name.
'revenue': '43.66', // Grand Total.
'shipping': '3', // Shipping.
'tax': '1.29' // Tax.
});
ga('ecommerce:addItem', {
'id': '1234', // Transaction ID. Required.
'name': 'Fresh Egg', // Product name. Required.
'sku': 'AB12345', // SKU/code.
'category': 'Blue eggs', // Category or variation.
'price': '22.33', // Unit price.
'quantity': '1' // Quantity.
});
ga('ecommerce:addItem', {
'id': '1235', // Transaction ID. Required.
'name': 'Analytics team', // Product name. Required.
'sku': 'AB12345', // SKU/code.
'category': 'Services', // Category or variation.
'price': '21.33', // Unit price.
'quantity': '1' // Quantity.
});
ga('ecommerce:send');
</script>




Reference: 

https://www.freshegg.co.uk/blog/analytics/how-to-set-up-ecommerce-tracking-in-universal-analytics

Tuesday, December 5, 2017

How to track Ecommerce in Google Analytics

I've been working on E-commerce tracking today.

(1)  I did all the settings in Google Analytics
Enable Ecommerce for a view
  1. Sign in with Google Analytics.
  2. Click Admin, and navigate to the view you want.
  3. In the VIEW column, click Ecommerce Settings.
  4. Set Enable Ecommerce to ON.
  5. Optional: Set Enable Related Products to ON.
  6. Click Next step.
  7. Click Submit.        

                                                                           
            
(2) I followed this instruction to set up the Enhanced E-commerce

 https://support.google.com/tagmanager/answer/6107169

(3) I received a message from Analytics:
your website is configured for E-commerce, but no recent transaction data is being received. Your site may not be tagged for E-commerce.

(4) I tried to follow

https://developers.google.com/analytics/devguides/collection/analyticsjs/enhanced-ecommerce#ecommerce-data

to find the solution

(5) I tried to


Insert Ecommerce Tracking Code

ga('create', 'UA-XXXXX-Y', 'auto');
ga('create', '
UA-XXXXX-Y', 'auto', 'clientTracker');

ga('send', 'pageview');
ga('clientTracker.send', 'pageview');
ga('require', 'ec');
ga('ecommerce:send');

(6) Shova, the programmer, is inserting the sample code now, we'll see if it's gonna work or not.




Thursday, November 30, 2017

I'll say hello to my favorite month tomorrow

December is my favorite month because Christmas is my favorite holiday. If I'm not at work, not at the computer lab working on the school projects, not hanging out with my best friend and boyfriend, just myself, I'm enjoying the "Countdown to Christmas" movies by Hallmark. The Christmas movies make me feel so warm inside and I love the peaceful moments alone.

There's a scene in a comedy that a guy introduces himself as Chris, and then a girl says so you're Christoper. Then the guys says no, my name is Christmas (everyone is surprised) because I feel so happy during Christmas and I wish every day is Christmas.

During Thanksgiving week, I fell behind at school, this week, I was trying so hard to catch up with all the school work, 2 weeks to go until the end of fall semester, good luck, shuting, just do it.

Yesterday, at work, my coworker, shova asked me "Shuting, how do you feel when you're at 30 years old?"  I replied, "I feel more calm, patient, responsible and just overcome my fears driving on the express way with my 20-year-old Toyota car." I drove on local for 5 days, each day 2 hours to work and 2 hours to come back, then I give up. It's not gonna work because my right knee feels so sore after driving so long. And when I started to drive on the express way, I realized expressway is totally my thing, I like the speed, maybe my car is a little bit shaking, but I felt very calm and relaxed on the express way instead of waiting for the red signs on local during the 4-hour-trip feeling so frustrated.

One of my classmates Ryan always wear Google shirt or Google hoodies in class, so I was just wondering if he works for Google. He said he didn't think his personality fit into Google's culture, and he got the shirt the hoodies during the Google tour. When we were working on the school projects in the computer lab as a group operating Microsoft Dynamics software to work on sales, purchase and inventory, the professor required us to add 3 clients to work on the whole process. After adding one client, I told Ryan the steps we just did to add the other 2 clients and he followed my instructions.  Ryan looked at me "there're 7 pages of the steps, we just did one, and now you're like a robot memorizing all the steps to instruct me to get the whole process done so quickly, you're a good fit in Google". I really appreciate what he just said👍

I watched Justice League with my boyfriend last week. Although it's a boring movie to me, I just like the feeling and style that wonder woman shows me. At the beginning of the movie,
















My boyfriend said" I know you wish you were her, but don't get too fantasy" (he knows me so well)

When I saw this scene,



















I was dying for her white dress, my boyfriend said "Probably the dress is custom made, one and only piece for the movie" (Then I searched online and he's totally correct), then he said "But let's get something similar to this style"

Also, I had a lot of seafood with my best friend Ivy and her mom on Thanksgiving. They know I love seafood so much, whenever we three together, they always cook seafood or take me to good seafood restaurants.

At last, I really appreciate everything I have in my life for now and wish everyone around me is happy and healthy.