Can someone explain in detail how to setup Google Adwords Conversion tracking and Google Analytics Conversion tracking. I see a lot of threads on this but none are clear differentiating between the two. I'm on V8.0
Can someone explain in detail how to setup Google Adwords Conversion tracking and Google Analytics Conversion tracking. I see a lot of threads on this but none are clear differentiating between the two. I'm on V8.0
Scott, isn't that what the GoogleTrackingCode topic is for?
By editing this field with the AdWords account code and setting the IncludeGoogleTrackingCode appconfig to true the appropriate AdWords conversion code is inserted into the site. Or at least it has been working that way for us and our clients.
In answer to the original question, by doing the following:
- Set Google.AnalyticsAccount appconfig to the appropriate Analytics value (your account))
- Set Google.EcomOrderTrackingEnabled appconfig to TRUE
- Insert GOOGLE_ECOM_TRACKING_V2 token into your skin template(s)
- Insert following code into the HEAD statement of your template(s)
C#/VB.NET Code:
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
you will enable Google Analytics in your site. This will include standard analytics information as well as goals and dollar amounts IF you mark it as an ecommerce site in Google Analytics.
EMM for AspDotNetStorefront - Communicate effectively with your customers