Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Monitoring #21

Open
frankgerhardt opened this issue May 2, 2022 · 1 comment
Open

Monitoring #21

frankgerhardt opened this issue May 2, 2022 · 1 comment
Assignees

Comments

@frankgerhardt
Copy link
Member

Wäre gut, wenn wir irgendwie mitzählen könnten, wie oft der iframe aufgerufen wird.

@MartinH-open
Copy link
Member

MartinH-open commented May 2, 2022

Der iframe wird so oft aufgerufen wir die umgebende Demo Seite.
Das sind allerdings nicht unbedingt Nutzer des iframe für Mitfahrten.
Dazu müsste man Clicks im iframe auf Hinfahrt / Rückfahrt und auf die deeplinks etc mitzählen und irgendwo lokal in einer Logfile schreiben.

<a href="http://www.somedomain.de" onmousedown="clicklog(this, 'clicking XYZ')"> some text </a>
Dann noch ein kleines JavaScript in den Header einfügen:
<script type="text/javascript" language="JavaScript" >
function clicklog(obj, info) {
obj.href = "http://localhost/clicklogger.php?link=" + escape(obj.href) + info
}
</script>

@MartinH-open MartinH-open self-assigned this May 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants