Analytics: Allow heat maps to be exported with PDF reports

Brian Foor 2 months ago in Analytics • updated by Stéphane Hamel 2 months ago 1

If possible, please allow for heat maps to be included when exporting reports to PDF format.

Stéphane Hamel 2 months ago

The PDF export feature seems to be generated from the server-side, so I can't modify it (at least, not without extensive research and hacking into the depths of Google!). Using the browser ability to save the page as PDF would include all the artefacts... and no heatmap either (I would have to modify the CSS stylesheet for print). You next best alternative is to do a screen capture of the region of the page you want...


Refund transaction sets transaction_revenue to zero

Anders Ekelund 3 months ago in Analytics • updated 3 months ago 3


I had an issue when trying to refund transactions in Analytics.

I could produce the request and copy to clipboard. 

So far so good.

But when reviewing the request I found that the transaction revenue parameter (tr) was set to zero (0).

The ts and tt parameters where negative as expected.

I also tried to do a refund without debug mode and the problem was the same. Transaction revenue was zero.

I assume this could be a bug since this article told me that the revenue parameter should be negative equivalent of the original transaction.

There was no error or warning in the chrome debug console.

Hope this helps and thanks for a great addon!

Best regards



Refund transaction not working when HideMe is disabled

Anders Ekelund 3 months ago in Analytics • updated by Stéphane Hamel 3 months ago 4

Hi Stéphane!
First let me say that this feature is awesome. Just what i was looking for.

I think I found a bug though.

When I uncheck the "Hide Me" feature of the addon (for Analytics) It will fail to authenticate when I try to refund a transaction. The chrome console error points to that you are trying to get the UA-id from the HideMe element and when it is not there it fails.

From console:

From galaxy.js:

