We’ve developed some resources to help you work effectively from home during COVID-19 Click to learn more

external url with variable

Hi,
I created a mailing with an external link. An external website will open. Something like, https:/mysite.com/question
I want to add the person_id in the link. So something like (https:/mysite.com/question?person_id). Is this possible?
Regards,
Wouter

RE: external url with variable

Hi Wouter,

This should be possible. You can use the variable customer.id to get the person_id from the person that is linked to the newsletter.

The link should look like this: <a href="http://website.com/default.aspx?id=[[customer.id]]">Click here to.......</a>

Av: Alexander Hesselberth 17. jan 2017

RE: external url with variable

Hi Alexander,

That is what I thought. But the variable will present customer instead of the number of database number.
https://www.website.com/default.aspx?id=[[customer.id]]

Is there something I have to change? Or is it impossible to get this working?

Regards,
Wouter

Av: Wouter Mak 18. jan 2017

RE: external url with variable

Hi Wouter,

I'm experiencing the same behaviour now. When I send a test, the correct person ID is used, but when I send the actual mailing, the variable is not parsed.

This is caused because the link is changed in a variable (SPMLINK) so you have basicly a variable in a variable and this will not work.

However when you uncheck the box "Track all links" in the properties of the mailing, it will work.

Av: Alexander Hesselberth 18. jan 2017

RE: external url with variable

Indeed.That is what I also experienced. This is the reason why I asked this question.
Is there any other way to use the track option and using variable in a external URL?

Av: Wouter Mak 18. jan 2017

RE: external url with variable

Hi wouter,

I'm afraid not. The only way is to uncheck the option track all links and add (manual) a tracked link for other URL's. However the link with the person ID will not be tracked.

Av: Alexander Hesselberth 19. jan 2017

RE: external url with variable

Hi Alexander,

Is there any way of passing a url variable in a tracked link in the latest versions of SO8?

I need to pass a udef value to a tracked link. It works when 'Track Links' is unchecked but not when checked.

Should I register as a wish?

Thanks,

Andy

 

Av: Andy Chaney 15. aug 2017