Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

Questions tagged [google-analytics]

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

Filter by
Sorted by
Tagged with
0 votes
1 answer
87 views

What is the right way to implement google_analytics with the eu_cookie_compliance and categories?

I'm having difficulty configuring eu_cookie_compliance with multiple categories on a website with Google Analytics tracking. The GA tracking depends on selection of one of the categories. When the ...
user avatar
0 votes
1 answer
71 views

Where to view Google Analytics "Track clicks on outbound links" results?

I am using Drupal's Google Analytics module 8.x-2.5. The module configuration has a check box for "Track clicks on outbound links", which I checked since the module was installed. However, I ...
user avatar
0 votes
1 answer
63 views

I cannot update because of Ubercart and Google Analytics module error

I tried updating my Google Analytics module today, but when I went to the update.php page I got this error: Unresolved dependency. Google Analytics (Version !=7.x-2.4 required) Google Analytics for ...
user avatar
  • 13
1 vote
0 answers
62 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 ...
user avatar
0 votes
0 answers
59 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....
user avatar
0 votes
1 answer
279 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 ...
user avatar
  • 1,230
0 votes
1 answer
286 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 ...
user avatar
0 votes
1 answer
193 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).
user avatar
  • 1
0 votes
1 answer
471 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 ...
user avatar
  • 2,790
2 votes
1 answer
88 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 ...
user avatar
  • 1,360
-2 votes
2 answers
914 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.
user avatar
0 votes
1 answer
117 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 ...
user avatar
1 vote
0 answers
58 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 ...
user avatar
  • 11
1 vote
1 answer
425 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 ...
user avatar
  • 616
1 vote
1 answer
474 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 ...
user avatar
  • 408
0 votes
1 answer
1k 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 ...
user avatar
  • 243
1 vote
0 answers
38 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", ...
user avatar
  • 596
1 vote
1 answer
445 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 ...
user avatar
0 votes
1 answer
529 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 ...
user avatar
0 votes
1 answer
40 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 ...
user avatar
  • 596
0 votes
1 answer
260 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 ...
user avatar
  • 107
0 votes
1 answer
138 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 ...
user avatar
  • 181
1 vote
2 answers
882 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?
user avatar
1 vote
0 answers
20 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 ...
user avatar
0 votes
1 answer
254 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&...
user avatar
  • 181
1 vote
1 answer
43 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 ...
user avatar
1 vote
0 answers
272 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" ...
user avatar
-1 votes
1 answer
135 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 ...
user avatar
  • 9
2 votes
1 answer
2k 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' ...
user avatar
  • 546
0 votes
1 answer
208 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 ...
user avatar
  • 2,091
1 vote
0 answers
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 ...
user avatar
1 vote
0 answers
206 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 ...
user avatar
1 vote
1 answer
182 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 ...
user avatar
  • 13
0 votes
0 answers
55 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 ...
user avatar
  • 449
0 votes
1 answer
254 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 ...
user avatar
1 vote
1 answer
49 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/...
user avatar
4 votes
1 answer
658 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 ...
user avatar
0 votes
1 answer
150 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 ...
user avatar
  • 2,423
1 vote
0 answers
92 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 ...
user avatar
  • 243
1 vote
1 answer
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 ...
user avatar
  • 1,761
1 vote
0 answers
29 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/...
user avatar
  • 125
0 votes
1 answer
70 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 ...
user avatar
0 votes
1 answer
290 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 ...
user avatar
  • 258
4 votes
2 answers
190 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 ...
user avatar
  • 321
1 vote
0 answers
42 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 ...
user avatar
  • 918
2 votes
1 answer
1k 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 ...
user avatar
  • 181
1 vote
3 answers
315 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 ...
user avatar
  • 1,074
1 vote
2 answers
270 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 ...
user avatar
  • 2,788
1 vote
1 answer
260 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 ...
user avatar
  • 11
2 votes
1 answer
862 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/...
user avatar
  • 21