我正在将一些使用analytics.js的代码移植到我需要手动构建gif查询字符串的平台上(由于平台的安全限制,来自外部源的js文件)。
我像这样构建跟踪网址:
trackingUrl = URL +'?utmwv=1' // Tracking code version
+'&utmn='+utmn // Unique ID generated for each GIF request to prevent caching of the GIF image.
+'&utmt=transaction' // Indicates the type of request, which is one of: event, transaction, item, or custom variable. If this value is not present in the GIF request, the request is typed as page.
+'&utmtid='+trackingNumber
+'&utmsr=-' // Screen resolution
+'&utmsc=-' // Screen color depth
+'&utmul=-' // Browser language
+'&utmje=0' // Indicates if browser is Java-enabled. 1 is true.
+'&utmfl=-' // Flash Version
+'&utmdt='+(typeof description == 'string'?description:'-') // Page title, which is a URL-encoded string.
+'&utmp='+site // Page request of the current page.
+'&utmac='+ACCOUNT_CODE // Account String. Appears on all requests.
+'&utmtst='+encodeUriComponent(affiliate)
+'&utmtto='+orderTotal
+'&utmtsp='+shippingTotal
+'&utmttx='+taxTotal
+'&utmcc='+cookies; // Cookie values. This request parameter sends all the cookies requested from the page.
但是,通过查看下面链接中的参数列表,没有提及货币参数。
https://developers.google.com/analytics/resources/concepts/gaConceptsTrackingOverview#gifParameters
那么,我如何发送ISO货币代码,例如美元,英镑,瑞典克朗等?