Questions tagged [cloudpage]

CloudPages is a Marketing Cloud application used to create and publish targeted marketing content to customers across multiple channels. Use the CloudPages editor to build a collection of content, then optimize your content for distinct mobile, social, and web experiences. Publish content immediately or schedule it to publish later. Then, monitor published content to gauge its performance across each channel.

Filter by
Sorted by
Tagged with
-2 votes
0 answers
34 views

Pass a variable from Javascript to AMP Script or SSJS

Is it possible to pass a variable from Javascript to AMP Script or SSJS? The reason is I need to use Javascript libraries to generate a variable which I need to use in SSJS to make an API call.
-1 votes
0 answers
27 views

How to clear cache in my SFMC cloud page?

I am using cloud page in marketing cloud and noticing that the cloud page is caching some data also using different browsers. how can I clear this?
  • 1
-1 votes
0 answers
14 views

Push Unsubscribe Contact into a Data Extension

How can I bring back all contacts who unsubscribe to a given extension? If I also want to report the email name or CJ from which I unsubscribe, how can I report the information such as email and phone ...
0 votes
1 answer
23 views

Pass querystring variable from one cloudpage to another

I'm trying to pass a language variable from one cloudpage to another. For context, once i get the variable to pass, I will then do a lookup based on language variable to lookup multi-language ...
0 votes
2 answers
33 views

PrimaryKey Violation - how to display error message on cloudpage

I've created a custom form on a cloudpage with a handler to insert a phone number into a data extension to honor a mobile unsubscribe. Once you enter the phonenumber and press submit, you are ...
0 votes
1 answer
50 views

Retrieve Request Method from HTTP Request Header

I would like to know if there is a way to retrieve an HTTP request method from the HTTP request headers. Based on the method used (GET, POST, ...) I will run a different logic on my Cloud Page. If I ...
  • 53
1 vote
1 answer
76 views

How to use Claiming of coupon codes in relation to Triggered Send where claimed coupon code also needs to be passed to Triggered Send Data Extension

Current Scenario: We have a cloudpage that is working as an API endpoint where fields / parameters are passed and cloud page is responsible to trigger a triggered send email. Cloudpage AMPScript ...
  • 169
0 votes
0 answers
24 views

SFMC - upload contents (as a formatted JSON) to sftp

Let's say we've got <input type="file"> inside a form placed on a cloudpage and posted it using POST with our file contents as a form params to a server side. Is it possible to send ...
  • 747
0 votes
0 answers
63 views

How to prevent same coupon code assignment to multiple email addresses in SFMC using AMPscript

