Answered

Last seen attribute (intercom-rails)

  • 31 October 2023
  • 1 reply
  • 108 views

Hi *,

I recently stumbled upon the last-seen attribute being some days behind the last activity we log in our backend for most of our users.

Is there some logic behind how last seen is being updated (especially by just using intercom-rails to integrate)?

icon

Best answer by cameron.gumley 2 November 2023, 13:52

View original

1 reply

Userlevel 2
Badge +3

Hi@solartraders -- Cam from the Intercom Support Engineering team here!

The “last-seen” attribute you mentioned, or last_seen_at attribute in our API docs, would contain a UNIX timestamp, correct? This attribute collects the time when that User was last seen (either where the Intercom Messenger was installed or when specified manually).

If your seeing the time data for this attribute as being well behind the data for a similar attribute you have on your backend then you might check and confirm if the pages of your site the User was in/on in the interim period have Intercom/Messenger installed and running on them, if the User is/can be identified as a logged-in User by Messenger on that page, and/or if you’re manually passing in data to update this attribute in Intercom in the prescribed manner.

Let me know if these details help clarify things and if you have any follow-up questions on this!

Reply