Skip to content

Commit

Permalink
add another noscript page to static mock
Browse files Browse the repository at this point in the history
  • Loading branch information
negrel committed Aug 29, 2024
1 parent e778a73 commit d96764e
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
1 change: 1 addition & 0 deletions mocks/static/noscript/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ <h1>Index</h1>
<a href="/manual.html">Manual tracking</a>
<a href="/pets/index.html">Pets</a>
<a href="/noscript/index.html">No script</a>
<a href="/noscript/index2.html">No script 2</a>
</body>

</html>
24 changes: 24 additions & 0 deletions mocks/static/noscript/index2.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<!doctype html>
<html lang="en">

<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Static site</title>
</head>

<body>
<h1>Index</h1>
<img src="http://prisme.localhost:8000/api/v1/noscript/events/pageviews?visitor-id=noscript-visitor" crossorigin=""
fetchpriority="high" />
<img src="http://prisme.localhost:8000/api/v1/noscript/events/custom/noscript-event?prop-extra=foo" crossorigin=""
fetchpriority="low" />
<a href="/">Home</a>
<a href="/login.html">Login</a>
<a href="/manual.html">Manual tracking</a>
<a href="/pets/index.html">Pets</a>
<a href="/noscript/index.html">No script</a>
<a href="/noscript/index2.html">No script 2</a>
</body>

</html>

0 comments on commit d96764e

Please sign in to comment.