Questions tagged [google-analytics]

Use it for questions about Google Analytics integration with Drupal website.

Filter by
Sorted by
Tagged with
1
vote
0answers
54 views

How to show the scroll percentage of the Scroll Depth Analytics module [closed]

I have installed & configured the Scroll Depth Analytics module on my website. I get the output as shown in below image: I want to get the page title in the event label field so that I can see ...
0
votes
0answers
50 views

Drupal Content type Booking Page

Currently, I have a single booking page (Booking content type) in Drupal. For example www.xyz.com/booking and booking page itself is handling error and confirmation page and falls on same URL www.xyz....
0
votes
1answer
236 views

How to anonymize IP logging by google analytics?

I'm trying to achieve the implementation of: gtag('config', 'UA-xxxxxxx-x'); to gtag('config', 'UA-xxxxxxx-x', { 'anonymize_ip': true }); How to do this in D7? I tried to add it to advance ...
0
votes
1answer
171 views

How to remove Site Name from page title

I'm using Omega 7.3x to theme my site, and at current, all the page headers are [Page Title] | [Site Name] but I'm trying to bring back google analytics reports into the site so the admin can see a ...
0
votes
1answer
66 views

Visitor Counter

Is there a way of finding out the number visitors of a drupal website, where they go to and where they are from. Google Analytics come to mind (or if any other module can do a better job).
0
votes
1answer
310 views

How to change the page path being reported to Google Analytics as a pageview

I would like a certain page path to be reported as a different page path, IF it has a hash on it. /page-name#hash-name should be reported as /page-name/hash-name Thing is that with the Google ...
2
votes
1answer
73 views

How to configure Views to determine pages never visited by anonymous users? [closed]

I want to find out and list the pages that never get visited by anonymous users. Google Analytics just shows pages that are visited at least once. How can I configure views to create a kind of flag ...
0
votes
2answers
509 views

How do I add UTM sources to RSS links?

I want to add UTM sources to RSS links. I have already tried to change the link display and modify the URL, but so far I am unable to see any sort of tracking in Google Analytics.
0
votes
1answer
64 views

How can my JavaScript-function access the Web Property ID from the Google Analytics module?

I use the GoogleAnalytics module in most of my projects and have often the same issue: Due to my countries policy requirements, every user has to be able to deactivate google-analytics cookies. To do ...
1
vote
0answers
46 views

Add Tracking Code in Gmap view ?

I have a view white a gmap and foreach Marker a link with tel number. And I want add tracking code on this link. I add class on my link like this: <div class="gmap-popup"> <h3>Marker ...
1
vote
1answer
299 views

How to get Google Analytics to track progress through a multi-page Drupal Webform?

I've got a couple of complex multipage webforms, and want to track progress through these forms so that I can how much time users are spending on each page, and whether there are particular pages that ...
1
vote
1answer
317 views

What is causing duplicate google analytics?

I am currently using google analytics module in drupal however when i check With Tag assist extension is shows that i am making two calls to google analytics using the same analytics key. I check my ...
0
votes
1answer
779 views

Google Analytics Reports: how to remove pageviews for Top Pages and add published date

I've installed google analytics reports to be able to see the most viewed nodes of my website. I were able to add the Top Pages view to my home page but i wanted to know how can i : add published ...
1
vote
0answers
36 views

How to add a javascript snippet to track a 2nd Google Analytics account? [duplicate]

