5
votes
How to insert multiple records from Exacttarget microsite to Salesforce?
The SObject Tree only handles single records and you need to use this method for multiple records.
However, I'm not sure why you don't simply use the CreateSalesforceObject AMPscript function instead,...
- 16.1k
5
votes
Accepted
Is there an end of support plan for Classic Content | Microsites?
I think that means "until [you're ready to] move to CloudPages" (i.e., CloudPages aren't missing any features that I need). From the Content Builder FAQ:
What if I Want to Create Content for ...
- 1,467
4
votes
Accepted
BASE64 Decode on Microsites - pulls values, but displays encoded Email value
If you link to your page like this, all of the data points in your send context will be available automatically:
<a href="%%=redirectto(concat(CloudPagesURL(111),"&mid=", memberid))=%%">...
- 29.3k
4
votes
How to embed a salesforce marketing cloud microsite in 3rd party website page?
Yes and yes.
You can use an iframe to embed a SFMC Microsite page in a 3rd party site.
Also, you can use the FuelSDK and write API calls (or use your own implementation of the SFMC SOAP or REST API)...
- 29.3k
4
votes
Accepted
Undefined personalization strings and AMP variables from an email using SSJS on a microsite page
You should be using the Attribute.GetValue() function to retrieve the personalization string values:
<script runat="server" language="javascript">
Platform.Load('Core', '1');
var ...
- 29.3k
4
votes
Accepted
Marketing Cloud Microsite
There are two parts to classic microsites: the (1) microsite itself and the (2) microsite definition.
Part One
From the top, navigate to Content
From the left, navigate to My Microsites
Create a ...
- 1,467
3
votes
Accepted
Can I use AmpScript to set Subscriber Status in Marketing Cloud?
There are two ways that you can approach this.
Do it with Ampscript with InvokeUpdate API function. Check the Usage part on the documentation site, it's similiar to your use case, you just need to ...
- 1,634
3
votes
Accepted
How to set a cookie using SSJS?
There is a SetCookie value you can use in SSJS.
<script runat=server>
Platform.Response.SetCookie("cookieName","cookieValue","2015-12-31 140000.999",true);
Properties are below. Values 3 and ...
- 4,630
3
votes
What happened to my microsites in SFMC? Classic Content discontinued
There is a quite comprehensive explanation of Classic Content (incl. Microsites) retirement in this article. The retirement has been communicated by Salesforce on multiple occasions in context of a.o. ...
- 19.1k
2
votes
Custom Font Slate Pro in MicroSite
I have noticed that sometimes the custom fonts which are externally linked gets blocked in sfmc cloud pages and microsites. There is a work around to this by Base64encoding the font file into css ...
2
votes
Accepted
trigger an email automatically upon signup on microsite
Create a Landing page with HTML form
create a backend page where you will write the ampscript code
create a trigger send Dataextension using trigger send template (creation method -> create from ...
- 718
2
votes
How to add survey in a landing page?
The Survey Tool you describe in indeed limited and has short comings when it comes to putting surveys in email, as a Form directly inside the email is dependent on the handling capabilities of the ...
- 2,810
2
votes
How can I pass microsite form responses to a data extension?
I generally do this with a single page. Here's a boilerplate that I created, which utilizes SSJS and a little bit of AMPScript:
<script type="text/javascript" runat="server">
Platform....
- 29.3k
2
votes
Dynamic content in a Microsite
You can utilize personalization strings and AMPScript inside of a Cloudpage no problem. The hardest part is passing the values along.
SFMC has included an AMPScript function to assist called ...
- 29.7k
2
votes
Accepted
How to get Data extension records between Start date time and End date time using AMP script?
First of all welcome.
General notes:
Everything in your usecase points towards SQL instead of AMPScript.
LookupRows(), and all script based retrievals in SFMC have a row limit of 2000 / 2500 rows ...
- 8,595
1
vote
Storing Responses from an HTML Survey in Cloud Pages
The easiest way to push data to Data Extensions from Cloud Pages is using Smart Capture.
It is entirely a drag and drop configuration, where you select the Data Extension to which your data should be ...
- 19.1k
1
vote
Accepted
Storing Responses from an HTML Survey in Cloud Pages
You can just redirect the form to another CloudPage which shows confirmation to the user but also has Ampscript code which saves the input into Marketing Cloud. Here is an example with simple HTML.
&...
- 38
1
vote
Accepted
Using Google Analytics and GTM with Classic Content Microsite
Basic GTM/GA setup is no different on microsites and Cloud Pages, compared to any other website. Unless you want to pass specific information to GTM data layer from e.g. AmpScript, you just need to ...
- 19.1k
1
vote
Whats the difference between a Cloudpage and microsite in Salesforce Marketing cloud
A microsite is a collection of one or more landing pages hosted in your account. Use a microsite to contain information beyond what you include in an email. For example, you can create a microsite to ...
1
vote
Whats the difference between a Cloudpage and microsite in Salesforce Marketing cloud
So when you say Microsite, there are two versions of Microsites -- the Classic version or CloudPages Microsites. Both essentially just tie together landing pages/Cloud Pages in a site map.
The ...
- 4,630
1
vote
Dynamic content in a Microsite
Yes, it's possible. Yes, you can. You can use AMPSCript in Microsite as you use it in Email including retrieving data from a salesforce ojbect.
Set @rows2 = LookupOrderedRows("Cars",4,"Horsepower ...
1
vote
Accepted
Retrieve All Content Areas in a Parent Folder
It turns out it was much easier to solve than I had thought. Just had to filter by Category ID.
SET @fs = CreateObject("SimpleFilterPart")
SetObjectProperty(@fs, "Property", "CategoryID")
...
- 1,881
1
vote
iFrames, Microsites and AMPscript
How will end-users arrive on the microsite? If coming from a link in an email footer, then using MicrositeURL() function in the email ampscript would be best practice. If arriving on the page from ...
- 2,605
1
vote
Accepted
Using SSJS to dynamically build landing page content
Something like this:
<script type="text/javascript" runat="server">
Platform.Load("core", "1.1.1");
var var1 = Variable.GetValue("@var"); // or whatever
if (var1 > 1) {
Write("Show ...
- 29.3k
1
vote
Accepted
Microsite layouts and Content Areas
Changes to Content Areas do not require republishing landing or microsite pages -- which is a pro and a con of creating modular content using Content Areas.
EDIT: Assuming you're using the ...
- 29.3k
1
vote
Accepted
If statement block is not executing at all
I think trailing whitespace is the issue. If you use the trim() function on the @key and @value variables the conditional will work fine.
%%[
var @activities
set @activities = httpget("http://pages....
- 29.3k
1
vote
Setting a Date field with CreateSalesforceObject() in ExactTarget
It seems that only the second format works when updating to either a Date or Date/Time field. Here's another way to build the proper format which has worked for me.
Concat(DatePart(Now(),"Y"),"-",...
1
vote
Accepted
how to connect public site with salesforce org
There's a couple of ways to do this. You could create an API in Apex using REST, for example, that allows your public site to access data in your Salesforce org. A class that does this, might look ...
- 7,107
1
vote
Accepted
Testing Microsite Pages
I´m answering myself. :)
I had to "publish" the page before being able to access via the URL.
To do that,
Interaction > Microsites. Here create a new one, and "start" it.
- 68
1
vote
Accepted
AMPScript on microsite executed twice
Found the cause:
background-image: url('')
in the html element on the landing page somehow caused the page to relaod and execute AMPscript twice in this process. I got rid of that and AMPscript ...
- 11
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
microsites × 54marketing-cloud × 48
ampscript × 18
landing-page × 11
ssjs × 9
dataextensions × 8
cloudpage × 3
content-builder × 3
api × 2
data × 2
email-studio × 2
survey × 2
javascript × 1
email × 1
journeybuilder × 1
json × 1
email-template × 1
css × 1
lookup × 1
permissions × 1
html × 1
security × 1
force.com-sites × 1
datetime × 1
date × 1