0

I've realized that Landing Page Publish is slow. So, While I was looking for solving this issue, I found that can be improve Cloud Page in Dropbox using %%=TreatAsContent(HTTPGet('')=%% Method.

But, For some reason, that does not seem to work as expected.

TreatAsContent Method shows the HTML Language Source, Not the page to which the code is applied in Dropbox.

Could you tell me what I missed and How can I solve this problem?

Firstly, I Created Landing Page Using AMPScript. enter image description here

and, Click the Specific link In Email, Move to the HTML Source Page in Dropbox. enter image description here

2

1 Answer 1

5

Append ?dl=0&raw=1 to the end of the dropbox url and insert between your TreatAsContent and HTTPGet functions as such:

%%=TreatAsContent(HTTPGet('https://www.dropbox.com/s/abcdefghijk123/my_page.html?dl=0&raw=1'))=%%
2
  • Thanks you for the Answer Josh! It also works Properly. I really Thanks. Commented Dec 6, 2019 at 5:46
  • 2
    It's worthwhile noting that this should only be used for testing, and I would strongly suggest swapping out for your actual code once testing is completed. Commented Feb 27, 2020 at 5:30

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .