-
Notifications
You must be signed in to change notification settings - Fork 2
/
main.html
215 lines (204 loc) · 8.24 KB
/
main.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
<!DOCTYPE html>
<html data-bs-theme="dark" lang="en">
<head>
<meta charset="utf-8" >
<meta name="viewport" content="width=device-width, initial-scale=1" >
<link rel="stylesheet" href="css/water_dark.css" >
<link rel="stylesheet" href="css/custom.css" >
<script src="js/extension-script.js" type="text/javascript"></script>
<title>Universal Adobe Debugger 🦝</title>
</head>
<body data-bs-theme="dark">
<div class="tabButtons">
<button class="tablinks" name="Main">Main</button>
<button class="tablinks" name="Settings">Settings</button>
<button class="tablinks" name="Snippets">Snippets</button>
<button class="tablinks" name="Redirections">Redirects</button>
<button class="tablinks" name="Info">Info</button>
<span style="font-size: 32px; text-align: right; float: right; cursor: pointer" id="raccoon">🦝</span>
</div>
<div class="tab" id="Main">
<table class="mainTable">
<tbody>
<tr>
<td>Page Status:</td>
<td id="pstatus" class="warn">Not Updated</td>
</tr>
<tr>
<td>Launch Library:</td>
<td id="lstatus" class="warn">Found</td>
</tr>
<tr>
<td>Property Name:</td>
<td id="pname" class="warn">Not Updated</td>
</tr>
<tr>
<td>Environment:</td>
<td id="env" class="warn">Not Updated</td>
</tr>
<tr>
<td>Last Build:</td>
<td id="bdate" class="warn">Not Updated</td>
</tr>
<tr>
<td>AA hits #:</td>
<td id="AAHitsNumber" class="warn">Not Updated</td>
</tr>
<tr>
<td>WebSDK hits #:</td>
<td id="WebSDKHitsNumber" class="warn">Not Updated</td>
</tr>
<tr>
<td>DataLayer:</td>
<td id="dl" class="warn">Not Updated</td>
</tr>
<tr>
<td>Last DL Event:</td>
<td id="dlevent" class="warn">Not Updated</td>
</tr>
<tr
title="This is the original library detected on the page. Be careful when using other extensions replacing the lib.">
<td>Library Detected:</td>
<td><textarea rows="3" cols="45" id="currentlib"></textarea></td>
</tr>
<tr>
<td id="redirectionCTATD">
New Library:<br >
<button id="setRedirection">Set Redirection</button>
</td>
<td>
<textarea rows="3" cols="45" id="newlib"
placeholder="1. Paste the <script> tag or the URL here. 2. Click the Set CTA to add the redirection. 3. Reload the page."></textarea>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tab" id="Settings" style="display: none">
<table class="settingsTable">
<tbody>
<tr>
<td>Enable Core AA server calls logging:</td>
<td class="centralize"><input type="checkbox" checked id="aabox" ></td>
</tr>
<tr>
<td>Core AA/Web SDK logs expanded?</td>
<td class="centralize"><input type="checkbox" id="mainExpand" ></td>
</tr>
<tr>
<td>Core Evars and Props sections expanded?</td>
<td class="centralize"><input type="checkbox" checked id="varsExpand" ></td>
</tr>
<tr>
<td>Context variables section expanded?</td>
<td class="centralize"><input type="checkbox" id="contextVarsExpand" ></td>
</tr>
<tr>
<td>Enable debug Launch logging (setDebug):</td>
<td class="centralize"><input type="checkbox" id="launchbox" ></td>
</tr>
<tr style="color:gray">
<td>Your awesome useful setting could be here.</td>
<td>If you have a cool idea:)</td>
</tr>
<tr>
<td id="redirectionCTATD">
User-customized logging. Just add fields to make them pop.
<a target="_blank"
href="https://experienceleague.adobe.com/docs/analytics/implementation/validate/query-parameters.html?lang=en">AppMeasurement</a> or <a target="_blank" href="https://experienceleague.adobe.com/en/docs/analytics/implementation/aep-edge/xdm-var-mapping">XDM</a>
<br >
<div class="centralize"><button id="setLoggingHeadings">Set/Clear Headings</button></div>
</td>
<td>
<textarea rows="3" cols="20" id="loggingHeadings"
placeholder="e69, p3, l2, c7, v13, evar13, prop27, events, web.webPageDetails.URL"></textarea>
</td>
</tr>
<tr>
<td colspan="2" class="centralize" style="font-weight: 700;">Redirection Settings:</td>
</tr>
<tr>
<td>Clear redirections after browsing session expired?</td>
<td class="centralize"><input type="checkbox" checked id="sessionRedirections" ></td>
</tr>
<tr>
<td colspan="2" class="centralize" style="font-weight: 700;">Web SDK Settings:</td>
</tr>
<tr>
<td>Log all? Raw object logging [overrides other settings].</td>
<td class="centralize"><input id="logAllWebSDK" type="checkbox" ></td>
</tr>
<tr>
<td>Log the boring XDM fields? (device, browser, environment and so on)</td>
<td class="centralize"><input id="logBoringFieldsWebSDK" type="checkbox" ></td>
</tr>
<tr>
<td>Log the data.__adobe object?</td>
<td class="centralize"><input id="logDataObject" type="checkbox" ></td>
</tr>
<!-- <tr>
<td>Custom Edge Path</td>
<td class="centralize"><input checked id="edgePath" placeholder="/ee/ by default"></td>
</tr>-->
</tbody>
</table>
</div>
<div class="tab" id="Snippets" style="display: none">
<table class="snippetsTable">
<tbody>
<tr>
<td><button id="blockPageUnload">Block Page Unload</button></td>
<td><button id="printAlloy">Print Alloy Config</button></td>
<td></td>
<td></td>
</tr>
<tr>
<td colspan="4"><b>One Trust</b> Consent Manager Shortcuts:</td>
</tr>
<tr>
<td><button id="OTCheckConsent">Check Consent</button></td>
<td><button style="border-style: double; border-color: greenyellow" id="OTAllowAll">Allow All</button></td>
<td><button style="border-style: double; border-color: salmon" id="OTRejectAll">Reject All</button></td>
<td><button id="OTOpenManager">Open Manager</button></td>
</tr>
</tbody>
</table>
</div>
<div class="tab" id="Redirections" style="display: none">
<div style="text-align: right">
<br><span id="deleteAllRedirecions"></span>
<button id="delAllRedirections" class="error">Delete All Rules</button>
</div>
<table class="redirectionsTable">
</table>
</div>
<div class="tab" id="Info" style="display: none">
<p>🔍 <strong>Welcome to Universal Adobe Debugger <span name="version"></span></strong></p>
<p>
🎯Designed by Adobe analysts, for Adobe analysts, this extension aims to streamline your debugging experience for
Adobe Analytics and Launch.
Whether you're fine-tuning tracking or verifying implementations, we've got you covered.
</p>
<p>👩💻 <strong>Open Source & Community Driven</strong></p>
<p>
Join our community on <a href="https://github.com/cthae/Adobe-Launch-Debugger">GitHub</a> to explore the codebase,
suggest improvements, or
report bugs. Your contributions help us make analytics debugging smoother for everyone!
</p>
<p>🚀 <strong>Let's Improve Together</strong></p>
<p>
Got an idea for improvement? Don't hesitate to submit an issue or contribute to the project. Together, we can
enhance efficiency and accuracy in
analytics tracking.
</p>
<p>📣 <strong>Connect</strong></p>
<p></p>
<p>
Reach out on <a href="https://www.linkedin.com/in/nazaruk/" target="_blank">LinkedIn</a> or join the conversation
on
<a href="https://www.measure.chat/">Measure Slack</a>. We're always eager to hear from you!
</p>
<a href = "https://github.com/cthae/Analytics/issues/new" target="_blank"><button class="" name="Bug" style="font-weight: 400;font-size: medium;color:red">Found a Bug?</button></a>
</div>
</body>
</html>