Reputation: 1
I am adding jQuery to my website with Google Optimize. And I get this error in the console:
Failed to execute 'postMessage' on 'DOMWindow': The target origin provided ('') does not match the recipient window's origin ('')
Is there a way to get around this?
This is my jQuery:
$('#ab_target').click(function(){
window.localStorage.setItem('frequency','5')
})
Upvotes: 0
Views: 1614