When you run woopra.identify(), the SDK assigns the properties you pass to the visitor object for the next track request. The track() function will send the request with any visitor properties that have been set, and with the event name and event properties as well in the same request.

Sometimes, however, you do not want to track an event by a visitor, but only to set a property on that visitor's profile, or identify the visitor by email, ID, or phone number. In this case, you should use woopra.push()

woopra.push([callback])

Argument

Type

Description

callback

Function

A callback function to run after the tracking function has been successfully received by Woopra

Example

woopra.identify("email", "[email protected]").push();