WebSite X5Help Center

 
Tamás F.
Tamás F.
User

Pop-up script does not work  en

Auteur : Tamás F.
Visité 49, Followers 0, Partagé 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

Posté le
6 RéPONSES
Daniel W.
Daniel W.
User
Meilleur utilisateur du mois DEMeilleur utilisateur du mois 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>

Lire plus
Posté le de Daniel W.
Daniel W.
Daniel W.
User
Meilleur utilisateur du mois DEMeilleur utilisateur du mois 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) -----

Lire plus
Posté le de Daniel W.
Tamás F.
Tamás F.
User
Auteur

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

Lire plus
Posté le de Tamás F.
Daniel W.
Daniel W.
User
Meilleur utilisateur du mois DEMeilleur utilisateur du mois EN

Does the script work on my test site or not?

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

Lire plus
Posté le de Daniel W.
Daniel W.
Daniel W.
User
Meilleur utilisateur du mois DEMeilleur utilisateur du mois EN

It works.

-----

Lire plus
Posté le de 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.

Lire plus
Posté le de John S.