Skip to content

Commit d2f14de

Browse files
authored
spacing [netlify-build]
1 parent 2976fd9 commit d2f14de

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

src/getting-started/02-simple-install.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,8 +191,10 @@ configuration.recordScreenViews = YES; // Enable this to record screen views aut
191191
<br>
192192
To keep the Segment SDK lightweight, the `Analytics` pod only installs the Segment library. This means all of the data goes first to Segment's servers, and is then forwarded to any destination tools which accept the data _from Segment_.
193193
<br>
194+
<br>
194195
Some destinations don't accept data from the Segment servers, and instead require that you collect the data from the device. In these cases you must bundle some additional destination code with the Segment SDK. This document skips over this part, but you can see the instructions on [how to bundle the destination tools](/docs/connections/sources/catalog/libraries/mobile/ios/#about-mobile-connection-modes).
195196
<br>
197+
<br>
196198
Now that the SDK is installed and set up, you're ready to start making calls.
197199
<br><br>
198200

@@ -212,12 +214,13 @@ This call identifies Michael by his unique user ID, `f4ca124298`, which is the o
212214
<br><br>
213215
> info ""
214216
> When you put the code in your iOS app, replace the hard-coded trait values with variables that represent the details of the user that's currently signed in.
215-
<br><br>
217+
<br>
216218
217219
### Step 3: Track actions
218220
<br>
219221
The [Track](/docs/connections/spec/track) method tells Segment about the actions your users are performing in your app. Every action triggers an "event", which can also have associated properties. You can read more about `track` in the [Track method reference](/docs/connections/sources/catalog/libraries/mobile/ios#track).
220222
<br>
223+
<br>
221224
The Segment iOS SDK can automatically track a few important common events, such as **Application Installed**, **Application Updated**, and **Application Opened**. You can enable this option during initialization by adding the following lines:
222225
223226
```objc
@@ -289,6 +292,7 @@ Segment::init("YOUR_WRITE_KEY");
289292
<br><br>
290293
You only need to call `init` once when your PHP file is requested. All of your files then have access to the same `Analytics` client.
291294
<br>
295+
<br>
292296
> info ""
293297
> Segment's default PHP consumer is the [libcurl consumer](/docs/connections/sources/catalog/libraries/server/php/#lib-curl-consumer). If this is not working well for you or if you have a high-volume project, try one of Segment's other consumers like the [fork-curl consumer](/docs/connections/sources/catalog/libraries/server/php/#fork-curl-consumer).
294298
@@ -312,6 +316,7 @@ Segment::identify(array(
312316
<br>
313317
This identifies Michael by his unique user ID, in this case, `f4ca124298`, which is what you know him by in your database, and labels him with `name` and `email` traits.
314318
<br>
319+
<br>
315320
> info ""
316321
> When you put that code on your site, replace the hard-coded trait values with the variables that represent the details of the currently logged-in user. We recommend you keep a `$user` variable in memory.
317322
<br>
@@ -373,11 +378,12 @@ To get started, we recommend you track a few important events as you can always
373378
<br>
374379
Call the Flush method. This manually sends all the queued call data to make sure it makes it to the Segment servers. This is normally done automatically by the runtime, but some PHP installations won't do it for you.
375380
<br>
381+
<br>
376382
```php
377383
Segment::flush();
378384
```
379385

380-
You've successfully installed PHP tracking. Now you're ready to turn on any destination from the Segment App.
386+
You've now installed PHP tracking and you're ready to turn on any destination from the Segment App.
381387

382388

383389
<!-- marker PHP end -->

0 commit comments

Comments
 (0)