mixpanelGetFunnel {RMixpanel}R Documentation

Funnel

Description

Get funnel data from Mixpanel API. Custom events are names accordingly, if account is set up correctly using mixpanelCreateAccount.

Usage

mixpanelGetFunnel(account, funnel, from, to=from, verbose=TRUE, ...)

Arguments

account

A mixpanel account, as defined in mixpanelCreateAccount.

funnel

Either name or ID of the funnel. See also mixpanelGetFunnelList.

from

Start date in either format <"yyyy-mm-dd"> or <yyyymmdd>. Inclusive.

to

End date in either format <"yyyy-mm-dd"> or <yyyymmdd>. Inclusive.

verbose

If TRUE more output is generated.

...

Additional arguments to Mixpanel API. E.g. interval=14, unit='week', interval=90, ...

Value

Object of class funnel including a list of data.frame's representing the funnels for each time frame.

Author(s)

Meinhard Ploner

References

https://mixpanel.com/help/reference/data-export-api#funnels

See Also

mixpanelGetFunnelList

Examples

## Not run: 
## Fill in here the API token, key and secret as found on 
## www.mixpanel.com - Account -> Projects. 
account = mixpanelCreateAccount("ProjectName",
                                token="c12g3...",
                                secret="168e7e...", 
                                key="543c55...")
mixpanelGetFunnel(account, "Funnel001", from=20161001, to=20161101, unit="week")

## End(Not run)

[Package RMixpanel version 0.7-1 Index]