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

Divolte issue #1

Open
prk2331 opened this issue Dec 24, 2022 · 5 comments
Open

Divolte issue #1

prk2331 opened this issue Dec 24, 2022 · 5 comments

Comments

@prk2331
Copy link

prk2331 commented Dec 24, 2022

hi @jerome73 sorry for that I am writing you here actually that Divolte repository has been archived by the owner, and I am stuck in one problem of Divolte of session Id
The problem you have raised this in 2017
divolte/divolte-collector#163
I am facing the same issue
can you please help me out what solution you have applied for this
This would be really helpful for me

Thanks

@jerome73
Copy link
Owner

Hi prk2331,

We are handling this at the consumer level; not in divolte.
In addition to the bug description, we also have policies that require to recreate an analytics session other than just inactivity timeout. Therefore we are managing that whole session stuff in the consumer by suffixing the original sessionid received from divolte. We keep in a custom cache of course these changes so that we know from where to start.
I hope this helps you
Cheers and Merry Chrismas

@prk2331
Copy link
Author

prk2331 commented Dec 26, 2022

@jerome73 thanks for giving me your time to response.

Managing that whole session stuff in the consumer by suffixing the original sessionid received from divolte
maintain custom cache for these changes

can you please provide me that snippet of code, so that I can implement it and see their all provisions which needs to be handle, It would be really helpful for me, Jerome.

Thank you and may you and your family have a lovely Christmas and Happy New Year as well

@jerome73
Copy link
Owner

I suggest you take a look at logisland on github: https://github.com/Hurence/logisland/blob/master/logisland-components/logisland-processors/logisland-processor-web-analytics/src/main/java/com/hurence/logisland/processor/webanalytics/IncrementalWebSession.java

That is the code of the sessionization processor we developed to handle all of this

@prk2331
Copy link
Author

prk2331 commented Mar 2, 2023

Hi @jerome73 as per your guidance last month I created the Incremental web session logic, and its working fine. thanks for your help
Now requirement is increases: we want to provide the Android app integration with our product, previously integration with the websites only. Now how can We use this Divolte.js complete SDK use in android application Now here can you guide please how can I make use of my complete Divolte logic to android app as well,
It seems to me, its a bit difficult now this Divolte is just only a JS not a Mobile SDK kind of thing, what did you suggest for this?

@jerome73
Copy link
Owner

jerome73 commented Mar 2, 2023

Hi prk2331,

We faced the same kind of needs. We solved it out by relying on firebase sdk to push events into GA and then export mobile events to Big Query then write a consumer using kafka connect to retrieve big query tables into kafka topic.
In the end we wrote a reconciliation spark job to attach mobile events into websessions as there is no sessions into firebase. This means assigning these mobile events a sessionid.
HTH

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

2 participants