-
Author
-
January 20, 2015 at 18:56 #42790cozy35Participant
Ok, this is puzzling me. I add the Google tracking script and when i save it I get a 404 error. It redirects to http://mywebsite/wp-admin/options.php
Please help.
January 20, 2015 at 18:59 #42791cozy35ParticipantLooks like one must leave off the <script></script> tags
January 20, 2015 at 22:55 #42814cozy35ParticipantThis is still a problem. The setting can save without the <script> tags, but when <script> tags are present the setting does not save and redirects to 404 error page.
I would appreciate some support here.
January 21, 2015 at 13:07 #42854RaduModeratorOn my side, this action works well without errors. ( tested on 2.7 )
What version of sweetdate do you have ?
If you have 2.7 version, try to disable plug-ins that did not come with the theme.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionJanuary 21, 2015 at 13:23 #42859cozy35ParticipantI have V2.7 and no other plugins active except those from the theme. I also disabled contact form 7. Still no joy.
January 21, 2015 at 13:30 #42864RaduModeratorYou can post here the code you are trying to insert ?
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionJanuary 21, 2015 at 13:35 #42867cozy35ParticipantHere is the Google Analytic Tracking code…
<script>
(function(i,s,o,g,r,a,m){i[‘GoogleAnalyticsObject’]=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,’script’,’//www.google-analytics.com/analytics.js’,’ga’);ga(‘create’, ‘UA-58744886-1’, ‘auto’);
ga(‘send’, ‘pageview’);</script>
January 21, 2015 at 13:56 #42873RaduModeratorCan you provide a URL and login details ?
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionJanuary 21, 2015 at 15:52 #42905RaduModeratorIt may be a security setting on the server you are hosted.
You can solve this problem by copying the kleo footer.php in kleo-child
And in kleo-child / footer.php after <? Php wp_footer (); ?> Add your script
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution -
AuthorPosts
The forum ‘Sweetdate – WordPress’ is closed to new topics and replies.