Current use-case / scenario: We have a cloud page that is used as an API endpoint. Within the cloud page, there is an Ampscript set @coupon_Code = Lookup("Coupon_DE","Coupon_Code",&...
  • 169
0 votes
1 answer
54 views

Redirect to another page on submit

Hello all I have the below code where it upserts into a DE. I also want to redirect to a new cloud page on clicking submit. The issue is I did find a way to do it by using action="%%=...
  • 127
-1 votes
1 answer
135 views

Marketing Cloud, Decode qs URL Parameter in Cloudpage

I am creating a Cloudpage in Marketing Cloud that is meant to grab the 'qs' URL parameter, decrypt it, and parse the response to show attributes like email address, etc. of the subscriber. I am ...
0 votes
1 answer
58 views

Does the API call trigger by just Cloudpage preview?

I have a cloud page where I have an SSJS script that triggers the API call. When I preview this page using cloudpage preview, I get an error saying the are errors in the cloud page, although this ...
0 votes
1 answer
46 views

Cloudpage not able to catch subscriberkey

I had followed this trailheadand the github code. Successfully apply to one of my org, but when I'm trying to copy to the another org, somehow it's not working. I had adjust the variety of cloudpage ...
0 votes
1 answer
66 views

SmartCapture Form Not Submitting Values

I'm trying to have the "Otro" option display a text-field so someone can provide more details. I have a SmartCapture form on a CloudPage that has a checkbox field with several options, and ...
0 votes
0 answers
22 views

If/Then Conditional Code for Salesforce Cloudpage [duplicate]

I am creating a preference center using a smartcapture form in salesforce. I am trying to code it that if someone clicks "Option 1" from the first drop down in the form, then only certain ...
  • 1
0 votes
1 answer
56 views

execute an automation with an html button

I have the following code that executes an automation. <script runat="server"> var api = new Script.Util.WSProxy(); var request = api.performItem("Automation", { ObjectID: &...
0 votes
0 answers
77 views

Postman cURL to SSJS, Getting Errors

I'm having trouble with converting Postman cURL to SSJS. My goal is to build a cloudpage to make an API call to an external platform to create records, but somehow my SSJS code does not work. Here is ...
-2 votes
1 answer
83 views

How to trigger SMS using API in marketing cloud [closed]

When someone submits the cloud page form, I need to send Thank You SMS with their name using API. how can I achieve this?
0 votes
2 answers
124 views

When someone submits the Cloud page form sending OTP. when subscriber submits OTP displaying success or failure message

I have created a cloud page with fields like firstname, email, and one field as OTP. If someone submits the form I am storing all data in a data extension and creating a 4-digit random number using a ...
0 votes
0 answers
38 views

Encoding a CSV file from a Cloud Page and passing the value to a 2nd Cloud Page not working as expected

What I am trying to do : I have a cloud page where the user can upload CSV file. When user clicks on the “upload” button the a function called getBase64() is called (please refer the below code). The ...
  • 1
0 votes
0 answers
112 views

How to upload a file to FTP using SSJS code in marketing cloud?

I am looking out for a way to upload a CSV file to FTP using a SSJS code for one of our usecase. Here is the code that I have, <script runat="server"> Platform.Load("core"...
  • 1
0 votes
1 answer
59 views

SSJS core functions won't unsubscribe from publication list

I'm trying to create a cloud page that will unsubscribe someone from a publication list if they click the link. I do not want to change their status in All Subscribers, and I don't need to include any ...
  • 185
-1 votes
1 answer
88 views

Using UpdateSingleSalesforceObject for multiple records

I've got a Cloudpage with Ampscript that displays record information of a custom object related to a Contact. It displays a particular field as a checkbox, which corresponds with the custom object ...
0 votes
1 answer
43 views

LogUnsubEvent makes Subscriber unsubscribed but don't change Status on _Subscribers Data View

I execute this LogUnsubEvent on a CloudPage and it works well. The Subscriber get unsubscribed correctly but the value of Status don't change and remains Active on the table _Subscribers. Idk if i ...
  • 1
0 votes
1 answer
77 views

how to publish the records of a Data Extension in an html table

I am using the following code to retrieve all the records of a data extension: <script runat="server"> Platform.Load('core', '1'); var stagingDE = DataExtension.Init("...
0 votes
0 answers
36 views

API Endpoint to Publish CloudPage

I'm using an API integration of VS Code which requires setting API access for the installed server-to-server package to include Channels: Web - Read + Write + Publish. That package doesn't have a ...
0 votes
2 answers
116 views

AmpScript redirect not working in if/else

Hello I'm working on a Cloud Page in Marketing Cloud. I'm trying to set a redirect based on the result of an object update in a connected CRM. Example code below. %%[ var @campaginMemberId, @city, ...
  • 13
0 votes
1 answer
130 views

Is it possible to use private email sending domains as a cloud page domain?

At the moment, the customer only has a single URL available for creating the cloudpage, he was informed by a salesforce ticket that it is possible to register the private domains that are used for ...
user avatar
0 votes
1 answer
83 views

Using SSJS to report on email sends using the Single Send ID as a URL parameter

Im looking to set up an API that retrives all the email send stats eg. Open Rate, Click rate, Unsubscribes etc... I have set this up before but cannot remember how unfortunately. It would return a ...
  • 3
0 votes
1 answer
89 views

Enable forward slashes in site key when setting a cloud page

Trying to create a url www.example.com/urlgoeshere/faqs but whenever I try to add a forward slash in the url I get an error. I can save dashes, underscores but no forward slashes. Is it possible ...
  • 101
0 votes
1 answer
56 views

Is it possible to retrieve Cloud Page User's Time zone?

I am trying to retrieve the time zone from a cloud page to populate and ICS file I am generating. The file is created fine, but the time is incorrect. Is it retrieve to pass the user's time zone so I ...
-1 votes
1 answer
79 views

Are cloud page and landing page same? [closed]

Are cloud page and landing page same or is there any difference between them ?
  • 1
0 votes
0 answers
53 views

Where should this SFMC provided script be placed to secure my SmartCapture CloudPages?

I'm hoping to secure my CloudPages Smart Capture forms using the script provided by SFMC on this page. I've pasted the script in various pages on the code view screen and no matter where I place it, ...
0 votes
1 answer
96 views

Marketing Cloud - Does API call executed inside a Cloud Page count toward account limit? [duplicate]

Considering a limit of 6M API Call per year for a corporate license, I wonder whether an external API call which is called from a Cloud Page count toward this limit. Please anyone can help? Thanks
  • 295
0 votes
1 answer
97 views

What happened to my microsites in SFMC? Classic Content discontinued

I used to have a very useful microsite, available only to logged-in users, which updated a query definition in Automation Studio via SSJS and ran it without needing to go through the Automation Studio ...
  • 822
0 votes
1 answer
68 views

AMPscript button to delete records

I working on a small project using HTML CSS and AMPscript to pull records from a Data extension and display it in a table which is already done but I want to make it possible to delete those records ...
0 votes
0 answers
85 views

Interactive Forms and CloudPage redirects to customer's language preference

I am using an interactive form where each field value is populated via AMPscript. This is so I can use one form and dynamically input the customer's language into the field values. With this setup, ...
-3 votes
1 answer
203 views

Redirect() and RedirectTo() not working in cloudpages

I was using RedirectTo() to redirect from cloudpage to external URL after a data extension update (say "https://www.google.com"). It was working fine yesterday but when I try today, the code ...
  • 125
1 vote
1 answer
139 views

Cloud page access cost the per year API limit

I would like to know whether the cloud pages accessed by the users would be considered as a get API and the per year limit of n million APIs (6M for corporate account and 200M for enterprise) would be ...
  • 125
0 votes
1 answer
49 views

Preventing Free Domains from Submitting Marketing Cloud Forms

I'm trying to find the best way to limit free domains (e.g. gmail.com / hotmail.com) from converting on our salesforce marketing cloud forms. In Hubspot I know you can tick a box to limit free domains ...
0 votes
0 answers
43 views

Pass AMPScript variable to client-side Javascript code in separate JS file

As above mentioned in the title, I'm trying to pass an AMPScript variable, which is a value coming from a data extension. The AMPScript block remains in the HTML code. On the other hand, I have a ...
0 votes
1 answer
83 views

How to hide a logging error in a Marketing Cloud Cloud Page?

I'm working with a company that has a lovely little Marketing Cloud CloudPage set up at https://cloudpages.example.com/preferencecenter?SenderKey=XYZZY&amp;EmailAddress={{Recipient.Email}} to ...
  • 1,167
0 votes
1 answer
47 views

Sending AMPScript Variables to a Landing Page from Mobile Push

We're trying to send some variables to our landing page that are set within AMPScript through a Mobile Push. Within the setup of that Mobile Push (in the Alert Message), we have something along the ...
0 votes
0 answers
142 views

Salesforce Marketing Cloud - Use OnChange with AMP Script in Cloudpage

I have a problem since yesterday. I want to build a cloudpage which is use to save some informations filled by the customer. I need 2 dropdown list, which the options of the second one, depends on the ...
1 vote
0 answers
81 views

Thank you Cloud Page performance

We have a Thank You cloud page that updates several data extensions with ampscript upon submission of a first cloud page. We see a bit of a delay when showing the html because of this code. Is there a ...
0 votes
1 answer
81 views

Marketing Cloud - Unable to store the data into DE

I have created a survey page, question and answers(radio button) are retriving from data extension and displaying on a cloud page. On submitting the answers, values are not storing in data extension. ...
0 votes
1 answer
159 views

Dropdown List In CloudPage

I am trying to create a dropdown list in the cloud page, but the question is, how do we pass the dropdown value to another cloud page? I've created a dropdown , and what it does here is it fetches the ...
  • 3
0 votes
0 answers
102 views

Cloud Page Unsubscribe functionality not working

We have 2 cloud pages. Our requirement is the global opt-out for emails. So when someone clicks on unsubscribe on the first page they should get unsubscribed from MC and Salesforce CRM. The rendering ...
  • 45
0 votes
1 answer
115 views

Consent Management - Sync Consent from a dynamic Cloudpage to Salesforce

Let's say that I had created an unsubscribe dynamic Cloudpage: Different emails redirect to this cloudpage. Each email is related to a specific market (identified by a marketID). The cloudpage has to ...
0 votes
1 answer
65 views

Limiting Submission of a Certain Field on a CloudPage

I have a CloudPage being used to collect appointments for a meeting time. I have one CloudPage, and five time slots mapping back to data extension, specifically to the field "Time." "...

1
2 3 4 5
11