Skip to content

Commit b8da986

Browse files
chore: Move blocks that were incorrectly serialized
1 parent 499a0f3 commit b8da986

File tree

1 file changed

+10
-11
lines changed
  • src/connections/destinations/catalog/castle

1 file changed

+10
-11
lines changed

src/connections/destinations/catalog/castle/index.md

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,12 @@ Calls are now visible in Castle dashboards in real-time.
4747

4848
2. 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

7474
2. 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

103103
Segment sends Track calls to Castle as a `$custom` events.
104104

105-
***
106105

107106

108107

0 commit comments

Comments
 (0)