0👍
✅
I’m pretty sure you’re missing a http://
or https://
prefix in the URL, so Vue thinks it’s just a relative URL and appends what you entered to the current address.
Try adding the https://
, so it looks like this:
handleMP () {
this.$http.post('https://www.google-analytics.comv=1&t=pageview&tid=UA-XXXXXX-
X&cid=555&dp=%2Fanalytics')
}
Source:stackexchange.com