Quantcast
Channel: Active questions tagged ampscript - Salesforce Stack Exchange
Viewing all articles
Browse latest Browse all 359

Ampscript - Dynamic UTM parameters

$
0
0

I've figured out how to put in dynamic utm parameters to append to all links in an email with the below ampscript.

%%[Var @campaign, @pcodeSet @campaignID = "%%campaignid%%"Set @pcode = "%%pcode%%"]%%

My question is - is there a way to add to the ampscript what to fill in for those parameters if those fields don't exist in a customers Profile Attribute.

For example if a customer doesn't have a 'pcode' can i set a default in the ampscript?


Viewing all articles
Browse latest Browse all 359

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>