How Can We Help?
Search for answers or browse our knowledge base.
-
Console
-
Data Stream
-
Data Import
-
Integration
-
Misc
-
Activation
On this page
Print / Download as PDF
Signals: Web Script
0 out of 5 stars
5 Stars | 0% | |
4 Stars | 0% | |
3 Stars | 0% | |
2 Stars | 0% | |
1 Stars | 0% |
Last updated:
Overview
This script sets a business identifier (BID) for your application and loads an external JavaScript file to collect data insights.
Parameters
bid
: A string variable that holds the business identifier.
Data Collected
os
: The operating system information, retrieved fromnavigator.platform
or the query parameteros
.sw
: The screen width of the device, retrieved fromwindow.screen.width
or the query parametersw
.sh
: The screen height of the device, retrieved fromwindow.screen.height
or the query parametersh
.ua
: The browser’s user agent, retrieved fromnavigator.userAgent
or the query parameterua
.domain
: The domain name of the current site, retrieved fromwindow.location.hostname
or the query parameterdomain
.url
: The full URL of the page, retrieved fromwindow.location.href
or the query parameterurl
.eip
: Encrypted representation of household IP.
Usage
-
Setting the BID
- Replace
"[ASSIGNED_BID]"
with your specific business identifier. - Ensure this script is included in the HTML
<head>
or<body>
sections to initialize thebid
variable.
- Replace
-
Loading the Data Collector Script
- Ensure the external script URL is correct and accessible.
- The
async
attribute allows the script to load in the background while the rest of the webpage continues to render.
Example
<script>
let bid = "[ASSIGNED_BID]";
</script>
<script src="https://equinix-collector-1.insights.report/s/intz-clctr.js" async></script>
Was this article helpful?
0 out of 5 stars
5 Stars | 0% | |
4 Stars | 0% | |
3 Stars | 0% | |
2 Stars | 0% | |
1 Stars | 0% |