Read Google Analytics Client ID(CID) Using Google Tag Manager and Assign to a Custom Dimension

Google Universal Analytics has introduced client id as the cookie variable. Client id is a unique identifier for each user or a browser. If we are able to track the cid as a custom dimension in the universal analytics then we can find the individual action of each visitor such as pageview, events etc…

With the each customer behavior, we can introduce the predictive analysis or data analysis to make actionable insights. Market basket analysis(associate rule) helps us to determine the common pages of each visitor before they complete a goal and such information lead us to create insightful remarketing campaign to expedite the conversion process through the funnel. Without knowing the each customer path, it is difficult to identify the value of a each page or identify commonalities of each customer path.

Through Google Tag manager we can read the cookie id of visitors and assign it to a custom dimension. Use following code in a custom html tag to read the cid

<script>
function readCookie(name) {
var nameEQ = name + “=”, ca = document.cookie.split(‘;’), i = 0, c;
for(;i < ca.length;i++) {
c = ca[i];
while (c[0]==’ ‘) c = c.substring(1);
if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length);
}
return null;
}
var user = readCookie(‘_ga’);
if (document.cookie.indexOf(“_ga”) >= 0) {
dataLayer.push({‘readCookie’: user});
dataLayer.push({‘event’: ‘Cookie Set’});
}
</script>

Afterward create a custom dimension as below

And create a rule as below to fire

Custom report can be used to read the report and to take insight

That is all for the cookie ID configuration and lets meet with another article to explain the user behavior analysis.

 

 

Google Analytics Smarter Remarekting Guide

Recently Google launched smarter remarketing with Google Analytics. Now we have three types of remarketing lists.

  1. General Remakreting
  2. Similar audience adwords
  3. Smarter remarekting Google Analytics

 

General remarekting

General remarekting lists can be built with Google Analytics or with Google Adwords. Advertisers are smart enough to leverage visitor data to target them timely with very relevant offers. In hotel industry we can capture searched date and target them until that date to reduce the unwanted cost and to maximize the ROI.

Similar Audiences

Once we create the audiences within Google Adwords, it automatically create the similar audience list based on visitor activities on other sites.

The “similar audiences” feature enables you to find people who share characteristics with your site visitors. By adding “similar audiences” to your ad group, you can show your ads to people whose interests are similar to those of your site visitors, which allows you to reach new and qualified potential customers.

AdWords looks at browsing activity on Display Network sites over the last 30 days, and uses this, along with our contextual engine, to understand the shared interests and characteristics of the people in your remarketing list.

Smarter Remarketing

Smarter remarekting use visitor engagement with other sites that allowed to share data anonymously. This is a good opportunity to target  visitors who visits competitor sites.

Smart Lists are built using machine learning across the millions of Google Analytics websites which have opted in to share anonymized conversion data, using dozens of signals like visit duration, page depth, location, device, referrer, and browser to predict which of your users are most likely to convert during a later visit.

Small smarter analytics guide will help you to built your first smarter remarketing campaign

Obama’s name and face photo can be used in Google ads

Google is to launch face photo option within the Google ads but funny thing is people can use fake photos to motivate users to buy their product. For an example they can use celebrity photo to review about beauty products.

I just created an image using Obama’s face to demonstrate the concept. Anyway I believe that they will create better ad solution as always.

 

 

 

Consider Attribution Model before Optimize for Offline Sales with Adwords

Google has introduced offline conversion tracking for Adwords. It is said to become a big influence in many businesses that deal with Adwords. We had a chance to measure offline conversions with universal analytics and import them to Adwords, but there were few difficulties to do so. Google Analytics records last click attribution on default reports so we need to look at multi-channel reports to identify the actual contribution from PPC.  Creating additional profiles and filters there are possibilities to identify PPC keywords without dealing with multi-channel reports but it isn’t a simple task to do.

This is great news for those who work with Adwords.  You will now be able to track offline conversions for Adwords without extra work being required with use of Google Analytics.  Click ID is a new element associated with offline conversion tracking. Click ID allows your website to assign a certain ID number to each lead that is received through your clicks, such as, sign ups and downloads. After your customer completed the conversion, your conversions can be directly uploaded by using the click ID so that Adwords can identify your conversion to show actual conversions and revenue. It is required that a primary key be used to “link” the offline sale to the online click and you may use email, passport id or phone number.

