Capture Form-field Value using Script Profile
Hello,
I'd like to capture a form field value while not tied to a campaign or offer. For example, every time page1.html is rendered, capture the "country" form-field and store it to a User Profile. The reason I don't want to use a campaign/offer is I only have a single mbox on the page and I don't want to prevent entry into real campaigns just to capture this value. I'm thinking the script profile would look something like this:
On Page Code
<input type="text" name="countryField" id="flowCountryField">
Example Script Profile
if (mbox.name == ('global') && (page.url.indexOf('/page1.html')>-1) ) { return // Here's where I'd want to capture the form field; }How do I modify the script above to accomplish this? If this isn't possible, is there another way to capture this information via Target without using a campaign/offer?