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.
You are not logged in.
Pages: 1
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
Ignore that request. I've just cleaned my glasses!
Regards,
TomO
Just a simple photographer
Live site at http://tomowens.openpoint.co.uk/
Offline
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
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
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
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
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
And just to be clear, you put ONLY the ID in that field?
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Yes Rod,
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
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
Pages: 1