Zum Hauptinhalt gehen

Google Analytics code for multiple GCEM Sites

Kommentare

3 Kommentare

  • Malcolm Walker
    • Community-Manager
    Hi Raoul,

     

    It looks like your code runs the same Google Analytics functions regardless of the viewer that was detected.  Each branch is sending the "pageview" event, but there is no way for Google Analytics to know which Geocortex Viewer is associated with that pageview, to my knowledge.

     

    I'm not super familiar with the way Google Analytics works, but it looks like they have lots of options out there for tracking.

     

    The Viewer for HTML5 could be classified as a Single Page Application:

     

    https://developers.google.com/analytics/devguides/collection/analyticsjs/single-page-applications

     

    So, maybe give some of those instructions a try to track the viewer with Google Analytics.

     

    Regards,

     

    -Malcolm

     

     
    0
  • Permanently deleted user
    Raoul, 

     

    This is how we have ours setup.  We put the tracking code on the same index.html file and then I can check the specific site under Behavior-->Site Content--> All Pages

     

    _img_ alt="User-added image" src="https://latitudegeo--c.na53.content.force.com/servlet/rtaImage?eid=90760000000Grp2&feoid=Body&refid=0EM60000000Ujva" _/_img_

     

     
    0
  • Dan Giersz
    We do the same thing as Scott.  We created Segments with conditions based on the viewer URL. (Page contains "viewer=<viewername>")
    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.