Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
DelcoigneYves committed Sep 24, 2016
1 parent 281c8b7 commit 8dd4547
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,13 @@ The current version does not include all features of the Google Analytics librar
## How to use
Check out the sample!

```C#
CrossAnalytics.Current.TrackerId = "XX-XXXXXXXX-X";
CrossAnalytics.Current.EnableAdvertisingIdCollection(true);
CrossAnalytics.Current.EnableAutoActivityTracking(false);
CrossAnalytics.Current.EnableExceptionReporting(true);
CrossAnalytics.Current.SetLocalDispatchPeriod(1);
CrossAnalytics.Current.TrackScreen("home");
CrossAnalytics.Current.TrackEvent("home", "click");
CrossAnalytics.Current.SetCustomDimension(1, "something");
CrossAnalytics.Current.SetCustomDimension(1, "something");
```

0 comments on commit 8dd4547

Please sign in to comment.