Skip to main content

Tue, Jul 24, 2018 10:37 AM


Head Tag on properties page

On the page properties section on desktop sitebuilder there is a section titled <HEAD> tag.

This is where I placed my mobile re-direct script as follows:

<script type="text/javascript">
if (screen.width <= 699) {
document.location = "";

I've also recently placed a Google verification script/tag into the same box. I've removed some of the letters and numbers from the original.

<meta name="google-site-verification" content="PPbL_FmTRquAj__F??????????????__cwg" />

Is this an acceptable thing to do, having 2 scripts in the same box? Could this cause any problems? If it's not I would choose to remove the Google verification but really don't want to for obvious reasons. Is there a workaround if needed? If it is acceptable whats the proper placement?

Mobile re-direct on top or Google or does it matter?
Should the scripts butt up to each other as in <11111><22222>, should there be a space between them, <11111> <22222> or should they be separated by using the Enter key before entering the second script?

Also on the mobile re-direct script would it be a good idea to change the http to https on all re-directs?

Thank you.

This conversation is no longer open for comments or replies and is no longer visible to community members.


No Responses!