PAGE-A-CODE:
import {local} from 'wix-storage';
$w.onReady(()=>{
$w('#dynamicDataset').onReady(()=>{
let currentItem = $w('#dynamicDataset').getCurrentItem();
console.log("Current-Item-Data: ", currentItem);
let transferData = JSON.stringify(currentItem);
local.setItem("DATA", transferData);
});
});
Try to understand what’s happening here and create the code for SITE-B, where you want to recieve the DATA from PAGE-A.
PAGE-B-CODE:
Start your coding for page-B. As example you already have PAGE-A-CODE.
This is just a quick example, created within 5-min and not tested.
So maybe you will have to optimize or modify it a little bit.
Good luck!