Get or generate "view" link for a campaign?

Search is not my friend it seems ... is there a way to request or generate a url to view a sent campaign?

I'd like to replicate the javascript "archive" functionality and add some additional features like sorting, and I need to handle this on the server (php), not the browser.

Mathew Mathew, 6 years ago

The archive functionality does generate a list of those links - do you mean a different way to generate the same list?


Get in touch with us on Twitter: http://twitter.com/campaignmonitor
We're also on Facebook: http://facebook.com/campaignmonitor
johnpitcairn, 6 years ago

Yes, I want to be able to generate the links it using php. Not javascript.

I could hack it using php-curl to grab the javascript source, then parse the document.writes in that to get the link url, but I feel it might be a tad more robust if I could use a php API call to generate the url directly. Is there one?

sasadotau, 6 years ago

Hi there,

We are trying to do something similar. We send two types of campaigns: one to our general subscriber base and one to our clients. We would like to display the links to the latest campaigns sent to our general subscribers on our website (excluding the client only campaigns). Campaign archive JS snippet doesn't work for us as we still want our marketing people ('client' in CM terms) to be able to view client only campaign under their log in.

We can get the list of all campaigns through the API and filter them based on their names, but is it possible to manually construct the URL to these campaigns?

Thanks,
Sasa

AlexDunae AlexDunae, 6 years ago

I'm looking for this, too.  I asked here -- http://www.campaignmonitor.com/forums/viewtopic.php?id=3824 -- but didn't hear anything.

PatC, 6 years ago

I'm looking for this too... mostly because the "create archive" javascript is a bit too limiting.

I'd like to create a list of campaigns based on what lists they were sent to. So a page on my site that has the "press release" ones versus the "regular newsletter" ones.

Looks like everything is available in the API except this view campaign URL.

jamesd jamesd, 6 years ago

Hey all,

Sorry for the lack of feedback on this one. Unfortunately this feature request still hasn't reached the priority of being scheduled for release. I've added the appropriate votes from the feedback in the topic though, and we'll definitely let you know here when it's been implemented.

AndersM, 6 years ago

+2 (2 websites ;-) for filtering the archive-list depending on recieving list. We send emails to a B2B and a B2C list. We would not want B2C to be able see the B2B emails.

agf, 6 years ago

bump!~ cmon (first post) was asked for five months ago :(

http://www.campaignmonitor.com/forums/viewtopic.php?pid=15597

Join 200,000 companies around the world that use Campaign Monitor to run email marketing campaigns that deliver results for their business.

Get started for free
1-888-533-8098