Okay, thanks a lot for the comment
I have included that, but it still not working.
@johnny5 Thanks for replying, have done that but still not redirecting.
Here is what have done
Source : ^/(.*?)/\?amp=.
Target: /$1/
It should redirect example.com/?amp to example.com but still not redirecting
Thanks for replying. I deleted the google-site-kit folder from my c panel, and reinstalled the plugin.
It shows the plugin but did not insert the analytics code.
After I remove the service and connect it back several times, the code was later successfully inserted by sitekit.
Thanks