# String to remove tag(s)?

**URL:** https://forum.mautic.org/t/string-to-remove-tag-s/28735
**Category:** Product Support
**Created:** [July 27, 2023, 8:54pm UTC](https://forum.mautic.org/t/string-to-remove-tag-s/28735 "2023-07-27T20:54:40Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![techbill](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/techbill/32/8325_2.png) [@techbill](https://forum.mautic.org/u/techbill)
#### Post date: [July 27, 2023, 8:54pm UTC](https://forum.mautic.org/t/string-to-remove-tag-s/28735/1 "2023-07-27T20:54:40Z")

</div>

**Your software**  
My Mautic version is: 4.4.7  
My PHP version is: 7.4  
My Database type and version is: MySQL 5+

I have this string in a web page to add a tag to a contact that lands on it.

```auto
<img src="https://www.domain.com/mtracking.gif?email=<? echo $_GET['email'];?>&tags=BTG">

```

What is the string to remove a tag? I did try adding a minus before the tag and it didn’t work for me.

- Changed BTG to -BTG

```auto
<img src="https://www.domain.com/mtracking.gif?email=<? echo $_GET['email'];?>&tags=-BTG">

```

Thank you

---

<div class="post-metadata">

### Author: ![mzagmajster](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mzagmajster/32/687_2.png) [@mzagmajster](https://forum.mautic.org/u/mzagmajster)
#### Post date: [July 31, 2023, 3:40pm UTC](https://forum.mautic.org/t/string-to-remove-tag-s/28735/2 "2023-07-31T15:40:25Z")

</div>

Did not even know that was possible for adding tags.

One way to remove tags I think is to create a script that remove tags and include it in the link.
