I have added the following javascript to the custom JS box in the muffin options layout > custom css & js :
<!--Add the following script at the bottom of the web page (before </body></html>)-->
This appears to not work, maybe its to do with it not being placed directly before </body></html> as requested (there is about 50 lines of code between the code above and the </body></html>
Here is a section of source code from the page in which it appears :
50 LINES OF CODE HERE
All that appears on the page is: //]]>
Hope someone can help me with this
Custom CSS & JS
Comments
this won`t work because code from custom JS section is placed in header. But if you want to place code before end of </body>, then use "Google Remarketing" field in Theme options > Getting started > General section.
The code is like
var aAllDays = new Array(
"2017-05-05,17:30",
"2017-05-16,18:00",
"2017-06-02,17:30",
"2017-06-20,18:00",
"2017-07-20,18:00",
"2017-08-20,18:00"
)
var strLocal = "de-DE";
// de-DE oder en-GB oder fr-FR etc locale
var strNow = new Date();
strNow = Date.now();
var aDate = strNow.split("-");
objNow = new Date(aDate[0],aDate[1]-1,aDate[2]);
Item support does not include services to modify or extend the item beyond the original features, style and functionality described on the item page. For customization services that will help you tailor the item to your specific requirements, we recommend contacting the author to see if they privately offer paid customisation services or checking out the great service providers on Envato Studio.
This happens mostly to users that paste the google analytics code not correctly.
Please check the code you have pasted again.
thanks
thanks