Hi Valerie Armstrong,
I know it's been some time since your original post, but I'm in the midst of a similar exercise now and curious to hear how your domain/cname changes went across the board. Any tips from your experience?
Thanks,
Sean
Hi Sean Tierney,
So far, so good! We had a few bumps with Marketo Services with understanding what actually needed to be done, but here are some of my lessons learned.
LMK if you have any additional questions on the process and good luck!
Thanks Valerie Armstrong!
Our landing page domain and CNAME changes rolled out perfectly...we haven't run into any issues
Tackling the branded email tracking link domain updates now. How were you able to make sure your original branded email links continued to function properly from old emails? Did your IT just keep the original domain up and running for a period of time or did you have to request redirect rules in Marketo and/or with your internal IT?
Thanks again
-Sean
Hi Sean Tierney - I believe IT kept our original branded tracking and added the new the new one. Both branded link continue to work for us.
Hi Val and everyone else!
Firstly, thanks so much for this post. We are also moving to a new domain name so it's been incredibly helpful.
I'm reading through this thread to get a better understanding and one thing I'm not entirely sure I understand is the issue with the branded email tracking links. I just want to make sure I even understand the problem: is the problem that, even after we create the new CNAME and the redirect rule, Marketo still won't be able to track the lead activity in old emails? The problem is not that the old email links won't redirect, correct?
Also, did anyone ever come up with a solution for the tracking cookies? Is there any way to transfer over lead activity data from the old domain to the new domain?
Thanks,
Hoi
One thing you need to be aware of is the TTL (time-to-live for the DNS) should be set to 60 minutes or less.
There's no reason for the TTL to be set lower when you're setting up a new CNAME RR. One day is advisable.
Hi everyone,
We are doing another CNAME switch and this article has been incredibly helpful.
I was wondering for the redirect rule:
What is the best and easiest way to ensure that ALL of our landing pages from the old domain are redirected to the new domain? Do I need to create a redirect rule for each and every single landing page?
Additionally, I want to make sure I have my order of operations done correctly. So far, this is my understand of what needs to get done and the order in which it needs to get done:
For landing pages:
For branded tracking links in emails:
Is there anything we have to do on the DKIM/SPF side, if we are just rebranding?
Thanks,
Hoi
Hoi, you have the idea but I want to be picky about terminology and available functionality.
First, the informal term "redirect" has two very different meanings (as indeed you're using it in 2 different ways in your post):
These details are important when planning a CNAME migration because Marketo only lets you set up HTTP redirects on their side. Your IT may think they can "game the system" with additional CNAMEs, but that ability is limited for the reasons noted above.
Marketo HTTP redirects only apply to individual hostnames and paths, not wildcards. Marketo will append the query string to the redirection target (the "value added" I mentioned above) which is nice/necessary, but it doesn't eliminate the need to create many redirects. If you really need to redirect all your old LPs to new ones (as opposed to just letting the old ones be) I would advise doing the redirect in JS. You can add this JS snippet to the <head> of your template(s):
function toCanonical(cn) {
if ( document.location.hostname != cn ) {
var newLoc = document.createElement('a');
newLoc.href = document.location.href,
newLoc.hostname = cn,
newLoc.search += '&ref=' + encodeURIComponent(document.referrer);
document.location.replace(newLoc.href);
}
return false;
}
toCanonical('new-domain.example.com');
Note that you will lose the first hit's Referrer URL unless you also append it to the destination URL, that's why I add it onto the destination.
When you use the above method, you don't have to worry about hurriedly creating a huge bunch of redirects. Just move the new domain into the default Domain Name position and make the old domain a Domain Alias (swapping their initial positions).
As for branding domains, no real worry there. Just leave the old CNAME pointing to mkto-qe0877.com and add a new one, setting the new one as the default. Since people are redirected immediately after visiting the branding domain it doesn't matter that old emails in people's inboxes show the old domain (and you can't change that, anyway).
*Technically, it's with the URL as their HTTP Host: header but you can think of it the same way
**