In my settings for Google Analytics I need to add a javascript snippet in the "after" section, to track a second account (the main account works fine). I added this: ga("create", "UA-xxxxxxxx-x", ...
1
vote
1answer
374 views

Downloading, and loading Google analytics script locally and daily with Drupal Cron

I'm using Drupal Google Analytics module for some time; It works perfectly and gives me the data I need. Yet, since instilling it, I get the following notification on Google Pagespeed Insights: Do ...
0
votes
1answer
472 views

How to put google analytics script PHP to my sites?

I apply a Google analytics service. I got a code. <script> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new ...
0
votes
1answer
37 views

Does Boost work together with Google analytics?

This may be a stupid question, but can the Google Analytic module still track users and count page visits etc. if I use Boost module to speed my site up? Is there anything I should be aware of? Are ...
0
votes
1answer
145 views

Why does the Google Analytics module restrict uid?

When I try to insert the [current-user:uid] token for a custom dimension in the Google Analytics module, it gives me an error that this is a forbidden item. However, reading through the GA Terms of ...
0
votes
1answer
105 views

What is the best way to track unique and overall clicks at my newsletters

I send newsletters from my Drupal-7 website and I want to track how many times the links where clicked and how many unique click events I had. I use Simplenews module and I use some basic GA utm ...
1
vote
2answers
572 views

How to add two separate GA accounts in one Drupal site

I have one Drupal site and I am using google analytic module for add ing GA account? Now client want to add two separate accounts. UA-87XXX-XX UA-87YYY-YY How can I add these two accounts?
1
vote
0answers
19 views

Google Analtics drupal [closed]

I am having multiple reports in google analytic. I have setup the configuration so that i receive the PDF for all the report in one email.My requirement is that i need all the reports in one PDF .Is ...
0
votes
1answer
163 views

Track Simplenews newsletter open per user

I send newsletters from my Drupal 7 site, using the Simplenews module. I'm using this tracking code, but it isn't tracking uniqueness: <img src="http://www.google-analytics.com/collect?v=1&...
1
vote
1answer
42 views

Send 'compare product' action to Google Analytics

I am having a products page in my site. In that I have a comparison functionality. Now I want to send data to google analytics so that Admin can later on check which products were compared. I have ...
1
vote
0answers
136 views

Track Sessions with Product Views

Commerce Google Tag Manager module provides following rule actions: Send "Add to Cart" event to google analytics via GTM Send "Remove from Cart" event to google analytics via GTM Send "Checkout" ...
-1
votes
1answer
126 views

How can I see anonymous visitors in real time Google Analytics? [closed]

I can't see anonymous visitors in real-time in Google Analytics, I can only see registered users. But I need see all visitors in Real-time>Overview , including anonymous visitors. In the Google ...
2
votes
1answer
1k views

How to collect and display visit statistics for a Views page?

I wonder if someone can point me in the right direction for the following: I'd like to collect and display statistics for a Views page. I wonder what's the best approach for collecting basic 'hit' ...
0
votes
1answer
178 views

Drupal add google analytics event tracking query strings to url

I have Drupal 7 site for sending the newsletter. I am using simplenews module for sending newsletter. I want to add google analytics tracking query strings to all links in the newsletter so that it is ...
1
vote
0answers
39 views

Google analytics profile not retrieved to my site

I'm using google analytics counter. I have Google analytics account and created OAuth2 credentials. My site got authenticated to Google analytics API after adding credentials to my site. But no Google ...
1
vote
0answers
183 views

Google PageSpeed Insight problem with linkid.js

I spent weeks with optimising my site. One anoying problem has left: http://www.google-analytics.com/plugins/ua/linkid.js (60 min) how can I change the browser caching period or caching this file ...
1
vote
1answer
175 views

adding adwords tracking to a Click instead of a page load using goog_report_conversion

I am using the simple subscription module to subscribe users to a newsletter and wish to track clicks of subscribers. Is there an easy way to call the goog_report_conversion() function when someone ...
0
votes
0answers
52 views

Is there a way to add JS to a page node Head tag directly from the page editor?

I am using Google Experiments for split testing and I need a different script for each page. Adding a different script per page can be tedious if there is no way to add the script from the page ...
0
votes
1answer
109 views

Hook on product page view in Drupal commerce

I want to run page view event from tracking with Google Analytics/piwik on Drupal commerce using my own Module. Which hook can i use in Drupal commerce to run my own code? I just need to find the ...
1
vote
1answer
46 views

How do I get the Google Analytics module settings to show up? I am unable to configure

I have installed the Google Analytics module and enabled it. But I am unable to configure the settings for it. More specifically when I click on the configuration gear it just brings me to Home/...
4
votes
1answer
593 views

Commerce Analytics not working

On my website we don't get any e-commerce tracking in Google Analytics. Usual analytics works fine. How do I troubleshoot? Have sold around 200 products since installing & configuring the Google ...
0
votes
1answer
145 views

Can't use Google Analytics Statistics Module - Impossible to login

I'm trying to use Google Analytics Statistics module but it won't accept my login credentials. I know they're correct because I tried them independently multiple times on the same browser to login to ...
1
vote
0answers
82 views

Google tag manager, no element id

There is Google tag manager (GTM) on the site I am working on but when we inspect the navigation with the GTM there is no element id. At this point i don't know where to begin. Do i rework the GTM in ...
1
vote
1answer
1k views

Integrating Video.js with Google Analytics

I'm wondering if anybody has gotten the Video.js module/library to play nicely with Google Analytics? I'm trying to do some integration via this plugin (https://github.com/mickey/videojs-ga), but am ...
1
vote
0answers
28 views

fuzzysearch and google analytics

I am using fuzzysearch module on Drupal 6, and his integration with Google Analytics. Regular google analytics query is working if I put query such search/node. I've tried query like fuzzysearch/...
0
votes
1answer
61 views

Google Analytics Reports with Background Process module (non-blocking http request)

Using Google Analytics Reports module latest version 7.x-3.0-beta2. I wanted to make this module to make requests in non-blocking fashion. Standard drupal makes it blocking fashion, which slows things ...
0
votes
1answer
241 views

Google Analytics Events Tracking Module not working out of the box [closed]

I was super excited to learn about the google_analytics_et module. I downloaded it and then uploaded to my staging site and enabled the modules like that mentioned. I then clicked around and notice ...
4
votes
2answers
175 views

Create a block Most popular content using google analytics

Can anyone explain how to create a block of most popular contents using google analytics. I know about the modules Google Analystics Statistics and Most Popular but there is no good documentation ...
1
vote
0answers
41 views

Google Analytics to sort by amount of traffic in the last 24 hours only

I am using Google Analytics Counter at the moment to sort the content by traffic (in Views). However, at the moment Google Analytics Counter only supports Pageview Total which is the total views (all ...
2
votes
1answer
929 views

Google Analytics configuration setting for Drupal multisite (domain and submain)

I am working on a Drupal mulsite project (using single database) and using Google Analytics module for this. I have follow the below steps for GA configuration: Created a domain name example1.com ...
1
vote
3answers
287 views

Why cant I configure or remove this module?

I was trying to figure out Google Analytics and installing it broke my site so I uninstalled it. Now I have reinstalled it, There is no link to configure it and the configuration page isn't even ...
1
vote
2answers
229 views

Google Analytics Module: Sub Domains

I am using a Drupal Multiple Site (several sites running on 1 Drupal installation). Each site is part of a subdomain. For example: mysite.com store.mysite.com blog.mysite.com Each site has its ...
1
vote
1answer
256 views

How to add google analytics code for onclick functions in drupal 6

My requirement is that, i need to my site to be tracked when i click on categories, menus, submenus, send mail button and shopping carts. Need to add onclick function for each tags and that onclick ...
1
vote
1answer
765 views

Add Google Analytics to track a button press

I have the Google Analytics module installed with Drupal 7. On a page, how would I track the press of a button with id "myButton". There's a great example here: https://developers.google.com/...
1
vote
2answers
2k views

How to implement this event tracking to google analytics module

I need to implement this event setTimeout('pageTracker._trackEvent(\'NoBounce\',\'NoBounce\',\'Over 30 seconds\')',30000); with the Google Analytics event tracking module, I do not understand how to ...
1
vote
2answers
2k views

Is it possible to leverage browser caching?

I have ran a site through Google Page speed insights and one of its recommendations is to leverage browser caching for https://www.google-analytics.com/analytics.js. Is this possible on a Drupal site?...
0
votes
1answer
385 views

Google Analytics custom dimension for anonymous/authenticated users

I use Drupal 6 and Google Analytics module. I'd like to have custom dimensions to add segmentation for anonymous/authenticated users. I have added a custom dimension with [user-role-name] token. But I ...