Timestamp Optional and s.visitorID | Community
Skip to main content
Level 2
April 11, 2016
Solved

Timestamp Optional and s.visitorID

  • April 11, 2016
  • 3 replies
  • 3509 views

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Gigazelle

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

3 replies

Gigazelle
Adobe Employee
GigazelleAdobe EmployeeAccepted solution
Adobe Employee
April 20, 2016

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

ChristyWAuthor
Level 2
April 20, 2016

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.

Gigazelle
Adobe Employee
Adobe Employee
April 25, 2016

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.