If you have a support question or comment, click the Post New Topic link below. Sytist Manual | Sytist Articles | Facebook Page.

Google Analytics Code Problem

 
Please log in or Create an account to post or reply to topics.
 
Aikaterini Drakouli
9 posts
Fri Feb 02, 18
3:19 AM
I read other topics on this forum, but i cant find a solution.
I have my google Analytics Code like this :




window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'UA-1122222222-1');


I try to put this code at Design->Header & Footer ->Head Code and i try it at Head Script also.
I made the "how to edit your header & footer" to plain text" but nothing.

If i put the code at script with
Tim - PicturesPro.com
9996 posts
admin
Fri Feb 02, 18
7:58 AM
Some of the code you posted isn't showing, but remove the <script> and </script> tags and add the rest of the code in the HEAD SCRIPT section in Design -> Header & Footer.
 
 
 
 
 
Tim Grissett, DIA - PicturesPro.com || My Email Address: info@picturespro.com
Aikaterini Drakouli
9 posts
Fri Feb 02, 18
10:09 AM
I did that already, i dont know why the forum deleted some of the code.
When i remove the script and /script tags i can save BUT google analytic dont show me results, for example it shows me 0 active users, so i suppose some problem with the code.

And of course i tried HEAD SCRIPT first and HEAD CODE but same result..
Tim - PicturesPro.com
9996 posts
admin
Fri Feb 02, 18
10:56 AM
Email me the code Google provided you to add so I can take a look at it.
 
 
 
 
 
Tim Grissett, DIA - PicturesPro.com || My Email Address: info@picturespro.com
Aikaterini Drakouli
9 posts
Fri Feb 02, 18
12:17 PM
Ok i sent you the email
Sean Capshaw
18 posts
Fri May 11, 18
3:33 PM
Same issue, was there a resolution?
Tim - PicturesPro.com
9996 posts
admin
Mon May 14, 18
4:15 AM
It is probably triggering mod security on the server so the server is blocking it when you save.

You can have your host check the mod security logs and make an exception for the mod security rule it is triggering.

Or You can go into the PHPMyAdmin through your hosting control panel.

Click to your Sytist database.

Go to the ms_settings table.

Edit that row

Add your code into the add_head cell.
 
 
 
 
 
Tim Grissett, DIA - PicturesPro.com || My Email Address: info@picturespro.com
Loading more pages
Loading more pages

Sign up for email promotions.

Your information is safe with us and won't be shared.

Thank you for signing up!

 
©2003 - 2017 Grissett, LLC. All Rights Reserved.

By continuing to browse or by clicking Accept Cookies, you agree to the storing of cookies on your device necessary to provide you with the services available through our website.

    Accept   Privacy & Cookie Policy
Loading More Photos
Scroll To Top
Close Window
Loading
Close