# Do focus items work? users complain

**URL:** <https://forum.mautic.org/t/do-focus-items-work-users-complain/16473>\
**Category:** Product Support\
**Created:** [October 7, 2020, 12:45am UTC](https://forum.mautic.org/t/do-focus-items-work-users-complain/16473 "2020-10-07T00:45:01Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![rotorfido](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/rotorfido/32/580_2.png) [@rotorfido](https://forum.mautic.org/u/rotorfido)\
**Post date:** [October 7, 2020, 12:45am UTC](https://forum.mautic.org/t/do-focus-items-work-users-complain/16473/1 "2020-10-07T00:45:01Z")

</div>

**Your software**  
My Mautic version is:2.6  
My PHP version is:7.2

I created focus submit form which pops up after the user tries to leave the site, but it only worked the first time. Users tell me they tried to press submit button and nothing happend.  
What to do?  
I tested the form on its own and it works

---

<div class="post-metadata">

**Author:** ![rotorfido](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/rotorfido/32/580_2.png) [@rotorfido](https://forum.mautic.org/u/rotorfido)\
**Post date:** [October 7, 2020, 1:11am UTC](https://forum.mautic.org/t/do-focus-items-work-users-complain/16473/2 "2020-10-07T01:11:05Z")

</div>

I tried it now twice, on two websites…the form pops up but the button is NOT WORKING!!!  
I mean is this another bug from mautic?

---

<div class="post-metadata">

**Author:** ![EJL](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ejl/32/12155_2.png) [@EJL](https://forum.mautic.org/u/EJL)\
**Post date:** [October 7, 2020, 1:47am UTC](https://forum.mautic.org/t/do-focus-items-work-users-complain/16473/3 "2020-10-07T01:47:48Z")

</div>

I believe in you

![Buddy_christ](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/b/b7f6871afa9c460736f4872c6be843ab678d4abb.jpeg)

---

<div class="post-metadata">

**Author:** ![rotorfido](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/rotorfido/32/580_2.png) [@rotorfido](https://forum.mautic.org/u/rotorfido)\
**Post date:** [October 7, 2020, 2:01am UTC](https://forum.mautic.org/t/do-focus-items-work-users-complain/16473/4 "2020-10-07T02:01:17Z")

</div>

what does it mean?  
The form pops up but submit button aint working…I am super super frustrated

---

<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:** [October 7, 2020, 8:19am UTC](https://forum.mautic.org/t/do-focus-items-work-users-complain/16473/5 "2020-10-07T08:19:39Z")

</div>

Hi,  
You are giving really few info here.  
Did you add the focus item as js? Or a campaign step? Did you set ‘once a day’, if not what is your frequency?

My personal opinion is, that complaining about the code will not speed up any answers 🙂

Thx.

---

<div class="post-metadata">

**Author:** ![rotorfido](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/rotorfido/32/580_2.png) [@rotorfido](https://forum.mautic.org/u/rotorfido)\
**Post date:** [October 7, 2020, 1:36pm UTC](https://forum.mautic.org/t/do-focus-items-work-users-complain/16473/6 "2020-10-07T13:36:12Z")

</div>

I set it up under focus, modal, I added text and then form code so it shows up. THen I installed it on my website by adding script code near the closing body tag…  
It is set to show up when the user wants to leave the site

---

<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:** [October 7, 2020, 2:56pm UTC](https://forum.mautic.org/t/do-focus-items-work-users-complain/16473/7 "2020-10-07T14:56:17Z")

</div>

Hi,  
Sorry, but you didn’t answer all the questions 🙂  
**Did you set once a day?**  
Or stop showing after conversion?

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

---

<div class="post-metadata">

**Author:** ![EJL](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ejl/32/12155_2.png) [@EJL](https://forum.mautic.org/u/EJL)\
**Post date:** [October 7, 2020, 3:09pm UTC](https://forum.mautic.org/t/do-focus-items-work-users-complain/16473/8 "2020-10-07T15:09:08Z")

</div>

@joeyk A possible explanation described [here](https://forum.mautic.org/t/harmful-js-found-in-mautic-emails/16476/15)

No way of knowing what mayhem the VPN browser plugin described in that post is causing with focus items.

---

<div class="post-metadata">

**Author:** ![rotorfido](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/rotorfido/32/580_2.png) [@rotorfido](https://forum.mautic.org/u/rotorfido)\
**Post date:** [October 7, 2020, 3:11pm UTC](https://forum.mautic.org/t/do-focus-items-work-users-complain/16473/9 "2020-10-07T15:11:59Z")

</div>

Once per session, that means one user opens up the website?  
THe submit button did not work for me and for other people too, one old lady told me it does not work so I checked it out and she probably does not have any plugins installed

---

<div class="post-metadata">

**Author:** ![EJL](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ejl/32/12155_2.png) [@EJL](https://forum.mautic.org/u/EJL)\
**Post date:** [October 7, 2020, 3:15pm UTC](https://forum.mautic.org/t/do-focus-items-work-users-complain/16473/10 "2020-10-07T15:15:02Z")

</div>

post a link to your site and lets test the focus item

---

<div class="post-metadata">

**Author:** ![rotorfido](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/rotorfido/32/580_2.png) [@rotorfido](https://forum.mautic.org/u/rotorfido)\
**Post date:** [October 7, 2020, 3:20pm UTC](https://forum.mautic.org/t/do-focus-items-work-users-complain/16473/11 "2020-10-07T15:20:35Z")

</div>

EJL i am grateful for your help, shoud I send you login?  
here is one site I put it on  
[https://rb.gy/qfpn6b](https://rb.gy/qfpn6b)  
it seems it does not come up all the time, I set it when the user leaves the site, use modal, once per session

---

<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:** [October 7, 2020, 3:26pm UTC](https://forum.mautic.org/t/do-focus-items-work-users-complain/16473/12 "2020-10-07T15:26:58Z")

</div>

For some reason, by guts feeling is, that the VPN plugin is NOT the culprit.

My personal belief is, that

1. the focus item is misconfigured (shows only 1x day)
2. the server loads really slow, and can’t load fast enough, so the page is closed before exit intent is acknowledged
3. the admin didn’t test properly (clear cookies, use another browser/window)
4. a WP plugin (ex. wordfence) is blocking the js from running properly

---

<div class="post-metadata">

**Author:** ![rotorfido](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/rotorfido/32/580_2.png) [@rotorfido](https://forum.mautic.org/u/rotorfido)\
**Post date:** [October 7, 2020, 3:50pm UTC](https://forum.mautic.org/t/do-focus-items-work-users-complain/16473/13 "2020-10-07T15:50:28Z")

</div>

Ok I disable wordfence, cache plugin, asset plugin  
set the focu item to show on every page in the middle  
but still the button is not working…I cant submit the form…so I dont know what is going on

---

<div class="post-metadata">

**Author:** ![EJL](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ejl/32/12155_2.png) [@EJL](https://forum.mautic.org/u/EJL)\
**Post date:** [October 7, 2020, 4:06pm UTC](https://forum.mautic.org/t/do-focus-items-work-users-complain/16473/14 "2020-10-07T16:06:40Z")

</div>

> [@rotorfido](#):
>
> [https://rb.gy/qfpn6b](https://rb.gy/qfpn6b)

Focus item appeared when I scrolled to bottom of the page

 ![Screenshot_2020-10-07 Faster Eft Eutaptics, Certified FEFT Tapping Practitioner](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/3/331cb619d5f04f1d465b5688abc3ff6ee8144a09.png)

When I hit “Submit”

> Blocked loading mixed active content “[http://tHeDuDeThAtIsCoMpLAINiNgSiTe.org/mautic/form/submit?formId=5”](http://tHeDuDeThAtIsCoMpLAINiNgSiTe.org/mautic/form/submit?formId=5%E2%80%9D)

Error was displayed in console window.

 ![Screenshot (29)](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/4/45007facd93d5dfff07437cab602f6fc116215bb.png)

For General Reference

> Cookie “mautic\_focus\_2” will be soon rejected because it has the “SameSite” attribute set to “None” or an invalid value, without the “secure” attribute. To know more about the “SameSite“ attribute, read [Set-Cookie - HTTP | MDN](https://developer.mozilla.org/docs/Web/HTTP/Headers/Set-Cookie/SameSite) 2.js:345:51  
> Cookie “SHR\_E\_ENC” will be soon rejected because it has the “SameSite” attribute set to “None” or an invalid value, without the “secure” attribute. To know more about the “SameSite“ attribute, read [Set-Cookie - HTTP | MDN](https://developer.mozilla.org/docs/Web/HTTP/Headers/Set-Cookie/SameSite) main.js:1:47689  
> Cookie “mautic\_focus\_2” will be soon rejected because it has the “SameSite” attribute set to “None” or an invalid value, without the “secure” attribute. To know more about the “SameSite“ attribute, read [Set-Cookie - HTTP | MDN](https://developer.mozilla.org/docs/Web/HTTP/Headers/Set-Cookie/SameSite) 2.js:352:18  
> Cookie “mautic\_focus\_2” will be soon rejected because it has the “SameSite” attribute set to “None” or an invalid value, without the “secure” attribute. To know more about the “SameSite“ attribute, read [Set-Cookie - HTTP | MDN](https://developer.mozilla.org/docs/Web/HTTP/Headers/Set-Cookie/SameSite) 2.js:345:51

---

<div class="post-metadata">

**Author:** ![rotorfido](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/rotorfido/32/580_2.png) [@rotorfido](https://forum.mautic.org/u/rotorfido)\
**Post date:** [October 7, 2020, 4:09pm UTC](https://forum.mautic.org/t/do-focus-items-work-users-complain/16473/15 "2020-10-07T16:09:06Z")

</div>

> [@EJL](#):
>
> t has the “SameSite” attribute set to “None” or an invalid value, without the “secure” attribute. To know more about the “SameSite“ attribute, read [Set-Cookie - HTTP | MDN](https://developer.mozilla.org/docs/Web/HTTP/Headers/Set-Cookie/SameSite) 2.js:345:51  
> Cookie “SHR\_E\_ENC” will be soon rejected because it has the “SameSite” attribute set to “None” or an invalid value, without the “secure” attribute. To know more about the “SameSite“ attribute, read [https://developer.mozilla.org/docs/Web/HTTP/H](https://developer.mozilla.org/docs/Web/HTTP/Headers/Set-Cookie/SameSite)

so what it mean? Can you please remove my domain too EJL or use shortlink

---

<div class="post-metadata">

**Author:** ![EJL](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ejl/32/12155_2.png) [@EJL](https://forum.mautic.org/u/EJL)\
**Post date:** [October 7, 2020, 4:19pm UTC](https://forum.mautic.org/t/do-focus-items-work-users-complain/16473/16 "2020-10-07T16:19:41Z")

</div>

> [@rotorfido](#):
>
> so what it mean?

That you should use google more.

> **[Mixed content - Security on the web | MDN](https://developer.mozilla.org/en-US/docs/Web/Security/Mixed_content?utm_source=mozilla&utm_medium=firefox-console-errors&utm_campaign=default)**
>
> When a user visits a page served over HTTPS, their connection with the web server is encrypted with TLS and is therefore safeguarded from most sniffers and man-in-the-middle attacks. An HTTPS page that includes content fetched using cleartext HTTP is...

> [@rotorfido](#):
>
> Can you please remove my domain too EJL or use shortlink

Yes I edited it for you

---

<div class="post-metadata">

**Author:** ![rotorfido](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/rotorfido/32/580_2.png) [@rotorfido](https://forum.mautic.org/u/rotorfido)\
**Post date:** [October 7, 2020, 4:20pm UTC](https://forum.mautic.org/t/do-focus-items-work-users-complain/16473/17 "2020-10-07T16:20:50Z")

</div>

thank you  
nice touch with the guy who complained 🙂  
so it is because of HTTPS?  
I use SSL plugin on my site though  
is there a problem with mautic not using HTTPS?  
many people experienced this same problem with submit button not working

---

<div class="post-metadata">

**Author:** ![EJL](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ejl/32/12155_2.png) [@EJL](https://forum.mautic.org/u/EJL)\
**Post date:** [October 7, 2020, 4:35pm UTC](https://forum.mautic.org/t/do-focus-items-work-users-complain/16473/18 "2020-10-07T16:35:19Z")

</div>

look at your tracking code, focus embed code and form embed code and add an “s” to any [http://yourmautic.com/blahblah](http://yourmautic.com/blahblah)  
it should be [https://yourmatic.com/blahblah](https://yourmatic.com/blahblah)  
like: `

```
(function(w,d,t,u,n,a,m){w['MauticTrackingObject']=n;
    w[n]=w[n]||function(){(w[n].q=w[n].q||[]).push(arguments)},a=d.createElement(t),
    m=d.getElementsByTagName(t)[0];a.async=1;a.src=u;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://yourmautic.com/mtc.js','mt');

mt('send', 'pageview');

```

save it and refresh the page and see if that fixes.

I would bet that if you click settings, then tracking settings the code has http instead of https

---

<div class="post-metadata">

**Author:** ![rotorfido](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/rotorfido/32/580_2.png) [@rotorfido](https://forum.mautic.org/u/rotorfido)\
**Post date:** [October 7, 2020, 4:40pm UTC](https://forum.mautic.org/t/do-focus-items-work-users-complain/16473/19 "2020-10-07T16:40:15Z")

</div>

you mean inside mautic under settings too? My domain name?  
Yes I understand for embed form…thank you I will try it out?  
EJL are you the dev working for aquia?

but here is the problem, the url is strange, it has // infront

```
<script src="//example.org/mautic/focus/2.js" type="text/javascript" charset="utf-8" async="async"></script>

```

should I change it

```
<script src="https://www.example.org/mautic/focus/2.js" type="text/javascript" charset="utf-8" async="async"></script>
```

---

<div class="post-metadata">

**Author:** ![EJL](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ejl/32/12155_2.png) [@EJL](https://forum.mautic.org/u/EJL)\
**Post date:** [October 7, 2020, 4:48pm UTC](https://forum.mautic.org/t/do-focus-items-work-users-complain/16473/20 "2020-10-07T16:48:17Z")

</div>

> [@rotorfido](#):
>
> EJL are you the dev working for aquia?

No , Im a business gentleman from Texas.

[Next page](https://forum.mautic.org/t/do-focus-items-work-users-complain/16473.md?page=2)
