I am trying to set a cookie using a transform rule like the example given here:
However, I would like the cookie value to be based on a value found in the URI.
For example, if my URI contains ?clickid=12345
Set the cookie: “_clickid=12345;max-age=604800;Path=/”
Is there any way to reference a URI parameter value in a transform rule?
You can use http.request.uri.query
to add the query string to your header. And the concat()
function to concatenate the full content of your header.
system
Closed
5
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.