Personalized URL's

I'm trying to send an email to members of an online community. Each member has a specialized URL that takes them directly to their profile.

I've uploaded a subscriber list with all the neccessary fields including URL. Is there a way to encode this unique URL into my campaign?

This is what I've been trying and it hasn't worked:

 <a href="[url]">Visit your profile now!</a>

Any tips?

davidaf davidaf, 6 years ago

You'll need to store the personalized URL in a custom field in your subscriber list. Once you have that data, you can call the [url]in your code and it will populate when you send the email. Make sure to test fully to be sure it's working as planned!


The Campaign Monitor Blog – HTML email smarts to go with your good looks
jrcooper, 6 years ago

Hi davidaf,

I tried that and the URL didn't become a link and thus wasn't tracked. It came out as just plain text. This is how I coded it:

 <p>Visit your project website now and update it with recent news and progress reports: [url]</p>

Gmail turned it into a hyperlink, but it wasn't tracked. Outlook just showed it as plain text. Should I have done this:

 <p>[url]Visit your project website now and update it with recent news and progress reports:[/url]</p>
davidaf davidaf, 6 years ago

I've done some more testing on this and have found that it doesn't seem to like it when you store the "http://" in there. Try only including everything after that, or just the part of the URL that's unique. So you will build the URL in your href tag, something like <a href="http://[url]">Visit your profile now!</a> or <a href="http://www.example.com/[url]">Visit your profile now!</a>

Make sense?


The Campaign Monitor Blog – HTML email smarts to go with your good looks
jrcooper, 6 years ago

Thanks davidaf! Worked like a charm!

vince, 6 years ago

@ jrcooper,
Would you mind sharing which of the 2 examples given by Davida worked please?
Many thanks

Diana Diana, 6 years ago

Hi Vince,

Either of the methods that Davida gave should work just fine.


~*~~*~~*~~*~
D. Potter
Campaign Monitor
andrewbbtt, 6 years ago

thank you too! I've been having the same problem and used this as solution. Saved me lots of time!

sharpyand, 6 years ago

Hi Diana, I tried the first one, worked like magic. To think I've been working on this the whole week.

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