特定の URL を追跡するために、この JavaScript を使用しています。
$(document).ready(function(){
if(document.location.toString()=="http://www.mysite.com/DisplayCart.aspx")
....
....
しかし、私の問題は、たとえば http://www.mysite.com/PaymentDetails.aspx?Id=817328&PaymentMode=COD&delvoption=ship&ChildStoreID=などのページのグループを追跡したい場合です
http://www.mysite.com/PaymentDetails.aspx?Id=817329&PaymentMode=COD&delvoption=ship&ChildStoreID=
等々..
ここですべてのURLはaspxの後に異なりますか? これは、顧客固有のページ/顧客の注文固有のページと同じです。JavaScriptのみを使用したいことに注意してください。