How to configure custom analytics - 51la #6888
-
I have arranged the js footer file, and it seems to be error-free, but on the 51la platform, it can't pass the code detection and displays "No code detected". My project address |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 10 replies
-
I suspect it's the location,Another question is how do I add js to the tag? |
Beta Was this translation helpful? Give feedback.
-
Looking at the source <script src="assets/javascripts/bundle.c8d2eff1.min.js"></script>
<script src="javascripts/extra.js"></script>
<script src="javascripts/51la.js"></script> However, the issue is that CORS is blocking the connection: I can't read Chinese, so it would be good if you've provided what 51.la is, but ChatGPT says it's some sort of tracking analytics thing. This is definitely outside the scope of this discussions board, so best look for help in 51.la forums ✌️ |
Beta Was this translation helpful? Give feedback.
-
What are the best ways to configure custom analytics tracking for one of our client's website: lussoleather.com to gain deeper insights into user behavior and optimize our marketing efforts? |
Beta Was this translation helpful? Give feedback.
Instead of using the
extra_javascript
in mkdocs.yml, usemain.html
override withextrahead
block, as said in the comment above:As for the syntax look here for reference: