code add this or google analytic

Q&A about the latest versions
Post Reply
User avatar
San
Posts: 35
Joined: Sun Jun 05, 2016 6:25 pm

Hi to all,


i want to insert in the index.php the code of add this and google analytic, where i ca to insert its in the pano2vr?


thanks
User avatar
k.ary.n
Gnome
Posts: 615
Joined: Wed Aug 15, 2007 1:02 pm

Hi!

I haven't tried this, but I think you just add the script to the HTML.

https://support.google.com/adsense/answer/181950?hl=en
User avatar
Hopki
Gnome
Posts: 13015
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi,
What you can do is add this to a copy of the normal template.
So open Pano2VR and go to Settings/Preferences, select the files tab and right button click on the HTML Template Directory file path.
You need to find the html5 folder and open it.

Make a copy of the normal.ggt.
Then you can open it using a plane text editor.

Place the code between:


<div style="width:1px;height:1px;"></div>

Put It Here

</body>

Which can be found near the bottom of the code.
Save the document.
Every time you use the copy of the normal.ggt the google analytic will be used.
You can also rename it to normal_google_analytic.ggt so you know which ones what.
Regards,
Hopki
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
User avatar
San
Posts: 35
Joined: Sun Jun 05, 2016 6:25 pm

it's possible to craete un index.html (normal+cardboard)
User avatar
San
Posts: 35
Joined: Sun Jun 05, 2016 6:25 pm

it's possible to craete un index.html (normal+cardboard)??
User avatar
Laurent B
Posts: 79
Joined: Wed Aug 25, 2010 11:33 am
Location: France
Contact:

Good evening,
Here is a link that can help.
viewtopic.php?f=6&t=11242&p=46821&hilit=google#p46821
Laurent
Laurent BIZIEN Photographies
MacBook Pro 2,6 GHz Intel Core i7 : Mojave 10.14.6 - 6.1 beta3b pro
Post Reply