rendering form based activities after page view event | Community
Skip to main content
Michael_Soprano
New Participant
February 21, 2025
Question

rendering form based activities after page view event

  • February 21, 2025
  • 4 replies
  • 974 views

I would like to render Form Based activity from Target. Conditions would be checked through Target Activity script. I do not want to bother with any Decision Scopes etc ....

What code should I put in second action? Or should I apply propositions?

 

4 replies

kautuk_sahni
Employee
March 7, 2025

@michael_soprano Did you find the suggestions helpful? Please let us know if you need more information. If a response worked, kindly mark it as correct for posterity; alternatively, if you found a solution yourself, we’d appreciate it if you could share it with the community. Thank you!

Kautuk Sahni
RiteshY18
New Participant
February 27, 2025

@michael_soprano  scope is activity and proposition is content, in your case 

add  html DOM code to update content via code load via form activity 

Michael_Soprano
New Participant
March 3, 2025

Something like that?

 

RiteshY18
New Participant
March 3, 2025

@michael_soprano  yes, did it work ? and what other options u have for action?

GigiCotruta
New Participant
February 26, 2025

Hi, @michael_soprano,

 

One quick question:

Rendering from Launch would mean rendering client-side, why would you need it? Form Based activities are usually used for server-side rendering.

It is easier to implement a Visual activity from Client Side.

 

However, if you still want to do it this way, you are probably looking for the following:

You have to capture the response from target activity and then, render it. 

Make sure to check the "Render visual personalization decisions" checkbox.

Michael_Soprano
New Participant
March 3, 2025

In some browsers and corporate VPNs VEC does not work and as a consultant I have crazy deadlines ....

So what should I write in Response headers and in Response body? 

Response from Web SDK is like that in Network. Should you explain this step by step?

 

kautuk_sahni
Employee
February 26, 2025

@brekrut @gigicotruta @riteshy18 @reenajohn @pradeep_kumar_srivastav @dhaneshsh2 @travis_jordan @kendallhall If you're available, please check out this question and share your thoughts. Your help means a lot!

Kautuk Sahni