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-07-27 03:09:54

gwlco
Member
From: Pensacola, Fl.
Registered: 2012-10-24
Posts: 337
Website

google analytics code

I have a google analytics code and inserted it in the Backlight settings.
Always in the past, however, google supplied a script as follows:

<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','https://www.google-analytics.com/analytics.js','ga');
  	ga('create', 'UA-xxxxxxx-x', 'auto');
  	ga('send', 'pageview');
</script>

Is this implemented in the Backlight site.

http://garylittle.com

Offline

#2 2016-07-27 03:38:43

Daniel Leu
Moderator
Registered: 2012-10-11
Posts: 1,624
Website

Re: google analytics code

Have a look at backlight > Settings. Under Website Settings, you can enter Google Analytics Web Property ID and Google Site Verification ID. This should do the trick.


Daniel Leu | Photography   
DanielLeu.com
My digital playground (eg, Backlight tips&tricks): lab.DanielLeu.com

Offline

#3 2016-07-27 06:55:41

Ben
Moderator
From: Melbourne, Australia
Registered: 2012-09-29
Posts: 4,399

Re: google analytics code

That's right. Also, make sure to clear your designer templates afterwards.

Offline

#4 2016-07-27 13:45:53

Matthew
Administrator
From: San Francisco, CA
Registered: 2012-09-24
Posts: 5,795
Website

Re: google analytics code

The only thing that's needed for Google Analytics is the Google Analytics Web Property ID.

The Google Site Verification ID is only necessary if you're also setting up Google Webmaster Tools (which includes Google Analytics as a part of its larger suite of tools).


Matt

The Turning Gate, http://theturninggate.net

Offline

Board footer

Powered by FluxBB