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
// you also have to add the JS from the URL http://www.googleadservices.com/pagead/conversion_async.js in the header, | |
// so the function window.google_trackConversion is available | |
angular.module("lrSiteApp").config(function ($httpProvider) { | |
var httpinterceptor = function () { | |
return { | |
response: function (result) { | |
var isCreateReq = result.config.url.match(/site-users\/create/) !== null; | |
if (isCreateReq) { | |
window.google_trackConversion({ |