Scripted token issue - not resolving to correct URL
We are having an issue with a token.
We are dynamically creating a URL for a link to a PDF. When we have the full URL set in a variable $murl the link points to the correct PDF. It all works fine but there is no tracking link.
#set($murl = "https://www.franklintempleton.com/investments/options/mutual-funds/products/$fund.fundOneTISNumber/$fund.shareClassCode/")
<a target="_blank" href="${murl}" style="font-family: arial; text-decoration: underline; font-weight: bold;">
But if we remove the https:// from the variable and add it in the in the link portion of the script so we can get tracking the link, the link generated with tracking does not go to the correct URL. They all seem to point to the same PDF.
#set($murlPartial = "www.franklintempleton.com/investments/options/mutual-funds/products/$fund.fundOneTISNumber/$fund.shareClassCode/")
<a target="_blank" href="https://${murlPartial}" style="font-family: arial; text-decoration: underline; font-weight: bold;">
I have created a test where I render both versions on the email, and it looks like the variables are created fine when output on their own.

The main reason we are trying to separate the URL is to allow us to track the link.
Let me know if there is a better approach to take.