[TYPO3-english] Re: Google Analytics - insert javascript with page.headerData

2017-11-12 Thread Christian Hackl
hmm you can try, to seperate it: 50 = TEXT .. first 51 = TEXT .. second But it shoold be no difference in the output. h... ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org

[TYPO3-english] Re: Google Analytics - insert javascript with page.headerData

2017-11-12 Thread Dennis Hoffland
Hello, I did some further investigation. I am using the scriptmerger extension. For reasons not entirely clear to me the first section of my javascript turns up seperately in my page header, while the second section becomes part of the merged javascript

[TYPO3-english] Re: Google Analytics - insert javascript with page.headerData

2017-11-12 Thread Dennis Hoffland
Just to be clear: I am using TYPO3 CMS 7.6.22 ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english

[TYPO3-english] Re: Google Analytics - insert javascript with page.headerData

2017-11-12 Thread Dennis Hoffland
Hello Christian, If I use the standard textbook code as you suggested and replace // YOUR JS CODE with https://www.googletagmanager.com/gtag/js?id=UA-xxx-x";> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date());

[TYPO3-english] Re: Google Analytics - insert javascript with page.headerData

2017-11-10 Thread Christian Hackl
why you do this? You can direkt in the headerdata include your JS Code page { headerData { 50 = TEXT 50.value ( // YOUR JS CODE ) } } ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org