I've came to the situation where I need to use JS variable string and use it in Twig's variable.
The plan is built on the Guest entries and Ajax form submission. On successful Ajax form submission I'm calling for entry's keys (especially
id key) and using these keys to set a cookie names. Those cookie names should be used on next page to get into the entry that just got submitted. Can it be achieved?