網站即時聊天活動中的萬用字元URL支持
網站即時聊天活動支持萬用字元URL模式。在構建URL模式時,請考慮以下行為。
在Voxsig中,每個URL模式應以http://
或https://
開頭。
在確切的URL上運行活動
如果您添加了一個確切的URL,如https://Voxsig.com/app
,那麼帶有尾部斜杠的URL、URL參數或hash參數都不會匹配。以下是一些確切匹配定義的範例:
https://Voxsig.com/app
會匹配https://Voxsig.com/app/
或https://Voxsig.com/app?test_param=1
https://Voxsig.com/app?test_param=test_value
不會匹配https://Voxsig.com/app
或https://Voxsig.com/app#test_hash_param
運行活動時忽略URL參數
若要忽略URL參數或hash參數,您可以在URL中添加一個尾部斜杠。例如:https://Voxsig.com/app/
會匹配以下所有URL。
https://Voxsig.com/app/
https://Voxsig.com/app
https://Voxsig.com/app/?test=1
https://Voxsig.com/app/#test
在所有子目錄中運行活動
如果您想匹配所有子目錄,可以在URL中使用*
字符。例如:https://Voxsig.com/*
會匹配以下URL:
https://Voxsig.com/
https://Voxsig.com/app
https://Voxsig.com/app/subdirectory
在所有子域中運行活動
若要匹配當前域和子域,您可以在URL中使用{*.}?
模式。例如:https://{*.}?Voxsig.com/
會匹配以下URL:
https://Voxsig.com
https://app.voxsig.com
https://www.Voxsig.com