Skip to main content

At this point, we offer the possibility to add CSS and JavaScript to the theme.


The CSS inserted here is loaded directly inline in the header. Please do not use JavaScript or HTML at this point.

JavaScript (Header / Footer)

Then we offer two more text fields to use JavaScript in the theme. Once for the header and once for the footer. Depending on the purpose of the code. You can use this section to integrate the Google Analytics tracking code. Please make sure you include the script-Containers in any case!

An example for the Google Analytics Code would be:

[pastacode lang=”javascript” manual=”%3Cscript%3E%0A%20%20(function(i%2Cs%2Co%2Cg%2Cr%2Ca%2Cm)%7Bi%5B’GoogleAnalyticsObject’%5D%3Dr%3Bi%5Br%5D%3Di%5Br%5D%7C%7Cfunction()%7B%0A%20%20(i%5Br%5D.q%3Di%5Br%5D.q%7C%7C%5B%5D).push(arguments)%7D%2Ci%5Br%5D.l%3D1*new%20Date()%3Ba%3Ds.createElement(o)%2C%0A%20%20m%3Ds.getElementsByTagName(o)%5B0%5D%3Ba.async%3D1%3Ba.src%3Dg%3Bm.parentNode.insertBefore(a%2Cm)%0A%20%20%7D)(window%2Cdocument%2C’script’%2C’’%2C’ga’)%3B%0A%0A%20%20ga(‘create’%2C%20’UA-XXXXXXX-X’%2C%20’auto’)%3B%0A%20%20ga(‘send’%2C%20’pageview’)%3B%0A%3C%2Fscript%3E” message=”” highlight=”” provider=”manual”/]

War dieser Artikel hilfreich?

1 Star2 Stars3 Stars4 Stars5 Stars
5.00 / 5

Keine Kommentare vorhanden

Du hast eine Frage oder eine Meinung zum Artikel? Teile sie mit uns!

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind markiert *