Oct 27, 2010 at 2:23 PM
Edited Oct 27, 2010 at 2:43 PM
I am trying to add GA to my SL4 web site project in Blen 4; I had no trouble dragging the TrackAction to the frame element. However, when I try to drag the GoogleAnalytics behavior to my LayoutRoot Blend indicates "Not a valid target".
My workaround is to add a reference to 'Google.Webanalytics' and the following directly into the XAML of the navigation page:
Is this a Blend bug or is there an issue using a ScrollViewer as the LayoutRoot element with Google?
Sorry, I hit the save too soon.
The issue that I ran into after manually adding the Google behavior is that at runtime the GA behavior throws an exception of "Add value to collection of type 'System.Windows.Interactivity.BehaviorCollection' threw an exception. [Line: 26 Position: