Expand my Community achievements bar.

rendering form based activities after page view event

Avatar

Level 10

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?

Michael_Soprano_0-1740155877171.png

 

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

8 Replies

Avatar

Administrator

@brekrut @GigiCotruta @RiteshY18 @ReenaJohn @Pradeep_Kumar_Srivastav @dhanesh04s @Travis_Jordan @kendallhall If you're available, please check out this question and share your thoughts. Your help means a lot!



Kautuk Sahni

Avatar

Level 5

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:

GigiCotruta_0-1740570542746.png

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

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

Avatar

Level 10

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? 

Michael_Soprano_0-1741024172110.png

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

Michael_Soprano_1-1741024249905.png

 

Avatar

Community Advisor

@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 

Avatar

Level 10

Something like that?

Michael_Soprano_0-1741024572461.png

 

Avatar

Community Advisor

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

Avatar

Level 5

Yes, indeed. The only detail is that in scope, you should put your "Activity location". So that Adobe Tags knows to which Target activity to "connect". 

Avatar

Administrator

@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