@@ -77,9 +77,9 @@ Use the following interactive code pen to see what your Page calls would look li
77
77
<script src =" https://cdnjs.cloudflare.com/ajax/libs/prism/9000.0.1/prism.min.js " integrity =" sha512-UOoJElONeUNzQbbKQbjldDf9MwOHqxNz49NNJJ1d90yp+X9edsHyJoAs6O4K19CZGaIdjI5ohK+O2y5lBTW6uQ== " crossorigin =" anonymous " referrerpolicy =" no-referrer " ></script >
78
78
<script type =" text/javascript " >
79
79
function showMessage (){
80
- var name = document . getElementById ( " name " ). value ;
81
- var title = document .getElementById ( " title" ). value ;
82
- var url = document . getElementById ( " url " ). value ;
80
+ var name = " Page call Spec "
81
+ var title = document .title
82
+ var url = window . location . href
83
83
var output = ` {
84
84
"anonymousId": "507f191e810c19729de860ea",
85
85
"channel": "browser",
@@ -122,15 +122,15 @@ Use the following interactive code pen to see what your Page calls would look li
122
122
123
123
<div class =" sample-code-container " >
124
124
<div class =" form " >
125
- <h4 > Sample Web Form </h4 >
125
+ <h4 > Make a Page Call </h4 >
126
126
<div class =" sample-form " >
127
- <label for="name">Name:</label>
127
+ <!-- < label for="name">Name:</label>
128
128
<input type="text" class="input" id="name">
129
129
<label for="title">Title:</label>
130
130
<input type="text" class="input" id="title">
131
131
<label for="url">URL:</label>
132
- <input type="text" class="input" id="url">
133
- <input type="submit" class= "button button-hollow" id="submit" onclick="showMessage(); showOutput()" value="See a sample page call">
132
+ <input type="text" class="input" id="url"> -->
133
+ <input type="submit" class= "button button-hollow" id="submit" onclick="showMessage(); showOutput()" value="See a sample page call" / >
134
134
</div >
135
135
</div >
136
136
0 commit comments