# Data-pg-id why is it in the end HTML file?

**URL:** <https://forum.pinegrow.com/t/data-pg-id-why-is-it-in-the-end-html-file/2981>\
**Category:** General\
**Created:** [May 9, 2019, 8:13pm UTC](https://forum.pinegrow.com/t/data-pg-id-why-is-it-in-the-end-html-file/2981 "2019-05-09T20:13:23Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![AllMediaLab](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/allmedialab/32/2079_2.png) [@AllMediaLab](https://forum.pinegrow.com/u/AllMediaLab)\
**Post date:** [May 9, 2019, 8:13pm UTC](https://forum.pinegrow.com/t/data-pg-id-why-is-it-in-the-end-html-file/2981/1 "2019-05-09T20:13:23Z")

</div>

Hi,

I’m test driving Pinegrow editor and noticed that data-pg-id is added at every single part of my HTML page. I do understand that this code is used to target every element on the page and to communicate with the application. I wonder at the end when the website is finished can you get rid of this extra code?

I don’t understand why the “data-pg-id” is not only used internal so we don’t even have to see it and then constantly compiled to plain HTML without the “data-pg-id”, or did I missed something?

Regards & Thanks,  
David

---

<div class="post-metadata">

**Author:** ![Thomas](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/thomas/32/61_2.png) [@Thomas](https://forum.pinegrow.com/u/Thomas)\
**Post date:** [May 9, 2019, 10:02pm UTC](https://forum.pinegrow.com/t/data-pg-id-why-is-it-in-the-end-html-file/2981/2 "2019-05-09T22:02:48Z")

</div>

You will get rid of them once the project is on a live server.

One thing to note: Once you name elements via “INFO HTML” -\> name (shown in the tree) - you’ll have a

```
data-pg-name="whatever"

```

even in the live-project.

Cheers

Thomas

---

<div class="post-metadata">

**Author:** ![AllMediaLab](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/allmedialab/32/2079_2.png) [@AllMediaLab](https://forum.pinegrow.com/u/AllMediaLab)\
**Post date:** [May 10, 2019, 7:07am UTC](https://forum.pinegrow.com/t/data-pg-id-why-is-it-in-the-end-html-file/2981/3 "2019-05-10T07:07:17Z")

</div>

Thanks for your reply Thomas!  
Can you please explain what you mean? Just need to know do I have to remove it my self is there some sort of export function? The documentation lacks important details.  
Regards,  
David

---

<div class="post-metadata">

**Author:** ![Thomas](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/thomas/32/61_2.png) [@Thomas](https://forum.pinegrow.com/u/Thomas)\
**Post date:** [May 10, 2019, 7:29am UTC](https://forum.pinegrow.com/t/data-pg-id-why-is-it-in-the-end-html-file/2981/4 "2019-05-10T07:29:53Z")

</div>

Ahm - you get rid of them “automagically” with no further action required. So you certainly do not have to do anything (at least I haven’t had to do anything in the past :-).

What I mean with the “one thing to note”, I’d like to illustrate in an image (bloody german - I know - but I think you’ll get the gist:

 ![15](https://canada1.discourse-cdn.com/flex036/uploads/pinegrow/original/2X/4/45ecec199132448de1e65c282b3ccb1cfc4f6a8c.jpeg)

Cheers

Thomas

---

<div class="post-metadata">

**Author:** ![AllMediaLab](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/allmedialab/32/2079_2.png) [@AllMediaLab](https://forum.pinegrow.com/u/AllMediaLab)\
**Post date:** [May 10, 2019, 7:49am UTC](https://forum.pinegrow.com/t/data-pg-id-why-is-it-in-the-end-html-file/2981/5 "2019-05-10T07:49:41Z")

</div>

Thanks! Yes now I see in Sublime Text that the HTML page is untouched.  
Regards,  
David
