【質問】テキストメールのトラッキングリンクについて | Community
Skip to main content
August 29, 2016

【質問】テキストメールのトラッキングリンクについて

  • August 29, 2016
  • 1 reply
  • 364 views

テキストメールにトラッキングリンクを付ける場合は[[www.example.com]]で機能しますが

下記のようにカスタムオブジェクトのフィールド(文字列)にURLを入れたマイトークンはトラッキングされないようです。

[[{{my.My TokenURL}}]]

何かよい方法はないでしょうか?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

August 30, 2016

下記で解決しました。 お騒がせいたしました!!

Email Scripting » Marketo Developers

  • To ensure proper parsing of URLs, the whole path should be set as a variable and then printed, and variable should not be printed inside of URL references.  The  protocol(http:// or https://) must be included and must be separate from the rest of the URL.  The URL must also be part of a fully formed anchor(<a>) tag.  The script must output a fully formed anchor tag, in order for links to be tracked.  Links will not be tracked if they are outputted from within a for or foreach loop.
    • Right:
      #set($url = "www.example.com/${object.id}")
      <a href="http://${url}">Link Text</a>
    • Right:
      <a href="http://www.example.com/${object.id}">Link Text</a>
    • Wrong:
      <a href="${url}">Link Text</a>
    • Wrong:
      <a href="{{my.link}}">Link Text</a>
    • Wrong:
      <a href="http://{{my.link}}">Link Text</a>
    • The url must be part of an anchor tag