Hi, Is there any way I can put the “SLUG” on the script in before /body tag?
Yes, within the page template settings you can bind CMS values in code.
Oh, thanks for info, I’ll take note on this one too.
but my problem is, my items are on a static page, not in the cms template. There’s no “+ Add Field”.
is there any way I can put my slug on the query selector like in the photo below? can I just convert the slug to a code?
what I am trying to achieve is to put that (id=“Slug”) on the queryselector.
You could include a Collection List on the page with an Embed element inside, then you would have access to the dynamic fields.