Benefits of offline conversion tracking are listed below:

  • Consider Actual sales value not leads
  • Understand the keywords that drive the most profitable sales
  • More accurate ROI picture
  • Manage bids and budget to drive actual sales

Here is an example of how it can work for you:

You own an online taxi service and you do your advertising using Adwords to help in generating your customer sales leads. A customer will request a quote from you first on your website; however, payment will not be received until you take the customer to their destination. In this situation, you must measure actual conversion with actual value. Up to now, you would be able to track all the leads with average order value not the actual sales. This is where this could be a big problem solver for you. Using offline tracking you could identify actual keywords that drove the sale.

How to use Adwords offline conversion tracking?

In the above example, the “Primary Key” can be the email address or phone number of each customer.

Don’t depend on Adwords Offline Tracking

Adwords offline tracking can be used to provide you with actual cost and actual income; however, this doesn’t always give you the final picture of what your total cost will be. If you have spent $100 on Adwords and that allows for $200.00 in sales and you also matched the sale using from Adwords offline conversion tracking. That shows you $100 in profit. But you would need to add all the cost that you spent on each channel to bring that sale.

When we analyze the multi-channel attribution with Google analytics, we can identify that there are other paid channels that helped to complete the conversion. This would show you that you don’t actually make $100 in profits from this even though Adwords said that you did. You must consider the cost of the other paid channels as well.

Above example shows that Social Media and Adwords are profitable when they consider as an individual channel but after plotting the sales path you will figure out the conversion isn’t profitable as you think.

Relying completely upon Adwords CPA is never recommended and it worths to look multi-channel attribution to understand the actual picture.

If you have any questions or suggestion please use comment box or contact me link.

Speaking Engagment with Google Day Sri Lanka

Google Sri Lanka has organized G|Day program to transfer and share knowledge to Sri Lankans. There were two sessions in the program, one program from GBG and another program from GDG that is Google Developer Group. I got an opportunity to speak in GDG about App analytic using Google Universal Analtycis. Audience had good understanding about Google Analytics but unfortunately only few developers had experience with implementation of Universal Analytics. I think the presentation will help them to uncover opportunities with universal analytics and to understand the importance of the data driven decisions. Readme.lk covered the entire session and included the speech in their blog http://readme.lk/gdays-gdg-liveblog/ (Find it below)

Dinesh now steps off stage and Niroshan, a seasoned Google Analytics specialist takes the stage to talk about how you can improve your app’s performance via analytics. According to Niroshan, in the life cycle of an app, marketing and monetizing is the hardest part of the life cycle.

Niroshan, gives an example of a famous hotel that used analyitcs, which resulted in the hotel’s sales gain a massive jump and also result in it getting an even larger revenue. Niroshan states that, when using analytics, it’s possible and important to measure and pay attention to data and before making big decisions.

Niroshan now moves on to talk about how to measure an app’s value which is by: understanding it’s value which is measured by downloads along with new/old users, engagement which is measured by app crashes and events, and finally the outcome which is basically how much money you get from the app.

Niroshan now moves onto talk about using  Universal analytics to measure app performance.

Niroshan kicks off his presentation by stating that it’s important to identify users across the multiple devices that we have today and relate any online and offline activites such as when users search for products online on a website and purchase the product offline, and also that it’s important to identify advanced user segments.

He later moved onto talk about some features of universal analytics which are: measurement protocol which allows data from different users to be obtained and client/user ID’s which can be assigned to unique people (thankfully we don’t see personal information coming into play).

According to Niroshan, with universal analytics, when properly implemented we can view data in the perspective of the user not just per visit view as app analytics alone shows.

Niroshan and Dinesh now wrap up their stage and step off after a short Q&A session.

 

Niroshan Google Day Sri LankaIMG_0292

CPA in Adwords/Facebook Could Be Misleading

Google Adwords are being utilized by advertisers to assist in the marketing of their products and their businesses. Optimization of the campaign raises the markup value as well as conversion volume. The successful way of running a business online is to use KPIs to measure success. The main parts of KPIs are volume and markup balance in order to promote as much profit as possible.

