简体   繁体   中英

Is it possible to dispatch events after every 30 minutes in flurry analytics as similar to Google analytucs?

就像Google Analytics(分析)设置了setSessionimeout一样,其中所有出口组合在一起,并在最后调度事件。是否有类似Flurry Analytics的功能,当Flurry立即击中flurry服务器时,我希望它将会话中的所有事件汇总在一起(假设30分钟),然后分派它们。

It is not possible to force the Flurry SDK to report analytics session data at specified time. A Flurry session is defined by

"If the app pauses or moves to the background for more than 10 seconds, the next time the app runs, Flurry agent will automatically create a new session and end the previous session. Otherwise, Flurry agent will continue the same session. This can be updated via the setSessionContinueSeconds method. If the app is terminated, a new session will be created when the app runs again."

The only way to control the session reporting is through the app lifecycle. But generally I would expect all of the events to be reported in a single batch per session. You can observe this behavior by watching the event log in the Flurry UI as the app is closed and/or reopened.

setSessionContinueSeconds is really only useful for cases where you would want the Flurry session to continue for longer than 10 seconds while the app is in the background. For instance an app that plays music in the background.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM