Expand my Community achievements bar.

SOLVED

Timestamp Optional and s.visitorID

Avatar

Level 3

I support a mobile application that uses the AppMeasurement library for javascript.  Currently I am only tracking online usage but would like to track offline usage as well.  To do so I would need to set the report suite to Timestamps Optional and set s.trackOffline=true in the code.  BUT I use s.visitorID to track my visitors since everyone must authenticate to use the app.  According to the documentation I cannot send timestamped usage (s.trackOffline=true) and set s.visitorID.  What alternative to do I have to setting s.visitorID to make sure that each of my authenticated visitors are counted as just one visitor?

Thanks,
Christy

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

If you have this implemented on a mobile app, you can safely make all data timestamped hits and continue to use custom visitor ID's. This means that instead of using timestamp optional, you can change it to timestamp hits only. Online hits would still be collected - the only difference is that the timestamp on the hit would match the time it is sent to data collection servers. Just make sure that all hits (online and offline) have a timestamp, as non-timestamped hits would be thrown out.

https://marketing.adobe.com/resources/help/en_US/sc/implement/timestamp.html

View solution in original post

3 Replies

Avatar

Correct answer by
Employee Advisor

If you have this implemented on a mobile app, you can safely make all data timestamped hits and continue to use custom visitor ID's. This means that instead of using timestamp optional, you can change it to timestamp hits only. Online hits would still be collected - the only difference is that the timestamp on the hit would match the time it is sent to data collection servers. Just make sure that all hits (online and offline) have a timestamp, as non-timestamped hits would be thrown out.

https://marketing.adobe.com/resources/help/en_US/sc/implement/timestamp.html

Avatar

Level 3

Thank you!  Just wanting to make sure I understand.  So instead of turning on s.trackOffline=true, I could set s.timestamp instead so all image requests would be timestamped and continue to set s.visitorID?  Could I do this with a timestamp optional report suite or would I have to use a timestamp hits only report suite?  I would like to continue to use my current report suite if possible for continuity of data.

Avatar

Employee Advisor

you would set s.trackOffline to true, which would make all image requests in that implementation have a timestamp. Then you would ask customer care to enable the report suite to be timestamp only. Just remember that if you intend to send hits to this report suite that originate outside of your mobile app that they must have the timestamp variable included.