We have a site with EPiServer 7 cms and Commerce 1 R3 with all the commerce-performing templates built with webforms. Now we want to track the purchases with Google Analytics and would prefer the tracking done with EPiServer.Google.Analytics.Commerce.dll if possible.
So far I've followed the available instuctions on Example B (found under ~/VPP/Site/Modules/EpiServer.GoogleAnalytics/Commerce/commerce_readme.txt) and added the reference to to EPiServer.GoogleAnalytics.dll and added the codesnippet:
var order = Mediachase.Commerce.Orders.OrderContext.Current.GetPurchaseOrders(Mediachase.Commerce.Customers.CustomerContext.Current.CurrentContactId)
.FirstOrDefault(po => po.TrackingNumber == _poNumber);
Context.AddAnalyticsTransaction(order);
Besides that I've copied the dll into modulesbin which helped me to get rid request.timeouts (doh!). Unfortunately I am still unable to get any _gaq.push scripts rendered to my source. Am I missing something?
Hello
We have a site with EPiServer 7 cms and Commerce 1 R3 with all the commerce-performing templates built with webforms.
Now we want to track the purchases with Google Analytics and would prefer the tracking done with EPiServer.Google.Analytics.Commerce.dll if possible.
So far I've followed the available instuctions on Example B (found under ~/VPP/Site/Modules/EpiServer.GoogleAnalytics/Commerce/commerce_readme.txt) and added the reference to to EPiServer.GoogleAnalytics.dll and added the codesnippet:
Besides that I've copied the dll into modulesbin which helped me to get rid request.timeouts (doh!). Unfortunately I am still unable to get any _gaq.push scripts rendered to my source. Am I missing something?