From 8dd45472c14c19dd4bc8e4328e8df93e5644ac15 Mon Sep 17 00:00:00 2001 From: Yves Delcoigne Date: Sat, 24 Sep 2016 17:19:07 +0200 Subject: [PATCH] update readme --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index c6a18a4..f11ba61 100644 --- a/README.md +++ b/README.md @@ -7,6 +7,7 @@ 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); @@ -14,4 +15,5 @@ CrossAnalytics.Current.EnableExceptionReporting(true); CrossAnalytics.Current.SetLocalDispatchPeriod(1); CrossAnalytics.Current.TrackScreen("home"); CrossAnalytics.Current.TrackEvent("home", "click"); -CrossAnalytics.Current.SetCustomDimension(1, "something"); \ No newline at end of file +CrossAnalytics.Current.SetCustomDimension(1, "something"); +``` \ No newline at end of file