-
Notifications
You must be signed in to change notification settings - Fork 58
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
Inform if Matomo Tag Manager container tracking code is not on the page #773
Comments
Hi @Chardonneaur . Thank you for taking the time to create this issue. Are you thinking that we inspect the URL configured for the measurable and see if the container JS is loaded on the page? Or were you thinking allow the customer to test any page by typing a URL into an input? This could potentially be done in conjunction with #577 |
@snake14 We have a way to check if JS code is installed on a website on no-data page, can we leverage that ? |
@AltamashShaikh Possibly. The no-data page doesn't explicitly check if the JS code snippet is installed, but it does check if the MTM code is executing and sending tracking requests back to the right Matomo instance. We would have to adjust the wording of the success message if we want to use the component outside of the no-data screen though: |
@Chardonneaur Something like above will do ? |
Thank you, to me, it is "Are you thinking that we inspect the URL configured for the measurable and see if the container JS is loaded on the page?" because that's the real thing. |
@Chardonneaur The Q is when should we do this and where should we show an alert, a background task is not possible as it requires opening the URL in browser to verify, to do in background we would require node installed on server which would open the url in some headless browser and verify if its installed or not. |
Hi team,
It happens sometimes that some clients do not understand why their Matomo Tag Manager configuration is not working.
One of the reason is that sometimes they just do not understand that a new tracking code (so to say the container) has to be added to the page.
--> Cannot we create a feature which would indicate that the container tracking code is not on the page?
The text was updated successfully, but these errors were encountered: