Adding the code to your site
April 2015 – the “Free line of code” offer
In response to the Google initiative of April 2015 to reward mobile-friendly websites with better positions in the mobile search engine results pages (SERP), Big Media are offering a FREE first step to being mobile-friendly
To read more about our offer and the simple t’s and c’s for use of the code – click here
You can insert the code into a single page, or a template file if you use a system such as WordPress. It’s very similar to inserting the Google Analytics code.
We would recommend you make a copy of the original file you are going to use, so you’ll always have it to revert back to.
If you are unsure of what you are doing with this code, please talk with your web developer or contact Big Media for assistance
For WordPress, we recommend you insert the call into the functions.php page of your theme or child theme. This is the preferred method for queuing up the script so that it passes antivirus checks. Alternatively a second method is to paste the one line of code sent in your email into the header.php of your theme.
Step 1: open the functions.php for your theme, using the online editor in WordPress or the editor of your choice
Step 2: Add the ‘Load Gecko Musketeer’ code you’ve been sent
Save (and upload if necessary)
For PageBuild (Dreamweaver) pages, the ideal place to put the Chameleon script call is immediately before the closing </head> tag in your document, as shown in the images below:
Step 1: find the closing </head> tag in your page
Step 2: add a new line immediately above it
Step 3: paste in the code you have been sent
Save and upload your page using FTP
All test code will be valid for the month in which it is downloaded and for the subsequent month, giving you at least 4 weeks’ testing time. After this time the code will be removed from the server.