A crucial metric within Adwords or any type of paid advertising platform to optimize an ad campaign is the CPA. Almost all advertisers lean towards the use of CPA to assist in optimizing their campaigns to promote the highest profitability available. Advertisers are beginning to consider the profitability of using a form of CPA to measure keyword levels in Adwords or Facebook, however, advanced analysis of channel profitability through Universal Analytics have found that CPA in Adwords could be misleading to the advertiser and lead to less profits in campaigns. With the usage of Universal Analytics, there is the possibility of linking the online and the offline world and measure much more accurately allowing it to calculate a true CPA. There are certain keywords that can lead customers to purchase extra services, or add-ons, such as upgrades to products that they have already purchased. Using certain keywords can assist in increasing your profits by distributing a comparatively larger budget to them.

Multi-channel reporting helps to identify if customers are using more than one channel to complete the conversion. By taking a closer look at the Facebook advertising campaign, advertisers can identify the CPA but actually they need to dig into the multi-channel reports to check the total channel path and the total cost of a customer. If a customer use Adwords PPC in their conversion path then the CPA will change. You need to add Facebook cost plus Adwords PPC cost to find the true CPA. In this case Facebook may not profitable as Facebook CPA report says.

Find the live example explanation with the presentation

Track Paypal Conversion (100%) with Google Universal Analytics with The Demography

Universal Analytics TrackingI had a problem in my head for a long time about Adowrds conversion and PayPal payments. Both companies aren’t going together to help business owner to track PayPal payment as a conversion in Google Adwords and Google Analytics. There are two cases in PayPal transactions that we are experiencing

 

Customer pays via PayPal and he needs to perform an action ( Eg- download a ebook or software)

  • You can attached the tracking code to the download page(or action page)

Customer pays via PayPal and leave the PayPal ( This happens when you are providing a service)

Paypal Tracking using Google Universal Analytics

  • No action page
  • Customer leave PayPal page after they see the PayPal thank you page
  • Difficult to track conversions

In the second case you can’t just track all the conversion from Google Analytics or Google Adwords so you have three options.

  1. Track signups as the conversion
  2. Track successful PayPal redirection as the conversion (In my experience it is below that the 10% but it may vary)
  3. Track click event on the buy now button that redirects to PayPal – not accurate

As my experience above methods aren’t  accurate for the business that I’m dealing with so I just wanted to discover a new method. Suddenly Google Universal Analytics came up with bunch of new features including “Measurement Protocol“. From this I say we can track 100% conversions with additional dimensions such as gender, PayPal transaction amount etc..

Let’s take a real life example to describe the situation

  1. customer reaches the web site
  2. register on the the site – collect name, email via a form
  3. Call before perform the purchase
  4. pay via PayPal, amount can be different
  5. close the PayPal before redirecting the thank you page
  6. Agent give the service and collect additional data

Now time to track 100% conversions

Collect CID (32 bit Client ID from Google Analytics) from each visitor and pass that ID to PayPal via the registration form. Once the payment is completed, fire an offline event with the value through measurement protocol using same CID.  GUA will link the previous user session to the conversion and now you have actual earnings for each keywords and for each channel with all the dimensions.

From this method you can track conversions without any problem and definitely you need a developer to do this for you. In this case we used, Google Analytic to track conversions but you can import those conversion to Google Adwords by linking them. But we have a problem here that is Google Analytics gives credit to last click. To avoid this we have two options in the GUA.

  1. Exclude subdomains and referees
  2. Exclude organic keywords

Other than this method you can use noverride, multi channel analysis and GA tweaks to find the actual Adwords keyword.

 

 

Google Universal Analytics isn’t Linking Offline and Online User Properly

In this post I am going to show you GUA isn’t working to link offline user and online user unless we fire an offline event within the same session(30 min). After Google Universal Analytics beta version was announced by Google my head filled with new ideas and with new products. We started to build systems and programs to solve our day to day web analytics problems such as offline conversions and call tracking. So we did a small test to check the measurement protocol. As our test we figured out that GUA don’t link online and offline user sessions, unless we don’t fire an offline event within the same session(default 30min). This leads us to do extra work to link users who don’t convert(offline) within the same session.

