This question will probably get shut down for being too broad...
At my last company, I built a standalone browser based application that allowed my to drag and drop to build emails. (this was before content builder). We used an event calendar module, and for that I popped up a form that allowed user input, then dynamically built the calendar and tagged everything for google Analytics.
I created this because of all of the tagging. I wanted tagging consistent, and I was also tired of manually building UTM strings. The application actually could create emails in Marketing Cloud as well. So the email would be built in this standalone browser based app, then you could hit a button and send it to SFMC.
(see example here http://www.riptide7.com/?work=1)
In any case, I'd like to build something like this again, but for my new company. I've been instructed that I cannot use an outside server for this, that if I want to build something like this, it would have to live in Cloud Pages.
So my question for you is about CloudPages and what is possible, and a brief explanation of how I might accomplish it. I'm not looking for you to post code, but perhaps walk me through the steps I might need to take to build it.
- Can I write PHP in CloudPages? I've used AMPScript, but for me PHP would be better
- Can I have popup boxes from a CloudPage? I assume that since you can link to JQuery, you can do anything you need to do in a CloudPage
- Can I pop up a modal box, allow user input, save that user input, wrap it up with some HTML code, and send it to content builder from CloudPages?
This last one is the part that has me particularly stumped. Using the PHP API I could send code to SFMC and create a new email. I'm not sure how to do that in CloudPages, not unless I can use the PHP API just like I would in a 3rd party server.