You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<h2>This shows how two users can simultaneously use Snowplow on the same page without any clash</h2>
235
-
<p>Warning: if your browser's Do Not Track feature is enabled and respectDoNotTrack is not commented out, all tracking will be prevented.</p>
235
+
<p>Warning: if your browser's Do Not Track feature is enabled and respectDoNotTrack is enabled, all tracking will be prevented.</p>
236
+
<p>If you are viewing the page using a file URL, you must edit the script URL in the Snowplow tag to include an http scheme. Otherwise a file scheme will be inferred and the page will attempt to load sp.js from the local filesystem..</p>
236
237
<p>Press the buttons below to trigger individual tracking events:<br>
237
238
<buttontype="button" onclick="playMix()">Play a mix</button><br>
238
239
<buttontype="button" onclick="addProduct()">Add a product</button><br>
<p>Two tracker namespaces are instantiated on this page.</p>
175
+
<p>Warning: if your browser's Do Not Track feature is enabled and respectDoNotTrack is enabled, all tracking will be prevented.</p>
176
+
<p>If you are viewing the page using a file URL, you must edit the script URL in the Snowplow tag to include an http scheme. Otherwise a file scheme will be inferred and the page will attempt to load sp.js from the local filesystem..</p>
175
177
<p>Press the buttons below to trigger individual tracking events:<br>
176
178
<buttontype="button" onclick="playMix()">Play a mix</button><br>
177
179
<buttontype="button" onclick="addProduct()">Add a product</button><br>
178
180
<buttontype="button" onclick="viewProduct()">View a product</button><br>
179
181
<buttontype="button" onclick="addEcommerceTransaction()">Add an ecommerce transaction</button>
180
182
</p>
181
-
<p>Warning: if your browser's Do Not Track feature is enabled and respectDoNotTrack is not commented out, all tracking will be prevented.</p>
182
183
<ahref=http://en.wikipedia.org/wiki/Main_Pageid=legalclass="link out">Both trackers will track this link</a>
183
184
<br>
184
185
<ahref=http://en.wikipedia.org/wiki/Main_Pageid=semilegalclass="class inbound">Only the cf tracker will track this link</a>
<p>Warning: if your browser's Do Not Track feature is enabled and respectDoNotTrack is enabled, all tracking will be prevented.</p>
154
+
<p>If you are viewing the page using a file URL, you must edit the script URL in the Snowplow tag to include an http scheme. Otherwise a file scheme will be inferred and the page will attempt to load sp.js from the local filesystem..</p>
155
+
152
156
<p>Press the buttons below to trigger individual tracking events:<br>
153
157
<buttontype="button" onclick="playMix()">Play a mix</button><br>
154
158
<buttontype="button" onclick="addProduct()">Add a product</button><br>
155
159
<buttontype="button" onclick="viewProduct()">View a product</button><br>
156
160
<buttontype="button" onclick="addEcommerceTransaction()">Add an ecommerce transaction</button>
157
161
</p>
158
-
<p>Warning: if your browser's Do Not Track feature is enabled and respectDoNotTrack is not commented out, all tracking will be prevented.</p>
Copy file name to clipboardExpand all lines: examples/web/sync.html
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -62,6 +62,8 @@
62
62
63
63
<body>
64
64
<h1>Synchronous examples for snowplow.js</h1>
65
+
<p>Warning: if your browser's Do Not Track feature is enabled and respectDoNotTrack is enabled, all tracking will be prevented.</p>
66
+
<p>If you are viewing the page using a file URL, you must edit the script URL in the Snowplow tag to include an http scheme. Otherwise a file scheme will be inferred and the page will attempt to load sp.js from the local filesystem..</p>
65
67
<p>Press the buttons below to trigger individual tracking events:<br>
66
68
<buttontype="button" onclick="playMix()">Play a mix</button><br>
67
69
<buttontype="button" onclick="addProduct()">Add a product</button><br>
0 commit comments