Test 1: Fire an offline event within 30 min after online visit

  • Visitor came to the site trough Google organic using “keyword 1″
  • Our system extracted the user cid from GUA Cookie that was 343083239.1368612720
  • After 10 mins we fired an event as below

v=1                                                     // Version.
&tid=UA-XXXX-Y                                 // Tracking ID / Web property / Property ID.
&cid=343083239.1368612720          // Anonymous Client ID.

&t=event                                            // Event hit type
&ec=conversion                                // Event Category. Required.
&ea=play                                          // Event Action. Required.
&el=holiday                                      // Event label.
&ev=300                                          // Event value.

Result

GUA captured the event and linked with the online visit. When I select the “keyword” as the secondary dimension to the event, It showed me ” keyword 1″ So I succeed with the linking offline and online customer to same session.

 

Test 2 : Fire an offline event after 12 hours after online visit

  • Visitor came to the site trough Google organic using “keyword 2″
  • Our system extracted the user cid from GUA Cookie that was 804722253.1368616888
  • I fired an event after 12 hours using the same cid

v=1                                                     // Version.
&tid=UA-XXXX-Y                                 // Tracking ID / Web property / Property ID.
&cid=804722253.1368616888          // Anonymous Client ID.

&t=event                                            // Event hit type
&ec=conversion                                // Event Category. Required.
&ea=play                                          // Event Action. Required.
&el=holiday                                      // Event label.
&ev=300                                          // Event value.

Result

GUA captured the event and didn’t link with the previous visit. When I select the “keyword” from the secondary dimension to the event It showed me ” not set”. Again I selected the secondary dimension to “visitor type” it showed me the event as a new visitor.

Conclusion

GUA match offline event  with previous session(online visit), if and only if the offline events are sent during the 30 minute(default time) session. As a alternative method we can use custom dimension to link users so we have to store cookie id’s in our server and need to generate the custom dimension to each visit or you could increase session time to 4 hours(max).

I would be happy to know a solution and feedbacks. So just drop a comment or use contact us page.

 

 

 

 

 

Finish GAIQ(Google Analytics Individual Qualification) within 40mins with 90+ Marks

Recently I finished the GAIQ test with 90+ marks and became the third person in Sri Lanka. That is not a big case if you had hand on experience on Google Analytics. I recommend you to do it before GUA updates because you may not find sample questions. I have been working for four years with Google analytic and never though to do the exam but upon a request I finished it in last month.

What are the advantages by doing the GAIQ

  • You will receive a certification
  • You will be listed in the GA certified individual search
  • You will get an idea about each feature in GA so you can apply whenever you want

Resources that you should have before the exam

Take advantages from exam policies

  • You can pause the exam unlimited time and for maximum 5 days
  • You can search in Google while you are on the exam
  • You can check your Google Analytics account

You will get a certification as below  with a link to share

Don’t think too much just do it… Search google ” GAIQ Coupons” to find 50% off coupons..

 

 

Call Tracking with Google Universal Analytics over GA

last week I saw a post in Google Analytics twitter account saying call tracking with Google Universal Analytics. So I went there to see new inspiring articles bud it’s kind of misleading by saying advantage of GUA. I am very much interesting about these call tracking in Google Analytics with the all dimensions available because we are on a system that track each calls with all the available dimensions in GA such as

  • Calls breakdown with each country, region or city
  • Calls that lead to conversions
  • Ad Position that call received
  • Calls break down with traffic source, campaign, adgroup and keyword level
  • Time that call received(Variable on a event)
  • and more breakdowns with all other dimensions ( Shoot contact for more details)

Article link: goo.gl/vdVCx

From the article “We built our GUA integration using events as opposed to virtual pageview Goals.” So my concern is that we can do the same thing using GA with events. Simple you have to do is fire an event for each calls so you have all the data that you want in front of you. So I am very interesting on a article that explain what are the dimensions and reports GUA has over Google Analytics.

Site owner has approved my comment so I am waiting for the reply and addition to that I tweeted to service owner too.

P.S. I received a no follow back-link to my blog too :o