Hello choltha,
We developed an Analytics MFE “PANORAMA by Aulasneo” incorporating Quicksight,
which there are 2 versions, one online and another to incorporate into your LMS, you can see a demo at:
If you are interested we can help you contact us at the following emails:
I can try to help you out with this. Which version of Open edX are you using? Which page are you looking at to check the tag? Some micro-frontend pages will not have those tags enabled.
Assuming you are on a Palm or newer version of Open edX, in the web developer tools you should be able to see a network call to /api/mfe_config/v1. If things are configured correctly, when you look at the response to that call there should be your GA configuration. That is what the MFEs will use to determine whether to insert the script tags. We can debug further based on what you are seeing there!
Hi Anh Vũ,
I’m new to this platform and getting the same problem, after spending a half hour figuring out how to contact you I still don’t find a way,
Would you mind share me your contact so that I can learn from you?
Hi @Danh_Vo, have you tried the method I suggested above?
What’s the openedx version you are using?
If you are new to the platform, I highly recommend you go through the official document and the forum if you encounter any troubles.
My email is anhvu.desu@gmail.com in case you want to contact me.
@choltha According to the official doc, I think your set up is currently correct. However, as @BrianMesick has mentioned, you need Tutor version 16.0.0 (Palm) or higher to make it work.
If you somehow can not upgrade to newer versions of Tutor, the only way that I can think of is you have to fork individual MFE and manually add Google Analytics V4 scripts to them. I don’t know if that is an easy thing to do in tutor v14.0.4 though.
Another way is to fork frontend-pfatform and follow the PR that add GA4. I am unsure if this works though, I’ve never tried it.
I recommend that you upgrade your instance to tutor v16.0.0.
@choltha that’s a bug in openedx source code (missing import js_escaped_string), it was fixed later by this PR.
You can upgrade to later versions (at least redwood.1) to fix it, or you can apply a patch for the fix using a plugin like this.
(
"openedx-dockerfile-git-patches-default",
"""
RUN curl -fsSL https://github.com/openedx/edx-platform/commit/d0a49d1a01bda06722139513919b1aafcf739fa9.patch | git am
"""
)