Solved! Go to Solution.
Without knowing how your page looks, it is impossible to give you an exact answer, so here are the things you can try:
We are using document.querySelector("#mat-dialog-7 > app-order-placed-modal > mat-dialog-content > div > div > div > span") to find the value you want to capture. You can enter that in the console of the developer tools of your browser to see if that is actually an item that can be found on the page.
Your selector is highly depending on the structure of the html, so it might just change randomly and therefore can not be found. It is always best to have an id on the element to capture, to be 100% that it can be captured.
Also check this: Is this value available all the time or is it only available at random points in time? We are capturing the data whenever an action FINISHES, so if you have values that change or only get shown intermediately, it can be a problem as well.
And as a last thing: run "dtrum.getAndEvaluateMetaData()". It will returns an object showing you the currently available metadata we can capture for this page and might also show why the value is missing.