jerome73 / multi-k8s

0 stars 0 forks source link

Divolte issue #1

Open prk2331 opened 1 year ago

prk2331 commented 1 year ago

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 https://github.com/divolte/divolte-collector/issues/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 commented 1 year ago

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 commented 1 year ago

@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 commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

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