Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow passing in array to $amplitude->event() to set properties on event #8

Merged
merged 1 commit into from
Apr 29, 2016

Conversation

jonyo
Copy link
Contributor

@jonyo jonyo commented Apr 29, 2016

This allows the $amplitude->event() method to accept an array instead of an event object, to set additional properties on the event.

Example:

$amplitude->event(['property' => 'value']);

Would set the property on the next event to be sent.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.09%) to 92.398% when pulling 5d14895 on set-event-properties into 0d46d99 on master.

@jrbasso jrbasso merged commit b2bdc11 into master Apr 29, 2016
@jrbasso jrbasso deleted the set-event-properties branch April 29, 2016 15:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants