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

Issue with my Angular Ionic app where the SCSS files aren't being properly tracked, which is causing the Heat Maps UI to be destroyed. #545

Open
tuhinkolese opened this issue Mar 6, 2024 · 8 comments
Labels
android Issues specific to Clarity Android SDK ionic Issues specific to Clarity Ionic SDK

Comments

@tuhinkolese
Copy link

tuhinkolese commented Mar 6, 2024

Hello everyone,

I am currently facing an issue while implementing ms-clarity in an Angular website and ionic Native (Android application) using Capacitor. While the clarity dashboard is successfully capturing data, the SCSS/CSS is not loading properly.

I kindly request your assistance in proposing a solution to this problem. Any input or advice would be greatly appreciated.

@ibradwan
Copy link
Collaborator

Hi tuhinkolese,

Could you please elaborate more whether you're using the ClarityJs script within your website or you're using the Clarity SDK for Ionic apps?

@tuhinkolese
Copy link
Author

tuhinkolese commented Mar 20, 2024 via email

@ibradwan
Copy link
Collaborator

Well, you should need to do so if you're using the Ionic package, because the package will capture both native and web content in the same session.

@tuhinkolese
Copy link
Author

Well, I removed the script from HTML and used the ionic package but in the web, ClarityPlugin is not defined.
image

@tuhinkolese
Copy link
Author

image

@ibradwan
Copy link
Collaborator

Yes that's a known issue with Capacitor + Ionic cordova based plugins. Please apply this condition and see:
image

@tuhinkolese
Copy link
Author

tuhinkolese commented Mar 21, 2024

The Problem is that SCSS files are not being properly tracked, which is causing the Heat Maps UI to be destroyed.

Would you be able to provide me with the necessary line of code for the web platform for Ionic?
While the Android platform appears to be functioning correctly, and Tracked in Clarity DashBoard but CSS issue exists.

@tuhinkolese
Copy link
Author

For Android implementations

image

@AbdelrhmanMagdy AbdelrhmanMagdy added android Issues specific to Clarity Android SDK ionic Issues specific to Clarity Ionic SDK labels Apr 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
android Issues specific to Clarity Android SDK ionic Issues specific to Clarity Ionic SDK
Projects
None yet
Development

No branches or pull requests

3 participants