Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search

Recommended Posts

Site URL: https://ww.oddbox.co.uk

Hello, 

I'm having trouble adding my Google Optimize snippet to custom code without breaking my existing GA tagging. Has anyone been able to successfully setup? Also, once in Google Optimize, any experiments I create don't display in live. I'm doing something wrong but I don't know what?

I'm new to SQS so would appreciate any pointers

Thanks, 

Mark

Link to post
  • 2 weeks later...
  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

  • 3 months later...
On 2/6/2020 at 2:17 AM, Markjack0 said:

Site URL: https://ww.oddbox.co.uk

Hello, 

I'm having trouble adding my Google Optimize snippet to custom code without breaking my existing GA tagging. Has anyone been able to successfully setup? Also, once in Google Optimize, any experiments I create don't display in live. I'm doing something wrong but I don't know what?

I'm new to SQS so would appreciate any pointers

Thanks, 

Mark

Where exactly are you adding it? /config/settings/advanced/code-injection ?

Link to post

I'm having a problem installing google optimize on a squarespace website.

It seems like it could be a CSP issue. When I try to check the optimize installation from the optimize dashboard, it opens the site and there is an alert in the browser (see attachment)

I am also getting some cookie warnings and the following console error: Refused to execute script from 'https://accounts.google.com/ServiceLogin?service=analytics&passive=xxxxxxx&continue=https://optimize.google.com/optimize/inject/inject.js?...' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled. (see attachment)

If anyone knows a solution, that would be amazing. 

The optimize snippet is added in  /config/settings/advanced/code-injection header

Screen Shot 2020-05-29 at 10.18.41 AM.png

Screen Shot 2020-05-29 at 10.16.53 AM.png

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...