0
Welcome Guest! Login
0 items Join Now

Add Analytics Head Code

    • Jon G.'s Avatar
    • Jon G.
    • Rocketeer
    • Posts: 55
    • Thanks: 0

    Add Analytics Head Code

    Posted 1 year 3 months ago
    • I'm sure this is documented somewhere, but I cannot find it:

      How can I add javascript code top the site-wide <head> section for our custom analytics provider?
    • Matt's Avatar
    • Matt
    • Preeminent Rocketeer
    • Posts: 20628
    • Thanks: 2926
    • messin' with stuff

    Re: Add Analytics Head Code

    Posted 1 year 3 months ago
    • Gantry 5 I presume?

      Very easy, lots of options on the Page Settings tab to allow you full control of your <head> and other insert points on a Per Outline or global (use the Base Outline) basis

      docs.gantry.org/gantry5/configure/page-settings
    • SEARCH the forum first! These boards are rich in knowledge and vast in topics :woohoo:
    • Cyskye's Avatar
    • Cyskye
    • Jr. Rocketeer
    • Posts: 26
    • Thanks: 2

    Re: Add Analytics Head Code

    Posted 3 months 3 days ago
    • Hi, it works but how can you append code IMMEDIATELY after the <head> opening tag? Sometimes many scripts from plugins position themselves before the scripts coming from the Head Properties ... is there a way to be certain that a precise script loads first above all the others? Thank you in advance.
    • Damir's Avatar
    • Damir
    • Preeminent Rocketeer
    • Posts: 22446
    • Thanks: 2670
    • Web Developer

    Re: Add Analytics Head Code

    Posted 3 months 3 days ago

Time to create page: 0.073 seconds