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

Add SessionStart and SessionEnd Callbacks for Tracking Analytics #51

Closed
rmtuckerphx opened this issue Jan 7, 2017 · 3 comments
Closed

Comments

@rmtuckerphx
Copy link

This issue talks about integrating Mobile Analytics into the ASK:
#28

I think a better solution would now be SessionStart and SessionEnd callbacks that could be used with any analytics: Amazon Mobile, Google, VoiceLabs, etc.

At a minimum, these callbacks would pass the sessionId.

This would allow any analytics to be used with Alexa skills.

@smhgit
Copy link

smhgit commented Jan 15, 2018

Will the SessionEnd be called each time before the response is returned?

@TianTXie
Copy link
Contributor

@smhgit For standard requests, that depends on the shouldEndSession value in your response. If it is true, the sessionEndedRequest will be send immediately. If it is false and there is no reprompt the sessionEndedRequest will be send after timeout. For more information, check this link.

@tianrenz
Copy link
Contributor

Closing the issue for now. Please open an new issue with our issue template if the question persists.

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

No branches or pull requests

4 participants