This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Gosso.Web.Business.Services; | |
using EPiServer.DataAbstraction; | |
using EPiServer.PlugIn; | |
using EPiServer.Scheduler; | |
using EPiServer.ServiceLocation; | |
//Episerver Schedual job to update the cache with fresh data from Google Analytics | |
namespace Gosso.Web.Business.Jobs | |
{ | |
[ScheduledPlugIn(DisplayName = "Get Statistics from Analytics (api v4)", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function epiGat(settings) { | |
if (settings.downloads || settings.external || settings.mailto) { | |
var isinternal = new RegExp('^' + window.location.protocol + '\/\/' + window.location.host, 'i'); | |
function addEvent(obj, type, fn) { | |
if (obj.addEventListener) | |
obj.addEventListener(type, fn, false); | |
else if (obj.attachEvent) { | |
obj['e' + type + fn] = fn; | |
obj[type + fn] = function () { obj['e' + type + fn](window.event); } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using EPiServer; | |
using EPiServer.Cms.UI.AspNetIdentity; | |
using EPiServer.Core; | |
using EPiServer.Logging; | |
using EPiServer.Notification; | |
using EPiServer.ServiceLocation; | |
using Microsoft.AspNetCore.Http; | |
using Microsoft.AspNetCore.Identity; | |
using Microsoft.AspNetCore.Mvc; | |
using Newtonsoft.Json; |
OlderNewer