Questions created by timvermeulen639
-
Offline conversions not as e-commerce transactions in universal analytics
I am working on a project to measure offline conversions with the new Universal Analytics from Google. When a lead gets the status "order" in my custom made lead management system, we sent the earlier grabbed Google client ID with the code below to Universal Analytics. The upload is working, although Analytics reports the conversion as an e-commerce transaction. I think the conversion must be uploaded as a analytics goal / event but I don't know what we can add to the code to let Analytics report it that way. Does anyone know how I can modify the code or Analytics settings to make sure that Google Analytics does not report it as eCommerce transaction? My code for uploading the Google Client ID to Analytics: <code>$ch = curl_init(); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_URL, 'http://www.google-analytics.com/collect'); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); curl_setopt($ch, CURLOPT_HTTPAUTH, CURLAUTH_ANY); curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; InfoPath.2; .NET CLR 2.0.50727)"); curl_setopt($ch, CURLOPT_POSTFIELDS, "v=1&tid=UA-XXXXXXXX-42&cid=379445656".urlencode('.')."1380816256&t=transaction&tr=123.00&ti=43388&z=".time()); curl_close ($ch);</code>
Reporting & Analytics | | timvermeulen6390