Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more

Is it possible to pass additional values with the submission data?

Vote:
0

Hi,

I plan to take a form submission and send it to a third party. I've created a actor to take the submission data and send it to the third party without issue. However the client is asking that we include the ip address and a value obtained from a cookie. At the moment ive been looking into creating custom form elements to include both these pieces of information but not having much luck.

I was wondering is there another way I can pass this information. The form is not using a custom form block, just the default FormContainerBlock. (No custom view etc)

Thanks

#319006
Mar 15, 2024 14:57
Vote:
1

Hi Alan

If you want to get user IP, you can use one of built-in form element - Hidden visitor profiling .  There is another form element - Hidden predefined value that allows you to send static predefined value as well. I don't recall there is any built-in element can be used to read cookie, you can use the similar approach to roll your own one, it shouldn't be too hard.

I hope it helps. 

#319121
Edited, Mar 18, 2024 6:45
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.