File tree Expand file tree Collapse file tree 1 file changed +10
-11
lines changed
src/connections/destinations/catalog/castle Expand file tree Collapse file tree 1 file changed +10
-11
lines changed Original file line number Diff line number Diff line change @@ -47,12 +47,12 @@ Calls are now visible in Castle dashboards in real-time.
4747
48482 . Next, add the Castle destination to your analytics instance:
4949
50- ```swift
51- let analytics = Analytics(configuration: Configuration(writeKey: "<YOUR_WRITE_KEY_HERE>"))
52-
53- let castleDestination = CastleDestination(userJwt: "<USER_JWT>")
54- analytics.add(plugin: castleDestination)
55- ```
50+ ``` swift
51+ let analytics = Analytics (configuration : Configuration (writeKey : " <YOUR_WRITE_KEY_HERE>" ))
52+
53+ let castleDestination = CastleDestination (userJwt : " <USER_JWT>" )
54+ analytics.add (plugin : castleDestination)
55+ ```
5656
5757
5858### Android
@@ -73,10 +73,10 @@ Calls are now visible in Castle dashboards in real-time.
7373
74742 . Next, add the Castle destination to your analytics instance:
7575
76- ```kotlin
77- analytics = Analytics("<YOUR WRITE KEY>", applicationContext)
78- analytics.add(plugin = CastleDestination(userJwt = "<USER_JWT>"))
79- ```
76+ ```kotlin
77+ analytics = Analytics (" <YOUR WRITE KEY>" , applicationContext)
78+ analytics.add (plugin = CastleDestination (userJwt = " <USER_JWT>" ))
79+ ```
8080
8181
8282## Page
@@ -102,7 +102,6 @@ analytics.track('Added to Cart')
102102
103103Segment sends Track calls to Castle as a `$custom` events.
104104
105- ***
106105
107106
108107
You can’t perform that action at this time.
0 commit comments