Adding Baidu statistics code to nuxt project does not take effect!

Baidu statistics code has been added to the nuxt project, but the number of visitors cannot be counted! It doesn"t seem to work. How to solve it?

Jun.20,2022

just go to Baidu statistics and open the spa single page application to introduce Baidu statistics links directly.
https://tongji.baidu.com/web/...

Menu