Solved

GA Google Analytics -   top-level question for "e-commerce"

Posted on 2014-02-01
4
518 Views
Last Modified: 2016-02-24
A client has the GA JS code inserted for analytics, and it has their UA-123456 acct number.
This HTML/JS snippet is on all their pages, including the one-page creditcard purchase page.
In addition on the creditcard purchase page, there are two additional snippets:
googleadservices.com...conversion.js  and a snippet containing a conversion_id number.
The above three snippets were provided by them for us to insert into the HTML.

they are now asking for e-commerce  tracking.   i'm not familiar with all the aspects of GA, and am wondering what is missing?

Below are the three snippets that exist.

<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','//www.google-analytics.com/analytics.js','ga');
 
  ga('create', 'UA-nnnnnnn-1', 'theirDomain.com');
  ga('send', 'pageview');
 
</script>
 
 
<!-- Google Code for subscription sale Conversion Page -->
<script type="text/javascript">
/* <![CDATA[ */
var google_conversion_id = nnnnnnnnnn;
var google_conversion_language = "en";
var google_conversion_format = "2";
var google_conversion_color = "ffffff";
var google_conversion_label = "xxnnxxnnxxnn"; var google_conversion_value = 0; var google_remarketing_only = false;
/* ]]> */
</script>
<script type="text/javascript"
src="//www.googleadservices.com/pagead/conversion.js">
</script>
<noscript>
<div style="display:inline;">
<img height="1" width="1" style="border-style:none;" alt=""
src="//www.googleadservices.com/pagead/conversion/nnnnnn/?value=0&label=xxnnxxnnxx&guid=ON&script=0"/>
</div>
</noscript>
0
Comment
Question by:willsherwood
  • 2
  • 2
4 Comments
 
LVL 20

Accepted Solution

by:
edster9999 earned 500 total points
ID: 39826852
E-Commerce tracking - means track people through the buying process.
First step is to add the code to EVERY page the user would go to.
No you can trace the follow through - how many people get to page 'checkout' and then either drop the cart or turn back to do something else.
If they use Google adverts, link the two together and then you get values like 'how much you paid per transaction'
There is a setting where you can also specify the value of the cart or the item and send that to google and that also shows up in the analytics.
0
 

Author Comment

by:willsherwood
ID: 39827011
the first script does appear on every page.
the second and third only appear on the e-commerce page.
are you saying that ALL THREE need to be on every page in the website?

thanks!
0
 
LVL 20

Expert Comment

by:edster9999
ID: 39827430
No thats about right.  The last script should only be on the bit where they finish the transaction.  Then you know if it is done.  You need to update the value bits so you know how mush they spent etc (thats what I was talking about above)
0
 

Author Closing Comment

by:willsherwood
ID: 39827575
many thanks!
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Explore the encryption capabilities built into Google Apps and how these features can help you meet privacy policy and regulatory compliance, but are not a full solution. Understand and compare the most popular email encryption services for Google A…
For many of us, the  holiday season kindles the natural urge to give back to our friends, family members and communities. While it's easy for friends to notice the impact of such deeds, understanding the contributions of businesses and enterprises i…
This Micro Tutorial demonstrates in Google Analytics how to create a custom report that shows you traffic over time using the month of year dimensions. There are also instructions on how to fix Google's odd month of year formatting, which Microsoft …
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now