それで、しばらくして、何が起こっているのか、それを修正する方法を見つけました。アンカー名は URL の最後にある必要があるようです。したがって、次のようになります。
https://www.clientsite.com/on-boarding/?utm_source=Onboarding&utm_medium=email&utm_term=Card%20Ship&utm_content=AliasName&utm_campaign=Onboarding_Card_Ship#anchorlocation
動的コンテンツでそれをどのように達成したかを次に示します。追跡パラメーターが何であるか、データを入力するためのデータがどこから来るかを知っています。そのため、Ampscript Concat 関数を使用して URL を再配置するだけで済みました。そのコードの例を次に示します。
%%[
/* This is pulled from the DE or Data Table */
Set @URL = '#anchorlocation'
/* This resets the variable to the rearranged url */
Set @URL = Concat('https://www.clientsite.com/on-boarding/?utm_source=',__AdditionalEmailAttribute1,'&utm_medium=email&utm_term=',__AdditionalEmailAttribute2,'&utm_content=Alias&utm_campaign=',emailname_,@URL) ]%%
次に、コードで変数を呼び出すときに、アンカー タグとイメージ タグの html を連結して、トラッキングが 2 回目に配置されないようにする必要があります。そのコードは次のようになります。
%%=concat('<a alias="',@Alias,'" href="',@URL,'" target="_blank"><img alt="" border="0" src="',@Image,'" style="display:block;" title="" width="100%" /></a>')=%%
まとめると、コード全体は次のようになります。
%%[ Set @URL = Concat('https://www.clientsite.com/on-boarding/?utm_source=',__AdditionalEmailAttribute1,'&utm_medium=email&utm_term=',__AdditionalEmailAttribute2,'&utm_content=Video_Alias&utm_campaign=',emailname_,@URL) ]%%<table width="100%" cellspacing="0" cellpadding="0" border="0" bgcolor="#E8E8E8">
<tr>
<td style="line-height:1px; font-size:1px;" height="1" bgcolor="#DEDEDE"> </td>
</tr>
<tr>
<td valign="top" bgcolor="#E8E8E8" align="left">
<table width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
<td valign="middle" align="center">%%=concat('<a alias="',@Alias,'" href="',@URL,'" target="_blank"><img alt="" border="0" src="',@Image,'" style="display:block;" title="" width="100%" /></a>')=%%</td>
</tr>
</table>
</td>
</tr>
<tr>
<td style="line-height:1px; font-size:1px;" height="1" bgcolor="#DEDEDE"> </td>
</tr>
</table>