What is the name of the domain?
games.odencat.com
What is the issue you’re encountering
Web Analytics doesn’t count page visits in an iframe
What steps have you taken to resolve the issue?
I’ve not resolved this issue.
What are the steps to reproduce the issue?
Created two HTMLs and uploaded them to R2.
iframetest.html
:
<!DOCTYPE html>
<iframe></iframe>
<script>
window.addEventListener('DOMContentLoaded', () => {
document.querySelector('iframe').src = 'iframetest2.html';
});
</script>
iframetest2.html
:
<!DOCTYPE html>
<p>iframetest2.html</p>
Visited iframetest.html
and saw the result of Web Analytics. I’ve found iframetest.html
was counted, but not iframetest2.html
.
What feature, service or problem is this related to?
Web Analytics