Perhaps something like this…
$w.onReady(function () {let baseUrl = wixLocation.baseUrl;let previousPageURL = session.getItem("page"); session.setItem("page", wixLocation.url); console.log("Previous-Page " + previousPageURL) setTimeout(()=>{ wixLocation.to(previousPageURL) },5000) //updates sthe site every 5 sec.});
So in the same way you could refresh data from database.
But i think there are better solutions. I don’t know if this one is an aceptable one.
Thank you! But I’m looking to embed link to text… and that text (in my case just numbers) should change when the numbers of the linked page change (stock numbers por example. Is that possible? Thanks again
Not sure if i understood completely your request.
Do you have an example, an image (al little piece of your project) where you can show the problem/situation ?
Absolutely, forgive my lack of knowledge. I’ll share an example of what I’m trying to explain.
Sorry, but i think in this case, can’t really help you.