tag:blogger.com,1999:blog-563071785757928434.post5552923905915139800..comments2024-02-21T08:31:04.853+01:00Comments on Kodierer [Coder]: Tracking Sales Statistics with the Silverlight Analytics Framework for Windows PhoneRene Schultehttp://www.blogger.com/profile/12777157871967896549noreply@blogger.comBlogger27125tag:blogger.com,1999:blog-563071785757928434.post-22417200944438314072011-05-10T07:31:40.254+02:002011-05-10T07:31:40.254+02:00Thanks. This is what exactly i needed and it just ...Thanks. This is what exactly i needed and it just took some minutes to implement but ofcoursei could only see results a day later in my google anlaytics account.Roshanhttps://www.blogger.com/profile/15924357637008419487noreply@blogger.comtag:blogger.com,1999:blog-563071785757928434.post-20589210337811307922011-04-12T08:38:04.280+02:002011-04-12T08:38:04.280+02:00I tried everything that is said in this post and i...I tried everything that is said in this post and it really works for me. I want to thank you for sharing this very useful post.google analyticshttp://www.freshegg.com/noreply@blogger.comtag:blogger.com,1999:blog-563071785757928434.post-6511798166651648162011-04-12T08:36:21.857+02:002011-04-12T08:36:21.857+02:00Such a great post.Such a great post.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-563071785757928434.post-20836186602159946042010-12-08T22:01:40.929+01:002010-12-08T22:01:40.929+01:00Dunno. Maybe you can find an answer at the MSAF Fo...Dunno. Maybe you can find an answer at the MSAF Forums.Rene Schultehttps://www.blogger.com/profile/12777157871967896549noreply@blogger.comtag:blogger.com,1999:blog-563071785757928434.post-70573953623242758792010-12-08T21:49:25.738+01:002010-12-08T21:49:25.738+01:00so...
AnalyticsEvent analyticsEvent = new Analyti...so...<br /><br />AnalyticsEvent analyticsEvent = new AnalyticsEvent(); analyticsEvent.ObjectName = label;<br /><br />or am I confused?Rogerhttps://www.blogger.com/profile/15276229034899523907noreply@blogger.comtag:blogger.com,1999:blog-563071785757928434.post-51689302251258134482010-12-08T09:09:43.790+01:002010-12-08T09:09:43.790+01:00Hi Roger,
you can find the complete mapping in th...Hi Roger,<br /><br />you can find the complete mapping in the MSAF docs:<br />http://msaf.codeplex.com/wikipage?title=Google%20Analytics&referringTitle=Home<br /><br />"The Event Tracking Label field corresponds to the name of the TrackAction parent object."Rene Schultehttps://www.blogger.com/profile/12777157871967896549noreply@blogger.comtag:blogger.com,1999:blog-563071785757928434.post-22331448291244794882010-12-08T05:05:57.578+01:002010-12-08T05:05:57.578+01:00Rene, thanks for this post!
I have google analyti...Rene, thanks for this post!<br /><br />I have google analytics working with both a SL4 app and a WP7 app. I am getting categories and actions recorded under events as expected, but what about labels?<br /><br />http://code.google.com/apis/analytics/docs/tracking/eventTrackerGuide.html#LabelsRogerhttps://www.blogger.com/profile/15276229034899523907noreply@blogger.comtag:blogger.com,1999:blog-563071785757928434.post-16565281975107994932010-12-07T10:37:54.311+01:002010-12-07T10:37:54.311+01:00Set WebAnalyticsService.IsPageTrackingEnabled=&quo...Set WebAnalyticsService.IsPageTrackingEnabled="False" in the App.xaml definition. Then the MSAF only tracks the Activated, Deactivated and Started events automatically. Unfortunately this can't be disabled AFAIK.Rene Schultehttps://www.blogger.com/profile/12777157871967896549noreply@blogger.comtag:blogger.com,1999:blog-563071785757928434.post-72751958692905469382010-12-07T02:04:23.495+01:002010-12-07T02:04:23.495+01:00Excellent! I have this working well. I wait to rep...Excellent! I have this working well. I wait to report the launch until they are on a menu screen, so they should not notice any delay.<br /><br />I am seeing an event category in Google Analytics for 'Open' and 'Close'. How can I eliminate these?Rogerhttps://www.blogger.com/profile/15276229034899523907noreply@blogger.comtag:blogger.com,1999:blog-563071785757928434.post-64246151753030794132010-12-07T01:38:29.727+01:002010-12-07T01:38:29.727+01:00oops.. my comment got scrubbed
the xmlns 'ga&...oops.. my comment got scrubbed<br /><br />the xmlns 'ga' is missing in the code for the app.xamlRogerhttps://www.blogger.com/profile/15276229034899523907noreply@blogger.comtag:blogger.com,1999:blog-563071785757928434.post-79176380418824080362010-12-07T01:36:54.587+01:002010-12-07T01:36:54.587+01:00This comment has been removed by the author.Rogerhttps://www.blogger.com/profile/15276229034899523907noreply@blogger.comtag:blogger.com,1999:blog-563071785757928434.post-12961819303149723202010-11-24T09:36:50.311+01:002010-11-24T09:36:50.311+01:00Hi Coose,
what should I say, it works for me and ...Hi Coose,<br /><br />what should I say, it works for me and I have no clue why it's not working for you.<br /><br />Please go through the steps again and make sure the manual tracking with the AnalyticsHelper.Track method is called.<br /><br />I used revision 63020 of the MSAF. Maybe you should download the code of this revision and build it on your own:<br />http://msaf.codeplex.com/SourceControl/changeset/changes/63020<br /><br />Keep me updated if it works then.Rene Schultehttps://www.blogger.com/profile/12777157871967896549noreply@blogger.comtag:blogger.com,1999:blog-563071785757928434.post-78728432391025325912010-11-24T08:00:30.123+01:002010-11-24T08:00:30.123+01:00I'm having the same problem with the WP7/Start...I'm having the same problem with the WP7/Started events only. Followed instructions with copy/paste...still no result. Tried it on emulator and two devices. :(Coosenoreply@blogger.comtag:blogger.com,1999:blog-563071785757928434.post-26970182385772200642010-11-17T11:57:33.848+01:002010-11-17T11:57:33.848+01:00Hi techsage,
It works for me and I did exactly th...Hi techsage,<br /><br />It works for me and I did exactly the same as I wrote above. I know others where it also works fine. <br />There's not much I can do.<br />You should go through it again and also see the MSAF CodePlex forum.Rene Schultehttps://www.blogger.com/profile/12777157871967896549noreply@blogger.comtag:blogger.com,1999:blog-563071785757928434.post-13132011949924153362010-11-17T05:17:43.545+01:002010-11-17T05:17:43.545+01:00Rene,
Do you have any advice for my problem above ...Rene,<br />Do you have any advice for my problem above of only getting WP7 Started events and no others? Someone else replied on the MSAF Codeplex Discussion thread I started that they are having the same issue.techSagenoreply@blogger.comtag:blogger.com,1999:blog-563071785757928434.post-90903812415571617852010-11-15T09:12:27.080+01:002010-11-15T09:12:27.080+01:00As I wrote above, you should set IsPageTrackingEna...As I wrote above, you should set IsPageTrackingEnabled="False" in the WebAnalyticsService to avoid that each page navigation is tracked. I also described how to add the needed GA namespace definition. <br /><br />Please read it carefully.Rene Schultehttps://www.blogger.com/profile/12777157871967896549noreply@blogger.comtag:blogger.com,1999:blog-563071785757928434.post-52421928732447731492010-11-15T02:31:32.891+01:002010-11-15T02:31:32.891+01:00for some reason my whole app got much slower when ...for some reason my whole app got much slower when implementing this. does anyone have the same problem? also i had to add a "ga:" in the app.xaml file before the GoogleAnalytics... is that normal? <br /><br />ga:GoogleAnalytics WebPropertyId="UA-xxxxx-x"Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-563071785757928434.post-35009678069847972952010-11-12T18:49:14.843+01:002010-11-12T18:49:14.843+01:00I am only getting a WP7 Started. I've followe...I am only getting a WP7 Started. I've followed the above instructions closely and also looked at the How To... in the MSAF Docs and tried a few things, but no change. Any suggestions?techSagenoreply@blogger.comtag:blogger.com,1999:blog-563071785757928434.post-41755997269505266032010-11-12T00:45:57.979+01:002010-11-12T00:45:57.979+01:00You need to add:
using System.ComponentModel.Compo...You need to add:<br />using System.ComponentModel.Composition.Hosting;<br />to your AnalyticsService class that is mentioned in the article above.techSagenoreply@blogger.comtag:blogger.com,1999:blog-563071785757928434.post-76197820138101087802010-11-12T00:36:12.171+01:002010-11-12T00:36:12.171+01:00A note: In version 1.4.9 of the Silverlight Analyt...A note: In version 1.4.9 of the Silverlight Analytics Framework, the library that this article refers to as System.ComponentModel.Composition is actually listed as simply ComponentModel when adding the reference and then displays as System.ComponentModel.Composition in the list of preject references.techSagenoreply@blogger.comtag:blogger.com,1999:blog-563071785757928434.post-45089070910139120512010-11-03T20:55:11.824+01:002010-11-03T20:55:11.824+01:00Hi Anonymous,
Yes, the WebPropertyId is used dire...Hi Anonymous,<br /><br />Yes, the WebPropertyId is used directly. No need to supply an URL. The web site is only needed once for activation (see above).<br /><br />And no, you don't need a suppression exclusion. The line you copied is just a suppression for Visual Studio's code analysis (FxCop).Rene Schultehttps://www.blogger.com/profile/12777157871967896549noreply@blogger.comtag:blogger.com,1999:blog-563071785757928434.post-81148089877268008722010-11-03T20:50:49.742+01:002010-11-03T20:50:49.742+01:00Couple of questions:
1. Does the framework log st...Couple of questions:<br /><br />1. Does the framework log stuff directly to GoogleAnalytics using the Analytics ID (I cannot see where the URL that we setup is refferenced in the phones' code, so I am guessing this must be the case?)<br /><br />2. When we upload our apps using this framework do we need to request an supression exclusion? (I noticed that the WP7DataCollector.CS uses the following line:<br /><br /> [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Reliability", "CA2000:Dispose objects before losing scope", Justification = "Object is disposed in Dispose method.")]<br /><br /><br />With apologies if these questions are a little dumb (sometimes I can achieve a lot with just a little knowledge - maybe a dangerous thing!)Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-563071785757928434.post-52108376325995546552010-11-03T10:22:00.120+01:002010-11-03T10:22:00.120+01:00Hi PokerDIY,
The MSAF only tracks the Activated, ...Hi PokerDIY,<br /><br />The MSAF only tracks the Activated, Deactivated and Started events automatically if you set IsPageTrackingEnabled to False. And you can only track manually if the app is connected to Wi-Fi.<br />(Both is covered in the above post)<br /> <br />However, I agree that it would be nice to have a MSAF property to disable tracking when not connected to Wi-Fi. I started a discussion at the MSAF CodePlex site:<br />http://msaf.codeplex.com/Thread/View.aspx?ThreadId=233281Rene Schultehttps://www.blogger.com/profile/12777157871967896549noreply@blogger.comtag:blogger.com,1999:blog-563071785757928434.post-73829948701543204402010-11-03T10:04:45.157+01:002010-11-03T10:04:45.157+01:00With the MSAF framework on a phone, if you are not...With the MSAF framework on a phone, if you are not using wifi, does it make a datacall every time you hit a page, or does it batch them together and send them once a day (something like what it does when running OOB). I think my users would be annoyed if it kept connecting to the internet on every single page... however it is sent it once a day or something it would be better...Anonymoushttps://www.blogger.com/profile/11437424193872106774noreply@blogger.comtag:blogger.com,1999:blog-563071785757928434.post-48247824280691115362010-11-02T23:40:31.452+01:002010-11-02T23:40:31.452+01:00Here is a nice comparison of the analytics being o...Here is a nice comparison of the analytics being offered by Microsoft and the Silverlight analytics framework by its author at Microsoft in his blog http://blogs.msdn.com/b/synergist/archive/2010/11/02/dotfuscator-for-windows-phone-released.aspxAnonymousnoreply@blogger.com