AMPscript is a scripting language that you can embed within HTML emails, text emails, landing pages, SMS messages, and push notifications from MobilePush
Questions tagged [ampscript]
122 questions
0
votes
1 answer
ExactTarget - JSON Feed as source
Having a tough time with ExactTarget's documentation. The example below from their docs works just fine, but I'm having trouble setting the var Json to an actual JSON feed. What am I missing?
%%[ var @Json set @Json = '…

ok1ha
- 637
- 1
- 11
- 30
0
votes
1 answer
What is wrong with my AMPScript LookUp function?
Long time lurker, first time poster. I really appreciate any help!
I am trying to pull Subject Lines from a separate data extension than our sendable data extension. There are different subject lines stored here, and they vary by each record.
I'm…

jake314159
- 101
- 4
0
votes
1 answer
AJAX call not firing after 5 keystrokes
Why does this require more than 5 keystrokes before firing?
$( document ).ready(function() {
$("#zipcode").on("keyup", function(event) { // keyup function
if(this.value.length == 5){ // if 5 time keyup then fire the ajax
var…

SFMC_User
- 103
- 4
0
votes
1 answer
Ampscript 'onclick or ng-click'-like functionality?
I'm new to Ampscript and I've created a page in html and set variables within Ampscript. I am now trying to get an ampscript function to run once a user clicks a html button. Is this possible??? Any help is much appreciated.
Thanks,

Ifstatement91
- 5
- 3
0
votes
1 answer
LookUpRows on rowset created with function BuildRowSetFromString
Is it possible to apply a function like LookUpRows or Lookup to an array created with BuildRowSetFromString?
I have this:
SET @rowSet = BuildRowSetFromString(@ItemsString2, '|')
I'd like to know if there's a function on which I can do:
SET @var…

guergana
- 374
- 5
- 19
0
votes
1 answer
Is it possible to create an array with AMPScript without function BuildRowSetFromString?
Is there any other way for creating arrays in AMPScript aside from a string as in function BuildRowSetFromString?
From official…

guergana
- 374
- 5
- 19
0
votes
1 answer
DataView in AMPScript
Is it possible to access SendLog and DataView data i.e. _Click via AMPScript to populate email content? Something like:
%%[SET EmailContent = _Click(linkName);]%%
I know how to run SQL query and save this as a Data Extension but I'd like to use it…

dan123
- 43
- 1
- 1
- 5
0
votes
1 answer
"Field Name was not found in the send source"
I'm a bit new to ExactTarget in general so I apologize if this has already been answered (if it has, I can't find it anywhere).
I am attempting to create an email which will conditionally display n of 50 bulleted lists containing links to product…

Taj
- 43
- 1
- 6
0
votes
1 answer
Execution timing, AMPScript / JavaScript?
I am interested in using JavaScript on an ExactTarget landing page.
I'm hoping that the JavaScript I have on page can examine a cookie value, and based on this cookie value, set a variable in AMPScript.
If I were to use SSJS, would the JavaScript…

Eric Wiley
- 15
- 4
0
votes
2 answers
Exacttarget API Custom Unsubscribe Page
I'm trying to figure out how to use the ExactTarget API to redirect to a custom unsubscribe page when a use clicks the unsubscribe button at the bottom of an HTML email. So far, in ExactTarget's documentation, I found something about custom "profile…

Rambo8000
- 323
- 1
- 12
- 23
0
votes
2 answers
AMPScript: trying to insert hidden fields
I'm working on some email that will be deployed via Exact Target. We have a lot of AMPScript dictating what is going on within the email(s). The content blocks of the email are dynamically filled, and when a field is left empty there is still a call…

Frankie
- 1
- 4
0
votes
1 answer
Get Email ID or Name from AMPscript
I'm new to exacttarget and ampscript so I'm sorry if this is trivial. I've tried searching the help documentation to no avail.
I'd like to include the email name or ID as metadata in an email.
Is there a way to retrieve this information at send…

VFein
- 1,021
- 2
- 11
- 23
0
votes
1 answer
Getting an HTML form's POST variables with AMPScript
Does anyone know if it's possible to get the POST variables from a form, using ExactTarget's scripting language, AMPScript? I'm seeing how to get parameters via query strings, but seeing how I'm building a login page, passing username/passwords…

dauble
- 150
- 1
- 2
- 12
0
votes
2 answers
Is it possible to trigger AMPscript from link in Email?
I have ExactTarget for Salesforce enabled and I'd like to create a Task record whenever someone clicks on a particular link in my email template.
I am aware that AMPscript allows me to create a record in SFDC through 'CreateSalesforceObject' and…

slovak_100
- 782
- 2
- 10
- 33
-1
votes
1 answer
How To Disable Browser Back Button In Custom AMP Page?
last time i put this custom disable browser back button (Javascript) in my AMP websites page ( websites ).
I use this script to reduce the bounce rate in seo. But after requesting indexing in google search console i got some problem with "There is a…

info indo
- 1
- 1