# Question regarding attribute retention data on devices

**URL:** <https://forums.losant.com/t/question-regarding-attribute-retention-data-on-devices/4374>\
**Category:** Help\
**Tags:** dashboard, device\
**Created:** [February 24, 2022, 5:01pm UTC](https://forums.losant.com/t/question-regarding-attribute-retention-data-on-devices/4374 "2022-02-24T17:01:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![IoT\_Hub](https://avatars.discourse-cdn.com/v4/letter/i/87869e/32.png) [@IoT\_Hub](https://forums.losant.com/u/IoT_Hub)\
**Post date:** [February 24, 2022, 5:01pm UTC](https://forums.losant.com/t/question-regarding-attribute-retention-data-on-devices/4374/1 "2022-02-24T17:01:53Z")

</div>

Good morning. I am contacting you with a question regarding the data retention of a device attribute. I have read a lot of information about data retention limits in Losant and there is a doubt that is not clear to me yet.

Let’s say I am going to have a device whose GPS coordinates will always be fixed. To set these coordinates I enter them manually only once on Losant. My question is: should I set these coordinates as an attribute, through a Device: State Block?

As I understand, Losant deletes the history every 30 days, so I fear that after 30 days, this data that I have entered only once will be deleted, and the coordinates of my device will be deleted. If my assumption is correct, should I set a timer that re-establishes these coordinates every 29 days, for example?

Another solution is to set these coordinates as a device tag, but I wanted to know if by setting a data as an attribute, it will disappear after 30 days if I don’t set it again with a Device: State block.

I hope my doubt is clear, best regards.

---

<div class="post-metadata">

**Author:** ![Brandon\_Cannaday](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.losant.com/brandon_cannaday/32/14_2.png) [@Brandon\_Cannaday](https://forums.losant.com/u/Brandon_Cannaday)\
**Post date:** [February 24, 2022, 6:14pm UTC](https://forums.losant.com/t/question-regarding-attribute-retention-data-on-devices/4374/2 "2022-02-24T18:14:32Z")

</div>

If you manually report the location on a device attribute, it will eventually be removed based on your data retention limit.

For fixed device locations, I would recommend using a [Device Tag](https://docs.losant.com/devices/overview/#device-tags).

The [GPS History](https://docs.losant.com/dashboards/gps-history/) does support displaying device location from a tag.

---

<div class="post-metadata">

**Author:** ![IoT\_Hub](https://avatars.discourse-cdn.com/v4/letter/i/87869e/32.png) [@IoT\_Hub](https://forums.losant.com/u/IoT_Hub)\
**Post date:** [February 24, 2022, 9:59pm UTC](https://forums.losant.com/t/question-regarding-attribute-retention-data-on-devices/4374/3 "2022-02-24T21:59:33Z")

</div>

Hello Brandon, thank you for your quick response.

It’s all clear to me now, best regards
