Set and send Target profile parameter on form submit in Launch | Community
Skip to main content
Level 4
September 15, 2021
Solved

Set and send Target profile parameter on form submit in Launch

  • September 15, 2021
  • 2 replies
  • 1715 views

Use case:

We have a simple form consisting of a few radio buttons and a submit button. The response to this survey page will drive personalization in Target.

Sample scenario:

In survey page/form it says what is your favourite letter: the choices (radio buttons) are a, b and c.

On form submit, collect the response (a, b, or c). Use data element to store this value.

In AEPDC aka Launch, set up a rule - on form submit, assign profile parameter to the response; e.g.  profile.surveyResponse = the response (the data element that's used to store the response).

In Target, profile.surveyResponse will be used to create audiences; e.g. an audience for those that responded with a, another audience for b, another for c.

 

How can this set up on Launch?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Andrey_Osadchuk

You may want to create a Rule to be fired when a form response is received. Here is an example of how the Target method looks:

adobe.target.trackEvent({ "mbox": "form-submit", "params": { "profile.surveyResponse": "value" } });

 

2 replies

Andrey_Osadchuk
Andrey_OsadchukAccepted solution
Level 10
September 18, 2021

You may want to create a Rule to be fired when a form response is received. Here is an example of how the Target method looks:

adobe.target.trackEvent({ "mbox": "form-submit", "params": { "profile.surveyResponse": "value" } });

 

Level 4
September 20, 2021

@andrey_osadchuk thank you, I think it's working. I set up a rule that fires on form submit and set up an action on that rule similar to the trackevent example you sent.

 

I tried to verify. In the console there is a hit that matches the response (the radio button) I selected. Look at the request payload below. Under Request Payload>Request ID (some ID)>Notifications>0>profileParameters and in here I see the param name productSurveyChoice (this is the param I set up) and the value is correct, the one I selected. Is this correct and in Target will the corresponding audiences work now?

 

 

Once again, thank you!

 

 

 

Andrey_Osadchuk
Level 10
September 20, 2021

it should work