code add this or google analytic

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

Thu Aug 16, 2018 11:02 am

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: 427
Joined: Wed Aug 15, 2007 1:02 pm

Thu Aug 23, 2018 9:55 am

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: 10844
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Mon Aug 27, 2018 4:14 pm

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
Hopki
Garden Gnome Software 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: 32
Joined: Sun Jun 05, 2016 6:25 pm

Fri Aug 31, 2018 4:56 pm

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

Sat Sep 08, 2018 1:28 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:

Sun Sep 09, 2018 9:12 pm

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