WebSite X5Help Center

 
Tamás F.
Tamás F.
User

Pop-up script does not work  en

Author: Tamás F.
Visited 38, Followers 0, Shared 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

Posted on the
6 ANSWERS
Daniel W.
Daniel W.
User
Best User of the month DEBest User of the month 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>

Read more
Posted on the from Daniel W.
Daniel W.
Daniel W.
User
Best User of the month DEBest User of the month 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) -----

Read more
Posted on the from Daniel W.
Tamás F.
Tamás F.
User
Author

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

Read more
Posted on the from Tamás F.
Daniel W.
Daniel W.
User
Best User of the month DEBest User of the month EN

Does the script work on my test site or not?

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

Read more
Posted on the from Daniel W.
Daniel W.
Daniel W.
User
Best User of the month DEBest User of the month EN

It works.

-----

Read more
Posted on the from 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.

Read more
Posted on the from John S.