Tagged: cornerstone
-
AuthorPosts
-
September 25, 2016 at 7:23 am #1189718
Hello,
I need to add following codes to the website,
http://www.mnkpr.comis there easiest way to add following code for analytics and other purpose using cornerstone or x theme customize setting? The tag manager needs to be placed
<script type=”text/javascript” src=”http://wcs.naver.net/wcslog.js”></script>
<script type=”text/javascript”>
if(!wcs_add) var wcs_add = {};
wcs_add[“wa”] = “a7806231350a3c”;
wcs_do();
</script><!– Google Tag Manager –>
<noscript><iframe src=”//www.googletagmanager.com/ns.html?id=GTM-PPMQWF”
height=”0″ width=”0″ style=”display:none;visibility:hidden”></iframe></noscript>
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({‘gtm.start’:
new Date().getTime(),event:’gtm.js’});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!=’dataLayer’?’&l=’+l:”;j.async=true;j.src=
‘//www.googletagmanager.com/gtm.js?id=’+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,’script’,’dataLayer’,’GTM-PPMQWF’);</script>
<!– End Google Tag Manager –><!– Google Analytics –>
<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’,’https://www.google-analytics.com/analytics.js’,’ga’);ga(‘create’, ‘UA-84673081-1’, ‘auto’);
ga(‘send’, ‘pageview’);</script>
<!– End Google Analytics –>
September 25, 2016 at 7:39 am #1189728Hey there,
Please install and use the X Google Analytics. See https://community.theme.co/kb/extension-google-analytics/
Thanks.
September 25, 2016 at 7:44 am #1189735Yes, I did install the addon and put google analytics code,
but , what about Naver analytics code, and google code manager code?should I just put all that in the same place as where the google analytics code is inserted?
Please help. Thank you.
September 25, 2016 at 7:52 am #1189741Please check where your code needs to be placed (header or footer). Once you know, set the Position option according to your need (see attachment).
The extension simply places your code in the header or footer. With that said, if all your code needs to be placed in the header, you can put those in the Analytics Code box. If not, you can use a plugin such as this https://wordpress.org/plugins/insert-headers-and-footers/. Please take note though that we do not have support for third party plugins in case of issues.
Thanks.
-
AuthorPosts