Spectrum Technology Platform

  • 1.  Can we use Google Analytics in SSA 2020?

    Posted 12-03-2020 20:11
    Is it possible to use Google Analytics in SSA?

    It seems like all we need to do is to add the following but where should this go?

    <mat-expansion-panel-header class="mat-expansion-panel-header mat-focus-indicator ng-tns-c47-24 ng-star-inserted mat-expansion-toggle-indicator-before mat-expanded" role="button" id="mat-expansion-panel-header-0" aria-controls="cdk-accordion-child-0" aria-expanded="true" aria-disabled="false" tabindex="0"><mat-panel-title class="mat-expansion-panel-header-title">
    Global Site Tag (gtag.js)

    Copy and paste this code as the first item into the <head> of every webpage you want to measure.

    <!-- Global site tag (gtag.js) - Google Analytics -->
    <script async src="https://www.googletagmanager.com/gtag/js?id=G-VFH125CMY8"></script>
      window.dataLayer = window.dataLayer || [];
      function gtag(){dataLayer.push(arguments);}
      gtag('js', new Date());
      gtag('config', 'G-xxxxxxx');

    Which file should we change to put this into http://mydomain.com/connect/analyst/mobile/#?

    George Corea
    Atherton QLD

  • 2.  RE: Can we use Google Analytics in SSA 2020?

    Posted 09-08-2021 20:14
    This is important.
    I'm looking forward to other replies.

    Ayman Hamzeh
    Knowledge Community Shared Account

  • 3.  RE: Can we use Google Analytics in SSA 2020?

    Posted 09-21-2021 04:20

    Hi George


    It is possible to add the Google tags as you have described, and we are aware of customers in the UK who have done this. The tags can be added the main SSA index.html under the mobile folder. However, we do not officially support this approach since it requires manual editing of the html and any changes would not be retained on upgrade. If any issues occur the change would need to be reverted.


    I have asked our engineering team to provide an extensibility example that can add the Google Analytics tags via code which we will share. This would provide a solution that can be retained on upgrade and does not need editing of the html.

    Mustafa mustafa.ismail@pb.com
    Pitney Bowes Software Inc.