Site logo

Archived topic

weird face ); with white strip above header

7 replies · Started by Josie on January 28, 2019

Viewing posts 1–8 of 8

I seem to have a weird white strip above my header which has a sad face at the left hand side like: );

Does anyone know why or what this is and how I get rid of it?!

Thanks

Hi there,

do you have any scripts or code added to any of the GP Hooks? Or in a child theme function file?
If not try disabling any plugins to see if one of them is outputing this code.

Hi David,

I've just tried deactivating each plugin and trying it but it's still there. I'm not sure about codes/scripts that I've added (sorry new to this and wish I had made a list of everything I had added now!) sorry this isn't of much help!

How did you add the Google Tag Manager?

I didn't think I had inserted any coding for Google Tag manager as yet. I checked our Tag manager account and its still pointing to our old one. 🤔

Only Google thing I’ve put in was analytics and it was just a key, there wasn’t any coding involved

Open the browser developer tools buy Right Click > Inspect the live site. Go to Console tab and in errors you will see:

SyntaxError: Unexpected token '<'

This is related to the googletagmanager script that has been inserted. can you disable whatever plugin you used for it and clear any caches you have. And then let me know.

There is a plugin I used for google analytics called GA Google Analytics, it has a bit of code in the settings bit.

When I changed a setting in it from Global site tag to universal analytics plus deleted the coding the sad face turned to: ); ga('send', 'pageview');

I've deactivated it and after a few minutes the sad face has disappeared yay!

Thanks for your help David :D

Is there any plugins you recommend for Google Analytics?

This archived topic is closed to new replies.