# Ability to change the source link

**URL:** <https://community.elfsight.com/t/ability-to-change-the-source-link/5202>\
**Category:** All-in-One Reviews\
**Tags:** Gathering-Feedback\
**Created:** [July 13, 2022, 6:41pm UTC](https://community.elfsight.com/t/ability-to-change-the-source-link/5202 "2022-07-13T18:41:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ElfsightBot](https://avatars.discourse-cdn.com/v4/letter/e/ecd19e/32.png) [@ElfsightBot](https://community.elfsight.com/u/ElfsightBot)\
**Post date:** [July 13, 2022, 6:41pm UTC](https://community.elfsight.com/t/ability-to-change-the-source-link/5202/1 "2022-07-13T18:41:01Z")

</div>

Ability to change the source link the customers are redirected to when they click on Write a Review

---

<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:** [October 10, 2022, 12:00am UTC](https://community.elfsight.com/t/ability-to-change-the-source-link/5202/2 "2022-10-10T00:00:00Z")

</div>

Folks, our former Wishlist portal, where our users shared their requests and suggestions, was transferred to this forum. You’re most welcome to vote, add new ideas, and leave your comments here — we surely will consider them all! 🤩

Original Votes: 4

---

<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 3, 2026, 2:10pm UTC](https://community.elfsight.com/t/ability-to-change-the-source-link/5202/3 "2026-07-03T14:10:30Z")

</div>

Hey everyone!

While this option isn’t available in the widget yet, we’ve got a custom solution:

```auto
const LINK = "https://g.page/r/CV21TXsdoNY1EB0/review";
const TARGET = "_blank";

widget.on("init", ({ widgetContainer }) => {
  const writeReviewButton = widgetContainer.querySelector(".es-header-write-review-button");
  writeReviewButton?.addEventListener("click", (e) => {
    e.stopPropagation();
    window.open(LINK, TARGET);
  });
});

```

  

Please replace the link in the 1st line of the code ([Google Maps](https://g.page/r/CV21TXsdoNY1EB0/review)) with the needed link and add the resulted script to the **Custom JS** field on the **Settings** tab of your widget’s settings.

If you’d like the link to be opened in the same tab, please replace `_blank` with `_self` in the 2nd line of the code 🙂
