WebSite X5Help Center

 
Tamás F.
Tamás F.
User

Pop-up script does not work  en

Автор: Tamás F.
Просмотрено 53, Подписчики 0, Размещенный 0  

Hello,

I placed a pop-up window on the https://www.tfodor.hu/aszf.html page. The script is right before the closing </head> tag. The pop-up form from Sender.net. Unfortunately, it does not work. What could be the problem?

The form's link: https://stats.sender.net/forms/aM8VWQ/view

The script: <script>
(function (s, e, n, d, er) {
s['Sender'] = er;
s[er] = s[er] || function () {
(s[er].q = s[er].q || []).push(arguments)
}, s[er].l = 1 * new Date();
var a = e.createElement(n),
m = e.getElementsByTagName(n)[0];
a.async = 1;
a.src = d;
m.parentNode.insertBefore(a, m)
})(window, document, 'script', 'https://cdn.sender.net/accounts_resources/universal.js' 'sender');
sender('73269731b16659')
</script>

I enclosed the html code of page in .zip format.

Regards, Tamas Fodor

Размещено
6 Ответы
Daniel W.
Daniel W.
User
Лучший пользователь месяца DEЛучший пользователь месяца EN

It works on my test page >> https://findelinks.de/123test-aufklappmenue-2/seite-146.html

It takes a few seconds for the popup to appear.

The test page will be deleted when it is no longer needed.

My used Code:

<script>
(function (s, e, n, d, er) {
s['Sender'] = er;
s[er] = s[er] || function () {
(s[er].q = s[er].q || []).push(arguments)
}, s[er].l = 1 * new Date();
var a = e.createElement(n),
m = e.getElementsByTagName(n)[0];
a.async = 1;
a.src = d;
m.parentNode.insertBefore(a, m)
})(window, document, 'script', 'https://cdn.sender.net/accounts_resources/universal.js' 'sender');
sender('73269731b16659')
</script>

Читать больше
Размещено От Daniel W.
Daniel W.
Daniel W.
User
Лучший пользователь месяца DEЛучший пользователь месяца EN

I copied the code from the source code, see (1)

In WebsiteX5, under "3 Sitemap", mark the page where the pop up should appear and then click on "Expert" or "Properties" (depending on the language version) at the top and insert the code before the closing </HEAD> tag, see (2) (German version)

----- (1) -----

----- (2) -----

Читать больше
Размещено От Daniel W.
Tamás F.
Tamás F.
User
Автор

Thanks, but as I mentioned,  script is right before the closing </head> tag.

Читать больше
Размещено От Tamás F.
Daniel W.
Daniel W.
User
Лучший пользователь месяца DEЛучший пользователь месяца EN

Does the script work on my test site or not?

If it doesn't work, then it could possibly be the browser.

Читать больше
Размещено От Daniel W.
Daniel W.
Daniel W.
User
Лучший пользователь месяца DEЛучший пользователь месяца EN

It works.

-----

Читать больше
Размещено От Daniel W.
John S.
John S.
User

I tested Daniels test-page. It takes some time before the pop-up shows up - but it functions.

It functions in Chrome, Firefox and Edge.

Читать больше
Размещено От John S.