# Add comment text with each install code

**URL:** <https://community.elfsight.com/t/add-comment-text-with-each-install-code/11355>\
**Category:** Elfsight Dashboard\
**Tags:** Released\
**Created:** [January 21, 2023, 9:26pm UTC](https://community.elfsight.com/t/add-comment-text-with-each-install-code/11355 "2023-01-21T21:26:18Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![Oliver2](https://avatars.discourse-cdn.com/v4/letter/o/df705f/32.png) [@Oliver2](https://community.elfsight.com/u/Oliver2)\
**Post date:** [January 21, 2023, 9:26pm UTC](https://community.elfsight.com/t/add-comment-text-with-each-install-code/11355/1 "2023-01-21T21:26:18Z")

</div>

When working with multiple buttons, it would be helpful to include the name of the button as a comment in the HTML code. So you know which code belongs to which button.

---

<div class="post-metadata">

**Author:** ![Hugh](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/hugh/32/28081_2.png) [@Hugh](https://community.elfsight.com/u/Hugh)\
**Post date:** [January 22, 2023, 9:59am UTC](https://community.elfsight.com/t/add-comment-text-with-each-install-code/11355/2 "2023-01-22T09:59:32Z")

</div>

We do this manually right now by putting something like this above and below the elfsight script code, but it would be nice if the system did it automatically from the saved title of the form:

```auto
<!-- elfsight code for slide out form -->
Two line elfsight script
Two line elfsight script
<!-- elfsight code for slide out form -->

```

---

<div class="post-metadata">

**Author:** ![Helga](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/helga/32/1155_2.png) [@Helga](https://community.elfsight.com/u/Helga)\
**Post date:** [January 23, 2023, 9:29am UTC](https://community.elfsight.com/t/add-comment-text-with-each-install-code/11355/3 "2023-01-23T09:29:03Z")

</div>

@Oliver2 very nice suggestion, thank you for sharing!

@Hugh thanks a lot for your advice! I agree that it’s not the most convenient way to differentiate widgets in the HTML code, I’m going to share this topic with the team so that they take it under consideration. As usual, I’ll keep you posted here.

Thanks a million for helping us!

---

<div class="post-metadata">

**Author:** ![Helga](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/helga/32/1155_2.png) [@Helga](https://community.elfsight.com/u/Helga)\
**Post date:** [January 23, 2023, 9:30am UTC](https://community.elfsight.com/t/add-comment-text-with-each-install-code/11355/4 "2023-01-23T09:30:26Z")

</div>

P.S. don’t forget to vote for the ideas you like, it does help us see what we’d better pay our attention to 🙂

---

<div class="post-metadata">

**Author:** ![Rev\_Devan](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/rev_devan/32/78722_2.png) [@Rev\_Devan](https://community.elfsight.com/u/Rev_Devan)\
**Post date:** [May 29, 2024, 9:34pm UTC](https://community.elfsight.com/t/add-comment-text-with-each-install-code/11355/5 "2024-05-29T21:34:23Z")

</div>

Not a widget but general for everyone. I would love the code provided for install to automatically have the name of the widget hidden in the code. To often I have multiple on the same page and the search for the number doesn’t always work well. I have only labeled a few otherwise that way. Thanks.

---

<div class="post-metadata">

**Author:** ![Max](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/max/32/710_2.png) [@Max](https://community.elfsight.com/u/Max)\
**Post date:** [May 30, 2024, 10:56am UTC](https://community.elfsight.com/t/add-comment-text-with-each-install-code/11355/6 "2024-05-30T10:56:10Z")

</div>

Nice idea, thanks for sharing @Rev_Devan 👍

We’ll try to think this opportunity over in the future updates. I’ll keep you in the loop 🙂

---

<div class="post-metadata">

**Author:** ![Hugh](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/hugh/32/28081_2.png) [@Hugh](https://community.elfsight.com/u/Hugh)\
**Post date:** [July 30, 2024, 5:30pm UTC](https://community.elfsight.com/t/add-comment-text-with-each-install-code/11355/7 "2024-07-30T17:30:01Z")

</div>

PLEASE click vote if you think this might be helpful - or even couldn’t hurt. Thanks!

Currently we add text to each installed code so we can track what it is and when it was added. This is especially necessary when there are several widgets used on a page. It would be great if when we get the code to add to the website it would include these comments automatically.

For example, here is what we are doing manually:

```auto

<!-- Elfsight Website Translator added 7-16-2024 -->
<script src="https://static.elfsight.com/platform/platform.js" data-use-service-core defer></script>
<div class="elfsight-app-xxxxxxx-7696-4268-8d63-xxxxxxxxxxxxxx" data-elfsight-app-lazy></div>
<!-- Elfsight Website Translator added 7-16-2024 -->

```

---

<div class="post-metadata">

**Author:** ![Max](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/max/32/710_2.png) [@Max](https://community.elfsight.com/u/Max)\
**Post date:** [July 31, 2024, 12:01pm UTC](https://community.elfsight.com/t/add-comment-text-with-each-install-code/11355/8 "2024-07-31T12:01:34Z")

</div>

@Hugh Interesting idea, thanks for sharing 👍

If it gets more votes, we’ll try to think it over in the future 🙂

---

<div class="post-metadata">

**Author:** ![Hugh](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/hugh/32/28081_2.png) [@Hugh](https://community.elfsight.com/u/Hugh)\
**Post date:** [November 19, 2024, 12:35pm UTC](https://community.elfsight.com/t/add-comment-text-with-each-install-code/11355/9 "2024-11-19T12:35:18Z")

</div>

Another comment to boost this. @Max this has to be the simplest update to implement in each widget, and it will save having to do this manually for every widget.

---

<div class="post-metadata">

**Author:** ![Helga](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/helga/32/1155_2.png) [@Helga](https://community.elfsight.com/u/Helga)\
**Post date:** [November 19, 2024, 12:38pm UTC](https://community.elfsight.com/t/add-comment-text-with-each-install-code/11355/10 "2024-11-19T12:38:57Z")

</div>

Thank you for your comment, @Hugh! I’m happy to say that our devs are discussing this option as we speak, and chances are I’ll be able to move this idea to the “In Progress” status any time soon 🙂

---

<div class="post-metadata">

**Author:** ![Hugh](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/hugh/32/28081_2.png) [@Hugh](https://community.elfsight.com/u/Hugh)\
**Post date:** [November 19, 2024, 12:46pm UTC](https://community.elfsight.com/t/add-comment-text-with-each-install-code/11355/11 "2024-11-19T12:46:01Z")

</div>

Fantastic, thanks!

---

<div class="post-metadata">

**Author:** ![Helga](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/helga/32/1155_2.png) [@Helga](https://community.elfsight.com/u/Helga)\
**Post date:** [February 6, 2025, 12:30pm UTC](https://community.elfsight.com/t/add-comment-text-with-each-install-code/11355/12 "2025-02-06T12:30:35Z")

</div>

Friends, our devs are already working on this request, and I think the release is just around the corner! 😊

---

<div class="post-metadata">

**Author:** ![Hugh](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/hugh/32/28081_2.png) [@Hugh](https://community.elfsight.com/u/Hugh)\
**Post date:** [February 6, 2025, 3:11pm UTC](https://community.elfsight.com/t/add-comment-text-with-each-install-code/11355/13 "2025-02-06T15:11:15Z")

</div>

Excellent!

---

<div class="post-metadata">

**Author:** ![Max](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/max/32/710_2.png) [@Max](https://community.elfsight.com/u/Max)\
**Post date:** [February 12, 2025, 1:11pm UTC](https://community.elfsight.com/t/add-comment-text-with-each-install-code/11355/14 "2025-02-12T13:11:04Z")

</div>

Hello friends!

Great news — the installation code now contains the app and widget names! Here is an example of how it looks:

```auto
<!-- App Name | Widget Name -->
<script src="https://static.elfsight.com/platform/platform.js" async></script>
<div class="elfsight-app-WIDGET_ID" data-elfsight-app-lazy></div>

```

---

<div class="post-metadata">

**Author:** ![Hugh](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/hugh/32/28081_2.png) [@Hugh](https://community.elfsight.com/u/Hugh)\
**Post date:** [February 12, 2025, 2:14pm UTC](https://community.elfsight.com/t/add-comment-text-with-each-install-code/11355/18 "2025-02-12T14:14:02Z")

</div>

Wonderful!
