Google Analytics Problems

  • 1
  • Question
  • Updated 11 years ago
  • Answered

This conversation was archived and is no longer visible to community members. The community moderator provided the following reason for archiving: out of date

Hi, i keep trying to copy and paste the google analytics code into a HTMl widget on my site, but it keep going 'oops there seems to be a problem'
do i have to change anything when i copy and paste it?
Photo of zeberdy31


  • 3 Posts
  • 0 Reply Likes
  • confused

Posted 11 years ago

  • 1
Photo of Marije

Marije, Official Rep

  • 4636 Posts
  • 237 Reply Likes
Hi zeberdy31,

Is the error something like: "Oops! An error has occurred with your pasted javascript code. Please check your code."

Unfortunately, this is a known issue. Google Analytics Embed Code sometimes causes a JavaScript error on Drop. The workaround is to click the "OK" button in the error dialog, save your page, navigate to another page or create a new page, navigate back to the page where you've embedded Google Analytics and you should no longer get the error. NOTE: If you clear your cache, this error may reappear. It should not cause any trouble with your stats however.

To make sure that the code is working log in to your Google Analytics account 24 hours after you verify your site. If you are receiving stats then everything is fine. If not, please let us know.