Accessing cms id in the designer?

Is there a way to pull the collection item ID to populate dynamically in the head section of the page?

I am trying to set up real estate dynamic ads on Facebook and there are requirements for view content events don’t seem to work if using the default products feed from we flow is used.

It seems I will have to set it up manually.

Any suggestions?

Best,
Jon