Salesforce Advertising Cloud gives strong instruments for constructing customized experiences, and considered one of its most helpful options is Cloud Pages.
It allows you to create a Cloud Web page to gather consumer enter and retailer it in a Information Extension.
There are numerous use circumstances for Cloud Pages, however right here we’ll create a Cloud Web page that collects enter from customers and shops it in a Information Extension.
Steps to Create a Cloud Web page Type
1. Set Up a Information Extension
Earlier than creating the shape, you want a Information Extension to retailer the consumer enter.
- Go to E mail Studio > Subscribers > Information Extensions.
- Click on Create and arrange a Information Extension with fields equivalent to the enter fields in your type. For instance:
FirstName
LastName
E mail
PhoneNumber
2. Create a Cloud Web page
- Navigate to Cloud Pages from the Advertising Cloud dashboard( Internet Studio >> cloud Web page).
- Click on Create Assortment, then choose Touchdown Web page.
- Title your assortment and click on Create.
3. Add and Design the Type
- Inside your assortment, click on Create Content material and choose HTML.
- Use the next HTML and AMPscript code to create the shape:
Cloud Web page Type %%[ SET @FirstName = RequestParameter("FirstName") SET @LastName = RequestParameter("LastName") SET @Email = RequestParameter("Email") SET @Address = RequestParameter("Address") SET @upsert1 = UpsertData("YourDataExtensionName", 1, "subscriberkey", GUID(), "FirstName", @FirstName, "LastName", @LastName, "Email", @Email, "Address", @Address) %%]
4. Substitute YourDataExtensionName
Within the AMPscript UpsertData
operate, exchange YourDataExtensionName
with the precise identify of your Information Extension.
5. Publish the Cloud Web page
- After including the code, click on Save after which Publish.
- Copy the generated URL to check your type.
Testing the Type
- Open the shape URL in a browser.
- Fill within the particulars and submit.
- Confirm the information in your Information Extension below E mail Studio > Subscribers > Information Extensions.
Greatest Practices
- Validate Inputs: Use JavaScript or AMPscript to validate consumer enter to forestall errors.
- Error Dealing with: Embrace error messages if information submission fails.
- Safety: Guarantee delicate data is saved securely and use SSL for the Cloud Web page.
Conclusion
With Cloud Pages and AMPscript, you may simply accumulate consumer enter from any exterior web site and retailer it in a Information Extension for additional use in Advertising Cloud.
This performance is particularly helpful for surveys, occasion registrations, or any consumer interplay requiring information assortment.
For any queries relating to Salesforce Advertising Cloud or customized options, contact our professional Salesforce Consultants at [email protected] or by way of Reside Chat.
Our group is on the market year-round to supply custom-made options tailor-made to your small business wants.
Salesforce Advertising Cloud gives strong instruments for constructing customized experiences, and considered one of its most helpful options is Cloud Pages.
It allows you to create a Cloud Web page to gather consumer enter and retailer it in a Information Extension.
There are numerous use circumstances for Cloud Pages, however right here we’ll create a Cloud Web page that collects enter from customers and shops it in a Information Extension.
Steps to Create a Cloud Web page Type
1. Set Up a Information Extension
Earlier than creating the shape, you want a Information Extension to retailer the consumer enter.
- Go to E mail Studio > Subscribers > Information Extensions.
- Click on Create and arrange a Information Extension with fields equivalent to the enter fields in your type. For instance:
FirstName
LastName
E mail
PhoneNumber
2. Create a Cloud Web page
- Navigate to Cloud Pages from the Advertising Cloud dashboard( Internet Studio >> cloud Web page).
- Click on Create Assortment, then choose Touchdown Web page.
- Title your assortment and click on Create.
3. Add and Design the Type
- Inside your assortment, click on Create Content material and choose HTML.
- Use the next HTML and AMPscript code to create the shape:
Cloud Web page Type %%[ SET @FirstName = RequestParameter("FirstName") SET @LastName = RequestParameter("LastName") SET @Email = RequestParameter("Email") SET @Address = RequestParameter("Address") SET @upsert1 = UpsertData("YourDataExtensionName", 1, "subscriberkey", GUID(), "FirstName", @FirstName, "LastName", @LastName, "Email", @Email, "Address", @Address) %%]
4. Substitute YourDataExtensionName
Within the AMPscript UpsertData
operate, exchange YourDataExtensionName
with the precise identify of your Information Extension.
5. Publish the Cloud Web page
- After including the code, click on Save after which Publish.
- Copy the generated URL to check your type.
Testing the Type
- Open the shape URL in a browser.
- Fill within the particulars and submit.
- Confirm the information in your Information Extension below E mail Studio > Subscribers > Information Extensions.
Greatest Practices
- Validate Inputs: Use JavaScript or AMPscript to validate consumer enter to forestall errors.
- Error Dealing with: Embrace error messages if information submission fails.
- Safety: Guarantee delicate data is saved securely and use SSL for the Cloud Web page.
Conclusion
With Cloud Pages and AMPscript, you may simply accumulate consumer enter from any exterior web site and retailer it in a Information Extension for additional use in Advertising Cloud.
This performance is particularly helpful for surveys, occasion registrations, or any consumer interplay requiring information assortment.
For any queries relating to Salesforce Advertising Cloud or customized options, contact our professional Salesforce Consultants at [email protected] or by way of Reside Chat.
Our group is on the market year-round to supply custom-made options tailor-made to your small business wants.