analitic code error see
Warning: JavaScript code is reuqired!
see my code
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
..xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.............................................................................................................
....xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.............................................................................................................
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx..................................
ga('send', 'pageview');
never mind "X" that line deleted for safety. this code worked in 1.4
Warning: JavaScript code is reuqired!
see my code
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
..xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.............................................................................................................
....xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.............................................................................................................
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx..................................
ga('send', 'pageview');
never mind "X" that line deleted for safety. this code worked in 1.4
In SEO
Share this post:
Responses (8)
-
Accepted Answer
-
Accepted Answer
not missing all ok i go to google analytic account then clic tracking code see blow
Website tracking
This is the Universal Analytics tracking code for this property.
To get all the benefits of Universal Analytics for this property, copy and paste this code into every webpage you want to track.
i get copy this code
(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','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-xxxxxxxx-x', 'auto');
ga('send', 'pageview');
go to analytic extension open past and on save
Warning: JavaScript code is reuqired!
(XXXXXXXXX IS MY ID) MY VERSION 1.5
OLD VERSION PERFECTLY WORKING THIS
PLEASE ANSWER -
Accepted Answer
denis
not missing all ok i go to google analytic account then click tracking code see blow
Website tracking
This is the Universal Analytics tracking code for this property.
To get all the benefits of Universal Analytics for this property, copy and paste this code into every webpage you want to track.
i get copy this code see blow
(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','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-88057721-1', 'auto');
ga('send', 'pageview');
to paste analytic extension and on then save ......see warning
Warning: JavaScript code is reuqired!
(XXXXXXXXX IS MY ID) MY VERSION 1.5
OLD VERSION PERFECTLY WORKING THIS
PLEASE ANSWER -
Accepted Answer
Denis Duliçi wrote:
It seems you're missing the script tags Shajahan. Please, get the correct code directly from Google Analytics.
denis
not missing all ok i go to google analytic account then click tracking code see blow
Website tracking
This is the Universal Analytics tracking code for this property.
To get all the benefits of Universal Analytics for this property, copy and paste this code into every webpage you want to track.
i get copy this code see blow
(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','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-88057721-1', 'auto');
ga('send', 'pageview');
to paste analytic extension and on then save ......see warning
Warning: JavaScript code is reuqired!
(XXXXXXXXX IS MY ID) MY VERSION 1.5
OLD VERSION PERFECTLY WORKING THIS
PLEASE ANSWER -
Accepted Answer
Hi Support,
Please can you provide some "test" code to try? If the field in the form requires the Javascript html tags before it will submit can you simply enter any code that is within the Javascript tags or is there more error checking in the background?
We have just installed Arastta version 1.5 and found that it does not allow us to submit code in Javascript tags or without, therefor the implication is that there is more than one error or bug to resolve.
Our Google Analytics code worked in Arastta version 1.42, but does not currently work in Arastta version 1.5 due to the fact that we cannot enter any code.
We can probably enter it into a file or the database "directly" once we have established where it resides, but the problem we are discussing is valid.
We are therefor asking can you enter anything,? Then as step two we can establish the validity of the code being entered.
Hope you can help.
P.S. Please can you confirm where the form saves the data? -
Accepted Answer
solve simple and self see githhub https://github.com/arastta/arastta/issues/631 a small code editing very ezy
Your Reply
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »