Please find attached our Google Analytics Component.
Download the component and double click to add to Pano2VR.
Please see this video on how to get your Analytics Tracking ID
Regards,
The Gnomes
Google Analytics Component
- Hopki
- Gnome
- Posts: 13185
- Joined: Thu Jan 10, 2008 3:16 pm
- Location: Layer de la Haye, Essex UK
- Contact:
- Attachments
-
- Google Analytics.ggskc
- (22.56 KiB) Downloaded 1900 times
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/
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/
-
- Posts: 157
- Joined: Thu Sep 17, 2009 7:39 pm
Fantastic, thanks Hopki. This is going to be very useful.
-
- Posts: 5
- Joined: Mon Mar 23, 2020 3:08 pm
Great addition. A few questions...
1. Can I use placeholders in the event category? eg $(upt) Hope it is not a manual entry we have to do each time.
2. Will the skin configuration be saved for use in the next project or does it have to be re-entered each time?
2. It appears that the analytics is identifying individual nodes within the virtual tour. Does it also identify the virtual tour name so we can track total views of each of our virtual tour.
3. I have hired a processor and provided him my HTML template and skin. Will the skin configuration with the Google Analytics stay with the skin when I send it to him? If not is there a file somewhere I can send with the data to keep the link?
If I just want the overview of the visitors, without node info, can I just add my global site tag to my HTML template index page?
Thanks,
Jim
1. Can I use placeholders in the event category? eg $(upt) Hope it is not a manual entry we have to do each time.
2. Will the skin configuration be saved for use in the next project or does it have to be re-entered each time?
2. It appears that the analytics is identifying individual nodes within the virtual tour. Does it also identify the virtual tour name so we can track total views of each of our virtual tour.
3. I have hired a processor and provided him my HTML template and skin. Will the skin configuration with the Google Analytics stay with the skin when I send it to him? If not is there a file somewhere I can send with the data to keep the link?
If I just want the overview of the visitors, without node info, can I just add my global site tag to my HTML template index page?
Thanks,
Jim
- EVerheggen
- Posts: 65
- Joined: Wed Feb 05, 2020 12:16 pm
- Location: Netherlands
- Contact:
Hi Jim,TrueView360s wrote: ↑Sun May 31, 2020 2:22 am
If I just want the overview of the visitors, without node info, can I just add my global site tag to my HTML template index page?
Until now I always added the Google Analytics code to the index.html page just before uploading to my server. That works fine to get the overview of visitors.
Erik
- EVerheggen
- Posts: 65
- Joined: Wed Feb 05, 2020 12:16 pm
- Location: Netherlands
- Contact:
Hi Martin,
Thanks for this great addition!
One question about the code in the Action Settings. I would like to see which info buttons are clicked.
I changed the first line, but what else has to be changed to see the title of the Point Hotspot (type Info)?
I know the placeholders list (https://ggnome.com/doc/placeholders-list/ ) but that is not of any help for this, isn't it?
Best regards,
Erik
Thanks for this great addition!
One question about the code in the Action Settings. I would like to see which info buttons are clicked.
Code: Select all
javascript:gtag('event', 'Info button clicked', {
'event_category': player.getVariableValue('UA_category'),
'event_label': player.userdata.title
});
I know the placeholders list (https://ggnome.com/doc/placeholders-list/ ) but that is not of any help for this, isn't it?
Best regards,
Erik
- Hopki
- Gnome
- Posts: 13185
- Joined: Thu Jan 10, 2008 3:16 pm
- Location: Layer de la Haye, Essex UK
- Contact:
Hi Erik,
In this case, you would use:
This will then display the Point Hotspots title.
In the Analytics you will see:
Info Hotspot Clicked => Hotspot Title
Regards,
In this case, you would use:
Code: Select all
javascript:gtag('event', 'Info Hotspot Clicked', {
'event_category': player.getVariableValue('UA_category'),
'event_label': player.hotspot.title
});
In the Analytics you will see:
Info Hotspot Clicked => Hotspot Title
Regards,
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/
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/
Thank you for the Analytics Component!! Very much appreciated.
Placeholders directly can not be used, but can use the Javascript equivalent for it.TrueView360s wrote: ↑Sun May 31, 2020 2:22 am Great addition. A few questions...
1. Can I use placeholders in the event category? eg $(upt) Hope it is not a manual entry we have to do each time.
$(upt) would be for example:
Code: Select all
player.getNodeUserdata('_master').title
The skin configuration is not saved, but if you always use the same ID you can store it as a default/initial value for the variable.2. Will the skin configuration be saved for use in the next project or does it have to be re-entered each time?
That is what we use the event category for. Additinally you can see the view count for the different pages.2. It appears that the analytics is identifying individual nodes within the virtual tour. Does it also identify the virtual tour name so we can track total views of each of our virtual tour.
You can store the values as variable initial values so that they stay with the skin.3. I have hired a processor and provided him my HTML template and skin. Will the skin configuration with the Google Analytics stay with the skin when I send it to him? If not is there a file somewhere I can send with the data to keep the link?
If you only care about the visitors then you can just ignore the events. The component also records just the regular visit. You can even remove the "node change" action that records the event.If I just want the overview of the visitors, without node info, can I just add my global site tag to my HTML template index page?
With the component, you don't have to modify the HTML page.
MfG, Thomas
Hey All,
fantastic to get GA now in the tours.
Due to DSGVO (German equivalent to GDPR) you'll need to get the opt-in from visitors to use GA, or am I wrong?
Therefore I put the consent-cookie-request before (linked in index.html) and changed the component-text to only load the gtag in case of opt-in. works amazing (feel free to ask if you're interested), BUT
due to 3rd-Party-Cookie-policies no tour fires events when hosted in iFrames. Therefore I'm trying to find out: how to you link the tour (if you offer hosting (keyword: cross-domain...)?
Thanks
Marco
fantastic to get GA now in the tours.
Due to DSGVO (German equivalent to GDPR) you'll need to get the opt-in from visitors to use GA, or am I wrong?
Therefore I put the consent-cookie-request before (linked in index.html) and changed the component-text to only load the gtag in case of opt-in. works amazing (feel free to ask if you're interested), BUT
due to 3rd-Party-Cookie-policies no tour fires events when hosted in iFrames. Therefore I'm trying to find out: how to you link the tour (if you offer hosting (keyword: cross-domain...)?
Thanks
Marco
-
- Posts: 1
- Joined: Mon May 18, 2020 4:04 pm
- Location: Saint-Petersburg, Russia
- Contact:
Good component! Thank you!
Have one question. Is it possible to assign an event for pop up menu which is by mouse right click on a canvas. I have here among selecting projections and full screen mode url to my website and I willing to know if somebody clicked it.
Thanks, Mike.
Have one question. Is it possible to assign an event for pop up menu which is by mouse right click on a canvas. I have here among selecting projections and full screen mode url to my website and I willing to know if somebody clicked it.
Thanks, Mike.
Is there a reference list like here https://ggnome.com/doc/placeholders-list/ to use the JS equivalent for the placeholders? Thanksthomas wrote: ↑Tue Jun 02, 2020 12:19 pm Placeholders directly can not be used, but can use the Javascript equivalent for it.
$(upt) would be for example:Code: Select all
player.getNodeUserdata('_master').title
The player function 'getNodeUserdata(id)' gives you a Javascript object containing the user data for the given node. ('_master' would be the id of the master node)
These are the properties of that object:
title
description
author
datetime
copyright
source
information
comment
latitude
longitude
altitude
heading
customnodeid
streetviewlink
tags
Regards,
Christoph
These are the properties of that object:
title
description
author
datetime
copyright
source
information
comment
latitude
longitude
altitude
heading
customnodeid
streetviewlink
tags
Regards,
Christoph