# Tagging contact not working after upgrade M4.02

**URL:** https://forum.mautic.org/t/tagging-contact-not-working-after-upgrade-m4-02/21800
**Category:** Product Support
**Tags:** mautic-4
**Created:** [November 29, 2021, 7:10am UTC](https://forum.mautic.org/t/tagging-contact-not-working-after-upgrade-m4-02/21800 "2021-11-29T07:10:02Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![ekatronik](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ekatronik/32/120_2.png) [@ekatronik](https://forum.mautic.org/u/ekatronik)
#### Post date: [November 29, 2021, 7:10am UTC](https://forum.mautic.org/t/tagging-contact-not-working-after-upgrade-m4-02/21800/1 "2021-11-29T07:10:03Z")

</div>

Hi…  
I use a wordpress page to create user tags.  
After contact open a link at their email…  
and open a wp page, that include  
[mautic type=“tags” values=“this\_tag”]

I tested on mautic 3.3.4, its working well…

but after upgrade to mautic 4.0.2,  
when contact open that page, the contact not tagging

what wrong with that…?

I check log file, but nothing error info about tagging

---

<div class="post-metadata">

### Author: ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)
#### Post date: [November 29, 2021, 4:40pm UTC](https://forum.mautic.org/t/tagging-contact-not-working-after-upgrade-m4-02/21800/2 "2021-11-29T16:40:59Z")

</div>

Hi, could you plz check if the regular JS method is working, so we can exclude the issue with Mautic and focus on the WP Mautic plugin?

Can you plz add the tag based on this?

> **[Contact tracking](https://docs.mautic.org/en/contacts/manage-contacts/contact-monitoring#tags)**
>
> . The act of monitoring the traffic and activity of contacts can sometimes be somewhat technical and frustrating to understand. Mautic makes this monitoring simple and easy to configure.Website Monitoring. Monitoring all traffic on a website can be...

---

<div class="post-metadata">

### Author: ![ekatronik](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ekatronik/32/120_2.png) [@ekatronik](https://forum.mautic.org/u/ekatronik)
#### Post date: [November 30, 2021, 8:32am UTC](https://forum.mautic.org/t/tagging-contact-not-working-after-upgrade-m4-02/21800/3 "2021-11-30T08:32:11Z")

</div>

Thank @joeyk for your response

I try with this img scr code

```auto
<img src="https://mymauticdomain.com/mtracking.gif?tags=my_own_tag" style="display: none;" alt="ok" />

```

and working well…

but, sorry, I not understand how to use tag with JS script…

And thanks… at least I can tag my contact with this img code…

---

<div class="post-metadata">

### Author: ![ekatronik](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ekatronik/32/120_2.png) [@ekatronik](https://forum.mautic.org/u/ekatronik)
#### Post date: [November 30, 2021, 9:17am UTC](https://forum.mautic.org/t/tagging-contact-not-working-after-upgrade-m4-02/21800/4 "2021-11-30T09:17:30Z")

</div>

Hi @joeyk

I think I know what is problem with my wordpress instalation…

It Litespeed Cache plugin…

When I deactivated this plugin, mautic plugin run tagging well…  
but, if activated… mautic plugin not working well…

When my mautic 334,  
Litespeed cache is active, but mautic plugin is working…

Any suggest for cache plugin ?

thanks

---

<div class="post-metadata">

### Author: ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)
#### Post date: [November 30, 2021, 9:31am UTC](https://forum.mautic.org/t/tagging-contact-not-working-after-upgrade-m4-02/21800/5 "2021-11-30T09:31:53Z")

</div>

Correct. That can be the reason!

We use WP rocket.  
There you can exclude certain files and also this settings makes Mautic tracking happy:

![image](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/e/e7dd16afc21f5fc709a4cc0c3b2a87c1e41ba212.png)

---

<div class="post-metadata">

### Author: ![ekatronik](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ekatronik/32/120_2.png) [@ekatronik](https://forum.mautic.org/u/ekatronik)
#### Post date: [November 30, 2021, 1:04pm UTC](https://forum.mautic.org/t/tagging-contact-not-working-after-upgrade-m4-02/21800/6 "2021-11-30T13:04:03Z")

</div>

Yes… thanks @joeyk

On litespeed cache, they use text field for exclude JS

 ![image](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/2/2732a6e0e602e504d4ab2e3b905a17b30b671c07.png)

if can… what text can I type on that for fix this problem?

---

<div class="post-metadata">

### Author: ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)
#### Post date: [November 30, 2021, 2:59pm UTC](https://forum.mautic.org/t/tagging-contact-not-working-after-upgrade-m4-02/21800/7 "2021-11-30T14:59:36Z")

</div>

not sure. maybe  
mtc.js ?

---

<div class="post-metadata">

### Author: ![ekatronik](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ekatronik/32/120_2.png) [@ekatronik](https://forum.mautic.org/u/ekatronik)
#### Post date: [November 30, 2021, 5:36pm UTC](https://forum.mautic.org/t/tagging-contact-not-working-after-upgrade-m4-02/21800/8 "2021-11-30T17:36:33Z")

</div>

Thank @joeyk
