code add this or google analytic

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

code add this or google analytic

Post by San » 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: 341
Joined: Wed Aug 15, 2007 1:02 pm

Re: code add this or google analytic

Post by k.ary.n » 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: 8454
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Re: code add this or google analytic

Post by Hopki » 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

User avatar
San
Posts: 22
Joined: Sun Jun 05, 2016 6:25 pm

Re: code add this or google analytic

Post by San » Fri Aug 31, 2018 4:56 pm

it's possible to craete un index.html (normal+cardboard)

User avatar
San
Posts: 22
Joined: Sun Jun 05, 2016 6:25 pm

Re: code add this or google analytic

Post by San » Sat Sep 08, 2018 1:28 pm

it's possible to craete un index.html (normal+cardboard)??

User avatar
Laurent B
Posts: 76
Joined: Wed Aug 25, 2010 11:33 am
Location: France
Contact:

Re: code add this or google analytic

Post by Laurent B » 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 : Sierra 10.13.6 - Pano2VR 6.0 beta 3 pro.

Post Reply

Who is online

Users browsing this forum: No registered users and 15 guests