Page 1 of 1

code add this or google analytic

Posted: Thu Aug 16, 2018 11:02 am
by San
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

Re: code add this or google analytic

Posted: Thu Aug 23, 2018 9:55 am
by k.ary.n
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

Re: code add this or google analytic

Posted: Mon Aug 27, 2018 4:14 pm
by Hopki
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

Re: code add this or google analytic

Posted: Fri Aug 31, 2018 4:56 pm
by San
it's possible to craete un index.html (normal+cardboard)

Re: code add this or google analytic

Posted: Sat Sep 08, 2018 1:28 pm
by San
it's possible to craete un index.html (normal+cardboard)??

Re: code add this or google analytic

Posted: Sun Sep 09, 2018 9:12 pm
by Laurent B
Good evening,
Here is a link that can help.
viewtopic.php?f=6&t=11242&p=46821&hilit=google#p46821
Laurent