Community @ The Turning Gate

Support community for TTG plugins and products.

NOTICE

The Turning Gate's Community has moved to a new home, at https://discourse.theturninggate.net.

This forum is now closed, and exists here as a read-only archive.

  • New user registrations are disabled.
  • Users cannot create new topics.
  • Users cannot reply to existing topics.

You are not logged in.

#1 2016-06-14 01:05:08

tomowensphoto
Member
From: Suffolk
Registered: 2012-11-21
Posts: 321
Website

Google analytics

In CE4 there was an option to paste in the tracking code when setting up a page. I have rooted around but possibly I'm looking in the wrong places for the same feature in pages for Backlight?
Any pointers as to where to paste the GA code snippet?


Regards,
TomO
Just a simple photographer
Live site at http://tomowens.openpoint.co.uk/

Offline

#2 2016-06-14 01:07:37

tomowensphoto
Member
From: Suffolk
Registered: 2012-11-21
Posts: 321
Website

Re: Google analytics

Ignore that request. I've just cleaned my glasses!


Regards,
TomO
Just a simple photographer
Live site at http://tomowens.openpoint.co.uk/

Offline

#3 2016-06-14 01:13:01

tomowensphoto
Member
From: Suffolk
Registered: 2012-11-21
Posts: 321
Website

Re: Google analytics

Well ignore the ID as I saw where to post that but where does the code go?


Regards,
TomO
Just a simple photographer
Live site at http://tomowens.openpoint.co.uk/

Offline

#4 2016-06-14 01:52:06

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: Google analytics

the code gets added automatically to the page. You can see it in a page's source code right before the end of the </head> tag.


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#5 2016-06-14 02:04:59

tomowensphoto
Member
From: Suffolk
Registered: 2012-11-21
Posts: 321
Website

Re: Google analytics

Hi Rod
I don't see that here.
<!doctype html>
<html dir="ltr" lang="en">
<head>

    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
   
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <meta name="HandheldFriendly" content="True" />
    <meta name="MobileOptimized" content="320" />
    <meta name="viewport" content="width=device-width, maximum-scale=1.0, minimum-scale=1.0, initial-scale=1.0, user-scalable=no" />
    <meta name="template-version" content="50" />
   
    <title>photography by tom owens</title>

    <!--    Open Graph Protocol **************************** -->
           
        <!-- http://developers.facebook.com/tools/debug -->
        <link rel="image_src" href="" />
        <meta property="og:description" content="" />
        <meta property="og:image" content="" />
        <meta property="og:image:width" content="" />
        <meta property="og:image:height" content="" />
        <meta property="og:site_name" content="photography by tom owens" />
        <meta property="og:type" content="website" />
        <meta property="og:title" content="Home" />
        <meta property="og:url" content="http://tomowens.openpoint.co.uk/" />
       
        <!-- https://dev.twitter.com/docs/cards/preview -->
        <meta name="twitter:card" value="summary" />
        <meta name="twitter:creator" value="@tomowensphoto" />
        <meta name="twitter:description" value="" />
        <meta name="twitter:image" value="" />
        <meta name="twitter:image:src" value="" />
        <meta name="twitter:site" value="@tomowensphoto" />
        <meta name="twitter:title" value="Home" />
        <meta name="twitter:url" value="http://tomowens.openpoint.co.uk/" />
   
    <!-- /Open Graph Protocol **************************** -->

    <link rel="canonical" href="http://tomowens.openpoint.co.uk/" />

   
    <link rel="stylesheet" type="text/css" media="all" href="index.php?template=6&extension=css&name=style" />
    <link rel="stylesheet" type="text/css" media="all" href="http://tomowens.openpoint.co.uk/backlight/modules/okapi-core/static/css/fonts.css" />
    <link rel="stylesheet" type="text/css" media="all" href="http://tomowens.openpoint.co.uk/backlight/modules/okapi-core/static/css/font-awesome.min.css" />
    
    <link rel="stylesheet" href="http://tomowens.openpoint.co.uk/backlight/custom/css/custom-copyright.css" />

</head>


Regards,
TomO
Just a simple photographer
Live site at http://tomowens.openpoint.co.uk/

Offline

#6 2016-06-14 02:39:42

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: Google analytics

Hmm. It's showing on my pages. You added your ID to the Google Analytics Web Property ID field?

<link rel="stylesheet" href="http://backlight-rb-test.barbeephoto.com/backlight/custom/css/custom.css" />	<!-- Google Analytics -->
	<script>
		(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
		(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
		m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
		})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
		ga('create', 'UA-44402987-1');
		ga('send', 'pageview');
	</script>
	<!-- End Google Analytics -->


</head>

Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#7 2016-06-14 02:54:48

tomowensphoto
Member
From: Suffolk
Registered: 2012-11-21
Posts: 321
Website

Re: Google analytics

Yes Rod, just that field as I don't use Webmaster Tools. copied from the GA site and pasted it in.


Regards,
TomO
Just a simple photographer
Live site at http://tomowens.openpoint.co.uk/

Offline

#8 2016-06-14 03:35:02

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: Google analytics

And just to be clear, you put ONLY the ID in that field?
google-id.jpg


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#9 2016-06-14 04:16:20

tomowensphoto
Member
From: Suffolk
Registered: 2012-11-21
Posts: 321
Website

Re: Google analytics

Yes Rod,
GAID.PNG

Last edited by tomowensphoto (2016-06-14 04:21:40)


Regards,
TomO
Just a simple photographer
Live site at http://tomowens.openpoint.co.uk/

Offline

#10 2016-06-14 05:03:57

tomowensphoto
Member
From: Suffolk
Registered: 2012-11-21
Posts: 321
Website

Re: Google analytics

Hi Rod,
I have finally got this to work. What I had done first time around was strip the code in GA and paste it into the field in BL.
I deleted the entry in BL and saved the change.
I then typed in the code and saved it then cleared the cache and hey presto the script appeared.
The moral of the story appears to be type in the code.

Last edited by tomowensphoto (2016-06-14 05:24:52)


Regards,
TomO
Just a simple photographer
Live site at http://tomowens.openpoint.co.uk/

Offline

Board footer

Powered by FluxBB