Hi everyone been ages since my last post as I always seem to find the info I am looking for in the Community or Knowledge base.
I would like to know the best place to add a JavaScript so it runs on the Header of every page. Its basicly to direct Mobile phone users to a nice layed out cut down version of my website for phone users only, as desktop versions of Actinic / Seller Deck as of yet don't the mobile features of Actinic Online.
I would like to place this JavaScript so it does affect the site for normal non mobile shoppers and doesn't effect our Google Rankings .
The Code is as follows:
<script type="text/javascript">
/* START OF MYMCART.COM SCRIPT */
var mobiletarget = "http://scoot.mymcart.com/m/meechs-menswear";
document.write("<scr"+"ipt src='//www.mymcart.com/javascript/detect-mobile.js?tm="+ new Date().getTime()+"'><\/script>");
/* END OF MYMCART.COM SCRIPT */
</script>
I would like to know the best place to add a JavaScript so it runs on the Header of every page. Its basicly to direct Mobile phone users to a nice layed out cut down version of my website for phone users only, as desktop versions of Actinic / Seller Deck as of yet don't the mobile features of Actinic Online.
I would like to place this JavaScript so it does affect the site for normal non mobile shoppers and doesn't effect our Google Rankings .
The Code is as follows:
<script type="text/javascript">
/* START OF MYMCART.COM SCRIPT */
var mobiletarget = "http://scoot.mymcart.com/m/meechs-menswear";
document.write("<scr"+"ipt src='//www.mymcart.com/javascript/detect-mobile.js?tm="+ new Date().getTime()+"'><\/script>");
/* END OF MYMCART.COM SCRIPT */
</script>
Comment