angulartics-google-analytics | Google Analytics plugin for Angulartics | Plugin library
kandi X-RAY | angulartics-google-analytics Summary
kandi X-RAY | angulartics-google-analytics Summary
Google Analytics plugin for Angulartics.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Destroys a classic command
- Dispatch a generic command .
- apply a single log event into an API call
- Extract dimensions and return object properties
- Detect for Universal Analytics SDK
- Detect if the plugin is not supported .
- Gets the page path
angulartics-google-analytics Key Features
angulartics-google-analytics Examples and Code Snippets
Community Discussions
Trending Discussions on angulartics-google-analytics
QUESTION
I'm working on an Angular (1.6.8) app in which we've implemented the Angulartics library in combination with Google Analytics and Google Tag Manager extensions. This is all working quite well when I follow the instructions that are provided.
But we seem to have a bit of a special situation, the application that we're building is going to be used by multiple people, and based on who is visiting we fetch user settings from our api (using url parameters to know who is visiting at that time).
These users can manage their settings in a different Angular app, it's in this second app that they provide us with they Tag Manager tag, and their Analytics code.
Now comes the hard part (for me at least), Google Tag Manager requires a script tag in the head of our html, but at that time the user settings have not been loaded from our api yet, so we can't provide Google's script with the correct Tag Manager tag (this format: GTM-XXXXX).
Does anyone know of a way to load these scripts correctly when we have dynamically loaded tracking codes? Or is this just not possible?
Thanks for anyone who can provide some insights.
...ANSWER
Answered 2018-Jul-05 at 11:22Alright it's been a while and I've figured out a solution that does the job (a while ago), I'll display how I got there in case someone else stumbles upon my question.
It ended up being quite simple, I have the following in my html
QUESTION
I'm trying to use webpack-hot-middleware to hot reload the modules of my application. I'm using webpack-dev-middleware as well.
Here is my setup.
package.json
...ANSWER
Answered 2017-Jun-26 at 06:36It should work if you follow the instructions in the fine manual, which in your case would translate to something like this:
QUESTION
I am using Angulartics and Angulartics Google Analytics [1] to track user flow in an angular page. Tracking events works well. Also tracking pageviews is automatic and works. However in Google Analytics dashboard I can not see the anchor part of the url.
The tracking requests look like this:
...ANSWER
Answered 2017-May-16 at 12:15I did work arround it by disabling the built-in page-views and tracking in the stateChangeSuccess event handler like this:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install angulartics-google-analytics
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page