mixpanelGetFunnel: Funnel

Description Usage Arguments Value Author(s) References See Also Examples

View source: R/mixpanelGetFunnel.R

Description

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

Usage

1
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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## 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)

RMixpanel documentation built on May 1, 2019, 10:46 p.m.