Skip to content
This repository was archived by the owner on Aug 18, 2023. It is now read-only.

Commit b2157a8

Browse files
authored
Merge pull request #68 from klaviyo/2021_08_adding_post_to_readme
added post to readme
2 parents 5da11b6 + 184c46d commit b2157a8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ $event = new KlaviyoEvent(
3939
)
4040
);
4141

42-
$client->publicAPI->track( $event );
42+
$client->publicAPI->track( $event, true );
4343
```
4444
### You can also add profile properties to the 'customer properties' attribute in the Event model
4545
```php
@@ -59,7 +59,7 @@ $event = new KlaviyoEvent(
5959
)
6060
);
6161

62-
$client->publicAPI->track( $event );
62+
$client->publicAPI->track( $event, true );
6363
```
6464

6565
### or just add a property to someone
@@ -75,7 +75,7 @@ $profile = new KlaviyoProfile(
7575
)
7676
);
7777

78-
$client->publicAPI->identify( $profile );
78+
$client->publicAPI->identify( $profile, true );
7979
```
8080

8181
### You can get metrics, a timeline of events and export analytics for a metric. See here for more https://www.klaviyo.com/docs/api/metrics

0 commit comments

Comments
 (0)