document.addEventListener('DOMContentLoaded', function() {
var path = window.location.pathname;
var segments = path.split('/');
var stockNumber = segments[2]; // Adjust the index based on the actual position of the stock number in your URL path
// Set this value for PixelYourSite
window.pysWooParams = window.pysWooParams || {};
window.pysWooParams.content_ids = stockNumber;
});