Configuring Episerver.GoogleAnalytics

Vote:
 

Hello,

I have two questions about the add-on:

1. Is it possible to somehow get the Tracking ID which is used by the add-on from the appSettings?

2. Is it possible to add the Google Analytics widget to editors' widget panel automatically without the editors doing anything extra?

#248824
Feb 18, 2021 9:45
Vote:
 
  1. You should be able to get the setting using EPiServer.GoogleAnalytics.Services.SettingsRepository
  2. Use an IViewTransformer following https://world.episerver.com/forum/developer-forum/-Episerver-75-CMS/Thread-Container/2018/5/gadget-automatically-added-for-all-users/ should allow you to add it automatically
#248830
Feb 18, 2021 10:47
Vote:
 

Thank you Scott! These are great resources.

#248837
Feb 18, 2021 12:33
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.