Skip to main content

All Questions

2 votes
0 answers
2k views

Include Google tag manager script tag in a js file

I am working on js file, within which I want to call google analytics methods. I only have access to the js file(s) and not html pages. I can create a new js file if need be. <script async src="...
user3861559's user avatar
2 votes
1 answer
3k views

How to handle User Audit Logs (or other frequent client-side actions) in a Web App?

Architectural question here. I have a Web App (HTML5/Javascript/AngularJS) which logs user activity into a Backend DB via Web API. This function runs quite frequently on events such as Menu and button ...
kob490's user avatar
  • 3,317
0 votes
1 answer
662 views

Google tag manager with AngularJS - how to access variables declared in the head section of Index.html from Angular component

In order to implement GTM (google tag manager) in my angularJS 1.5 project, I have declared dataLayer in head section of index.html as below. <script> dataLayer = []; </script> And ...
Yespie's user avatar
  • 192
2 votes
1 answer
675 views

Google Analytics will not track each page with ui router

EDITED (5/25/2018): I still haven't got a solution to make this work. I use the code based on https://dev.to/jordanirabor/using-google-analytics-with-angular-930 This is my first time using GA and I ...
Christian Luneborg's user avatar
0 votes
2 answers
497 views

Get Google Analytic View Id

I have JavaScript function to return list of google analytics account names for a given email address. I want to get view Id by giving account name or account Id.Is there any API or way to do this?
code8's user avatar
  • 103
2 votes
0 answers
406 views

Script for angular-google-analytics is not loading

I try to use angular-google-analytics for tracking traffic. I'm using angular 1.4.8. Version of angular-google-analytics is 1.1.9. I included it in my bower.json file and linked script in my template....
Marek Czyż's user avatar
0 votes
0 answers
311 views

AngularJS Overrides GTM events

We need to track clicks in some buttons inside a body owned by a ng-controller. The elements are not created by directives, before the angular initialzation, the HTML is something like: <html> ...
Thiago Melo's user avatar
  • 1,187
2 votes
1 answer
2k views

Google analytics 'not set' value as browser version?

Similar question here, but my case is different. I have added google analytics script to my project(angular4) and I am getting all information except for browser information. I can see 'not set' ...
Jamsheer's user avatar
  • 3,773
5 votes
2 answers
2k views

Integrating AngularJS apps with Google Analytics

Please note: I did find this very similar question but if you read it the person asking it was actually using Ruby/Rails as their backend, which doesn't apply to my situation at all. I'm building an ...
smeeb's user avatar
  • 29.7k
2 votes
0 answers
90 views

angularitics is not able to send uid in the request parameters after setting $analytics.setUsername( 'xxxx' )

I have implemented angularitics to get information about event and page visits on my google analytics panel. I am trying to create a user-id view in the analytics panel. I have followed all the ...
Parul Shukla's user avatar
0 votes
1 answer
158 views

How to set siteSpeedSampleRate value in google analytics using angular js

I have used this link https://github.com/revolunet/angular-google-analytics to add a google analytics to my Angularjs 1.5 project but I didn't find a way to set siteSpeedSampleRate.I have added ...
Akash Rao's user avatar
  • 928
0 votes
1 answer
2k views

Google Analytics opt-in keeps opt-out

My code does not allow me to opt-in back to Google Analytics. What would be the way to set again the Google Analytics cookie to opt-in or how to remove the state of opt-out to be again opt-in? The ...
karadayi's user avatar
  • 2,279
0 votes
1 answer
568 views

google analytics embed API without google login to google analytics account

I am trying to implement 'Google Analytics' where the resulted data should be imported into my site as a separate page. When I use embed API, it asks for google analytics login before displaying the ...
Ganesan Mani's user avatar
0 votes
1 answer
53 views

Adding Google Content Experiments code to a single page of Angular 1 application

I have Google Content Experiments code which looks like this: <script type="text/javascript"> function utmx_section(){}function utmx(){}(function(){var k='1234566789-0',d=document,l=d....
Victor Marchuk's user avatar
1 vote
2 answers
577 views

Unable to make work angular-google-analytics in Ionic. Aborted execution due to exception

I am trying to add google analytics to an Ionic project. I am trying with angular-google-analytics by @jujule For testing purpose I just created a sidemenu project with Ionic CLI: ionic start ...
Mikel's user avatar
  • 6,232

15 30 50 per page
1
2 3 4 5 6