Dynamic Preheader not rendering
I am aware of the bug about the preheader which is not displayed once the email is sent. I would like to render a dynamic preheader based on a field on a DE.My email is structured as follows: I have a...
View ArticleCreating ICS links on a Landing Page via AMPscript
We're building a set of linked pages inside of ExactTarget using AMPscript and data extensions. The Data extensions contain events with date tags and we'd like to use these to have an ICS link appear...
View ArticleIssue with tracking appended to our links on triggered emails
We are experiencing an issue with emails we're sending in regards to the Exact Target tracking appended to our links - in some cases the tracking is preventing our links from displaying in the browser....
View ArticleAMPscript formatting a number using a variable that needs TreatAsContent
I have a data extension that gives me a user's currency, plus fields for the cost that look like this: cost_USD | cost_EUR | cost_BRLHere's what I have in my ampscript:Set @partner_currency =...
View ArticleHaving issue with Email personalize with %%First Name%%
I have created an email template on Salesforce Marketing Cloud and I want to add %%FirstName%% personalization string to it. However, I haven't been able to do so after trying different syntaxes. Below...
View ArticleAMPscript to update a Contact Record in Salesforce
I have a backbone of code where I am passing the subscriber key to a landing page from an email. I want that when a subscriber clicks and is redirected to the page to update 2 records in Salesforce. I...
View ArticleHow to consume JSON data into data extensions when third party is sending...
Can any one please help me how to implement this in marketing cloud. since i am new to marketing cloud and I know how we can do that in salesforce service/sales cloud. Scenario :we are digital company...
View ArticleAMPScript for REST API call in landing page
I'm trying to call REST API to display a push message that is sent from Marketing Cloud in landing page.How do I call the API? I was able to get the Token using the client secret and ID but how to pass...
View ArticleAmpscript UpdateSingleSalesforceObject Function in Loop
Im getting a 500 - error on my code and can't figure out whats causing it. Im trying to build a custom preference center (cloud page) that updates corresponding contact point consent records in...
View ArticleEncrypting ContactKeys to share with a vendor for use as a querystring GET...
I've got a data extension with over 2500 records in it that I'm trying to modify as such: take the 'ContactKey' value, encrypt it using EncryptSymmetric() in AMPscript, and then assign the 'Encrypted...
View ArticleSmart Capture Form - insert record into Salesforce
I have a Cloud Page with a Smart Capture form. The Smart capture form works as intended and stores the information into a specific Data Extension.In addition to that, I would like to capture the POST...
View ArticleJS Code in Browser AND Server
Is there any practical way to write JavaScript functions such that the same code can be executed in BOTH a Landing Page written in AMPscript AND SSJS executed on the server (other than copying the same...
View ArticleAmpscript Lookup function on field which is null
I am using this function:%%=Lookup("ENT.SBQQ__QuoteLine__c_Salesforce","SBQQ__ProductName__c","sbqq__quote__c", "a0n5E000002KZHQQA4", "SBQQ__Required", @required)=%%which works all the times (it...
View ArticleHow to reference another data extension using ampscript to populate dynamic...
Still learning ampscript and its functions and need to ask a question as I'm going around in circles. I have an email which is sent to a list of subscribers. Within the send data extension I have a...
View ArticleAMPScript For Loop Dynamic Variable
I am trying to get a dynamic variable set inside a script block with AMPScript.Here is what I got:FOR @i = 1 to 5 DO TreatAsContent( Concat( "SET @Test", @i, " = ", 'some value' ) )NEXT @idSET...
View ArticlePrint AMPscript Variable inside HTML as attributes
So I am using ExactTarget templates and content areas to build my emails. In my templates I have AMPscript variables defined in the < head > and that will determine how elements in my content...
View ArticleWhatsApp not executing the AmpScript function
We are using a Cloudpage to track whether the WhatsApp CTA links are clicked. For this, a Cloudpage is embedded in the Meta template as the base URL for the CTA, with UTM parameters dynamically added...
View ArticleGet ListID of a Subscriber's Publication List programatically?
Is it possible to get subscriber's ListID of a Publication List?A retrieve from _Unsubscribes gives me only AllSubscribers listID. I've tried every API from MC, I can't get that ListID. set @rows =...
View ArticleHow to prevent Content Builder plain text from designating the same link to...
The AMPscript is set up like this in Content Builder. Example:Content Block 1SET @linkButton = "link1.com"Content Block 2SET @linkButton = "link2.com"Content Block 3SET @linkButton = "link3.com"In the...
View ArticleNeed help with HTTPPost call in ampscript
I have the following codeSET @CallStatus = ''set @JSON = HTTPPost("http://someapi/bgcenter/","application/json","a=getSubLists&m=10790742&o=j&e=sometest@email.com", @CallStatus)I am trying...
View Articleexclusion script for a matrix based on criteria type
I'm trying to write an exclusion script based on multiple criteria. Here's my general setup:In my Sending-DE, I have a column called "criteria-type" - in my Exclusion-DE, I have 5 criteria columns...
View ArticleIs there a way to stop a send to an individual address if data is missing?
I'm new to Exact Target and as the question implies, is there a way to omit the record from being sent an email if the data used for personalization is missing in the list? I personally prefer sending...
View ArticleEmail Frequency Capping in Marketing Cloud Connect
I want to do the Frequency Capping to those Emails which are sent/triggered from the Marketing Cloud Connect.I know that we can add the exclusion Script to the Journey Emails, Content Builder Emails,...
View ArticleHow i can retrieve the the Suppression List data by email or subscriberKey...
<soapenv:Body><RetrieveRequestMsg xmlns="http://exacttarget.com/wsdl/partnerAPI"><RetrieveRequest><ObjectType> ListSubscriber...
View ArticleI have a problem using UpsertData, show me an error
I am trying to insert the responses of a form to a DE, but when the information is captured and I direct it to my cloude it sends me the following error{"message":"The function expression is invalid....
View ArticleAMPscript acronym
I've always wondered, what are the three 'AMP' words in the AMPscript acronym?I guessed it could be Adam's Marvellous Programming — but while Adam may be very knowledgeable in AMPscript, the language...
View ArticleHow to pull data from Data Extension to be displayed in Landing Page?
How to pull data from a specific data extension that can be displayed on a Landing Page using Ampscript?On the email I have this Ampscript which displays the Balance Points once sent on the Email...
View ArticlePassing value with InsertData to the DE in Cloud Pages with AmpScript doesn't...
I'm trying to create a technical and completely empty landing page in Cloud Pages that's going to be used for passing values to a Data Extension and then redirecting the person to website. I'm new to...
View ArticlePopulating dynamic redirect in landing pages
We have a large survey which I have divided into 3 forms. On completion of each smart capture form I am trying to append some personalised elements so they get picked up in the next form so we can join...
View ArticleUsing date time of today in look up ordered rows -Ampscript
Im trying to use a lookupordered row expression to find rows that have a submission date of today and display them, unfortunately I am not finding any matches. I am unsure if my syntax is incorrect or...
View Article