Cheers and thanks again for a great feature!


    Stéphane Hamel 3 months ago

    I fixed this - and I suspect this might have had a side effect on the other bug you reported. When building the revert/refund request, it does a GA Reporting API request to retrieve the transaction details. If the UA wasn't right to do the request, all amounts were likely 0 or there was a JS error and building the refund/revert request failed.


    Google Sheets Export - Not Exporting Segment or Filters

    TomScogg 4 months ago in Analytics • updated by Stéphane Hamel 4 months ago 3


    I've been using the Google Sheets Export option for the first time and I've noticed it does not include the segment i have applied or the filters that I've set in the report when I paste over to Google Sheets

    Is something broken or have I not exported it correctly?


    Stéphane Hamel 4 months ago

    Good catch! I fixed it, and at the same time I found that some segment IDs listed in the GA interface do not actually match the reporting API segment ids.

    For example, All Users in the GA interface is "builtin1" and corresponds to "gaid::-1" in the reporting API, which is easy to handle. But Bounced Sessions is "builtin27" in the GA interface, but is "gaid::-19" for the reporting API... go figure!

    This will be fixed in the next release, coming up April 5th.


    Google Analytics export tool is not responding

    Ethan Bartolic 4 months ago in Analytics • updated by Stéphane Hamel 4 months ago 5

    The custom export options Da Vinci provides are not responding. The mouse does not indicate that these are clickable elements and when clicked nothing happens. This is true of built-in and custom reports. I have tried disabling the feature and disabling Da Vinci.

    Stéphane Hamel 4 months ago

    I just checked and the filters are there for dimensions and metrics, for Reporting API v4 and GA Spreadsheet addon. I also recorded a quick demo here: https://www.useloom.com/share/cb8100a272a0480788d4ace47f079e01

    While doing my test, I noticed the condition for metrics was there but with the wrong condition - for example, it had METRIC_GREATER_THAN instead of just GREATER_THAN. I just fixed that and it will be ok in the next release.

    If you still have issues, please check if there are any errors in your browser JavaScript console, or more info about the query you are trying to build (which report, which segments, filters, etc.) and I will see if I can reproduce it.


    Hide me does not work

    Paul H. 4 months ago in Analytics • updated 3 months ago 9

    I'm running into a problem that I cannot resolve and I can't find a posted description of the problem or the solution anywhere. I've my copy of the DaVinci in Google Analytics Tracking is set to "OFF" (Blocked).  When going to my website I see myself being tracked on GA "Real-time."  If I close the browser tab that I used to opened my website I continue to show up as a "real-time" user past the 30 second delayed response time.   If I close my Google Chrome browser, open it and the go directly to GA (nothing else), I'm still tracking as a real-time user. (?????)   The only way I found to remove myself from being tracked in real time on GA is to reboot my laptop. (????!!!!)   Got any ideas what could be causing this false real-time tracking??  Thank you....

    Stéphane Hamel 4 months ago

    I just checked again - worked fine for me. I also did a little Loom screen recording to show how it works/what happens: https://www.useloom.com/share/2781aa4b0a254c76a55ceeaa125598db

    • make sure you are NOT in Incognito mode - to respect user's privacy, Da Vinci doesn't work when the browser is in Incognito
    • does the Da Vinci Tools icon in the browser toolbar show a little red X?
    • if you can share your website, I can try to see if for some odd reason the GA call isn't being detected (you can email me@StephaneHamel.net to share the details)
    • if you open the browser JavaScript console, are there any errors?
    • if you enter chrome:extensions in your browser URL bar, it will show all your extensions and you can click on the background page for Da Vinci Tools - you will see messages like this:
    Analytics.HideMe: Set to /id=(UA-570276-22)/
    Analytics.HideMe: Blocked POST request matching /id=(UA-570276-22)/
    Analytics.HideMe: Blocked GET request matching /id=(UA-570276-22)/
    Analytics.HideMe: Set to /id=(^$)/

    Transaction refund / reverse not working ?

    Christopher Guillou 6 months ago in Analytics • updated by Stéphane Hamel 3 months ago 24

    When I try to cancel a transaction with the (awesome) new function I keep going through the Google Authorization every time process with no effect.

    Am I missing something ?

    Thanks !

    Stéphane Hamel 3 months ago

    I have solved this problem by simplifying the way the data is retrieved and the measurement protocol call is created. This will be available in the next release, coming up very shortly.

    Also, I have introduced the ability to refund/revert a single item of a transaction.

    Note those features will eventually be available only to subscribers.

    Not a bug

    unable to deselect data range comparison in Google Analytics

    Esben Rasmussen 7 months ago in Analytics • updated by Stéphane Hamel 5 months ago 4

    In google Analytics I had selected a data range comparison with a previous period. When I wanted to click the checkbox to deselect this date comparison I was now unable to do so. Clicking it resulted in the date selector "window" closing.

    I tried setting the permissions for De Vinci Tools to only be allowed to run, when I click the plugin in Chrome. Then I reloaded the page and tried again (with Davinci Tools now disabled). This time it worked - I could remove the data range comparison in Google Analytics.

    Stéphane Hamel 5 months ago

    I spent a fair amount of time drilling into this problem - assuming it was caused by Da Vinci. Actually, it's not. It seems to be a random problem but I was able to reproduce it when having an active "Compare To" and drilling into a report entry. On the drilled-down report I'm unable to deselect the Compare To flag. Refreshing the page seems to solve it - but maybe not always.

    I have recorded a quick demo of this problem: https://www.useloom.com/share/7109439d65ea42e9a4c80a86cc5077d7

    If you face this problem again, please use the "Send Feedback" at the bottom of the GA interface to report this problem to the Google team.


    Tab-level filters in GA custom reports

    Dan Grainger 11 months ago in Analytics • updated by Stéphane Hamel 9 months ago 1

    Rather annoyingly, adding a filter to a GA custom report means that it applies to all tabs in said report. Would be great if different filters could be applied per tab rather than this default one-size-fits-all approach.


    Most GA features not showing up

    Stéphane Hamel 1 year ago in Analytics • updated 1 year ago 1
    Stéphane Hamel 1 year ago

    Fixed in Polymath 2018.4.17 - the GA UX was changed and the main reporting area is now an IFRAME. Adapted visibility rules accordingly.