2

I have a field in my data extension with a space like this:

enter image description here

I want to reference it in my email like this:

VAR @test
SET @test=Conversion Status
%%= v(@test) =%%

But an error pops up. What is the correct way?

Thanks

5

if you still want to reference it as variable, it'd be something like this:

%%[
VAR @test
SET @test = [Conversion Status]
]%%
<br>Conversion Status: %%=v(@test)=%%

or better:

%%[
VAR @test
SET @test = AttributeValue("Conversion Status")
]%%
<br>Conversion Status: %%=v(@test)=%%

Reference:

| improve this answer | |
1

It looks like you are just trying to pull it into the html of the email w/o modification...you should just need the value in the HTML:

<h1>Conversion Status</h1>
<p>%%Conversion Status%%</p>
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.