Forum Moderators: martinibuster

Message Too Old, No Replies

Open new page with javascript code no vignette ads show

         

dawidow

8:49 pm on Apr 5, 2022 (gmt 0)



Hello

I use on my website slider/carousel gallery in mobile version (splidejs). One last swipe open new link by javascript function window.location.href. Unfortunately, such a transition to another page does not start a vignette advertisement.

Whether opening another page with some javascript function can trigger a vignette advertisement?

Best,
Dawid.

NickMNS

10:11 pm on Apr 5, 2022 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Unfortunately, such a transition to another page does not start a vignette advertisement.

First, vignette ads by design will not fire on every page change, so the fact that you haven't seen an ad doesn't mean that it will never happen. In theory window.location.href will send another http request to the browser and refresh the page with the new content, so it should work. That said, I don't know for sure.

I will say that in terms UI what you describe doesn't sound like it's good for the user. Typically users do not expect to be redirected to a new page when they're swiping in a carousel, and they certainly don't expect to swipe to an interstitial ad. Hopefully you make it clear to the user that the last swipe goes to a new page.

dawidow

9:02 am on Apr 6, 2022 (gmt 0)



When I normally click on a link, vignette ads is often displayed. But never see vignette ads when link is open by javascript function window.location.href.

I have informations that next swipe go to homepage.

not2easy

1:16 pm on Apr 6, 2022 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



It can take time for the adsbot to put things together and analyze the situation. They can read .js so if everything is in order, it may only be a matter of patience.