Jump to content
Wanze

ProcessGoogleAnalytics

Recommended Posts

I have been using this module for some years. Every now and then one of my sites is loosing the Google authentication of the module. I have to authenticate again for the module to start working again. Has anybody seen this kind of problem and what could cause the need to reauthenticate?

Share this post


Link to post
Share on other sites

@Ipa I've been using it for years too (on one site) and it's been AOK, no reconnect needed, sorry that doesn't help much :/

Share this post


Link to post
Share on other sites

Hi @Wanze, I'm doing a 2.7 site (that can't currently go to 3.x), do you think your GA module will become 2.7 (or 3.x?) compatible one day? Tks again for this great module ^_^ Cheers, -Alan

Share this post


Link to post
Share on other sites
On 19/08/2016 at 8:59 PM, alan said:

Hi @Wanze, I'm doing a 2.7 site (that can't currently go to 3.x), do you think your GA module will become 2.7 (or 3.x?) compatible one day? Tks again for this great module ^_^ Cheers, -Alan

I just integrated this module in a ProcessWire 3.0.30 project and it works.

  • Like 3

Share this post


Link to post
Share on other sites

Hi,
sorry for the noobie question, but how do I install this module in 2016?
I can't find anything in the Google Console.

Thanks!

Share this post


Link to post
Share on other sites

Hi,

I just tried to install this module in ProcessWire 3.0.44 and everything works fine to the point where i have to log in with google and authenticate. Right after that step comes the following error: Could not fetch the accessToken

Is this a problem with the current Version or did I miss something?

I hope anyone can help to make this great addon working.

Thanks in advance!

  • Like 1

Share this post


Link to post
Share on other sites

The Google api console is changed,

in follow the installation instructions, but because some things are changed is there probably a setting i in the API console i missed. The Analytics API is activated in the API console.

In the module in processwire i can autenticate, but see only older projects i made in the api console, not the new just activated project.

 

Share this post


Link to post
Share on other sites

@Wanze Could you please add an icon to the module? Cause in mobile menu it doesn't look good without an icon.

Inside getModuleInfo function add this: 'icon' => 'bar-chart'. Thanks.

mobile-menu.jpg

Share this post


Link to post
Share on other sites

Is this module still be maintained?

btw, this module seems to work on the latest PW version, but I can't install on a https site... PW keeps logging me out.

Share this post


Link to post
Share on other sites
7 hours ago, videokid said:

Is this module still be maintained?

btw, this module seems to work on the latest PW version, but I can't install on a https site... PW keeps logging me out.

The latest update of the module was on 1 April 2014. My above simple request to add a missing icon hasn't fulfilled yet! Maybe @Wanze isn't available. I'm using the module on both PW2 & PW3 with https and it's working fine.

You can install a module with 3 methods:

1. Add Module From Directory
2. Add Module From URL
3. Add Module From Upload

Go to Admin > Modules and click on the tab "New" to check all the methods.

  • Like 1

Share this post


Link to post
Share on other sites

Hey guys, I'm sorry for currently not finding the time to maintain the module. I think it should still work with ProcessWire 3, at least I'm using it on one site running on PW 3.

@PWaddict

If you find time, could you send a pull request for the icon? Thanks :)

Share this post


Link to post
Share on other sites
32 minutes ago, Wanze said:

Thanks, merged :)

Nice! Do you have to change your module version from 1.2.1 to 1.2.2 to appear on ProcessWire Upgrades?

  • Like 2

Share this post


Link to post
Share on other sites
On 1/4/2017 at 12:23 PM, Tobi C. said:

Hi,

I just tried to install this module in ProcessWire 3.0.44 and everything works fine to the point where i have to log in with google and authenticate. Right after that step comes the following error: Could not fetch the accessToken

Is this a problem with the current Version or did I miss something?

I hope anyone can help to make this great addon working.

Thanks in advance!

@Tobi C. I had the same issue.

After I checked the "Revoke Authentication" button in the settings of the GA-Module I finally saw the drop-down with the domains and everything is working now.

Not sure what caused the problem...but hey it's working now.

Awesome module @Wanze and greetings from Switzerland ^_^

Share this post


Link to post
Share on other sites

On 25 May the Data Retention will take effect on Google Analytics.

If I understand correctly the module reads aggregated data and it will not affected by the Data Retention. Can someone please confirm it?

Share this post


Link to post
Share on other sites

I'm currently running PW 3.0.98 with Google Analytics 1.2.1 and confirm that it still works.

The url for Google API Credentials is https://console.developers.google.com/apis

Share this post


Link to post
Share on other sites

Hi,

Everything went fine installing this module, but after completing the proces it doesn't find my google-account.
Anyone else out here who had the same problem or knows a fix?

Thanks in advance...

Schermafbeelding 2018-09-06 om 16.59.52.png

Share this post


Link to post
Share on other sites
On 9/6/2018 at 5:07 PM, joris_ross said:

Hi,

Everything went fine installing this module, but after completing the proces it doesn't find my google-account.
Anyone else out here who had the same problem or knows a fix? 

Thanks in advance...

Schermafbeelding 2018-09-06 om 16.59.52.png

You have to enable the Analytics API in the Google console

 

Share this post


Link to post
Share on other sites

Hi, everyone.

I have the same problem. The module cannot find any accounts.

I've checked the Analytics API is enabled in Google console.

I've got Google Analytics gtag and module found the account.

Edited by gizomo
Problem was solved.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By adrian
      Tracy Debugger for ProcessWire
      The ultimate “swiss army knife” debugging and development tool for the ProcessWire CMF/CMS

       
      Integrates and extends Nette's Tracy debugging tool and adds 35+ custom tools designed for effective ProcessWire debugging and lightning fast development
      The most comprehensive set of instructions and examples is available at: https://adrianbj.github.io/TracyDebugger
      Modules Directory: http://modules.processwire.com/modules/tracy-debugger/
      Github: https://github.com/adrianbj/TracyDebugger
      A big thanks to @tpr for introducing me to Tracy and for the idea for this module and for significant feedback, testing, and feature suggestions.
    • By adrian
      This module allows you to automatically rename file (including image) uploads according to a configurable format
      This module lets you define as many rules as you need to determine how uploaded files will be named and you can have different rules for different pages, templates, fields, and file extensions, or one rule for all uploads. Renaming works for files uploaded via the admin interface and also via the API, including images added from remote URLs.   Github: https://github.com/adrianbj/CustomUploadNames
      Modules Directory: http://modules.processwire.com/modules/process-custom-upload-names/
      Renaming Rules
      The module config allows you to set an unlimited number of Rename Rules. You can define rules to specific fields, templates, pages, and file extensions. If a rule option is left blank, the rule with be applied to all fields/templates/pages/extensions. Leave Filename Format blank to prevent renaming for a specific field/template/page combo, overriding a more general rule. Rules are processed in order, so put more specific rules before more general ones. You can drag to change the order of rules as needed. The following variables can be used in the filename format: $page, $template, $field, and $file. For some of these (eg. $field->description), if they haven't been filled out and saved prior to uploading the image, renaming won't occur on upload, but will happen on page save (could be an issue if image has already been inserted into RTE/HTML field before page save). Some examples: $page->title mysite-{$template->name}-images $field->label $file->description {$page->name}-{$file->filesize}-kb prefix-[Y-m-d_H-i-s]-suffix (anything inside square brackets is is considered to be a PHP date format for the current date/time) randstring[n] (where n is the number of characters you want in the string) ### (custom number mask, eg. 001 if more than one image with same name on a page. This is an enhanced version of the automatic addition of numbers if required) If 'Rename on Save' is checked files will be renamed again each time a page is saved (admin or front-end via API). WARNING: this setting will break any direct links to the old filename, which is particularly relevant for images inserted into RTE/HTML fields. The Filename Format can be defined using plain text and PW $page variable, for example: mysite-{$page->path} You can preserve the uploaded filename for certain rules. This will allow you to set a general renaming rule for your entire site, but then add a rule for a specific page/template/field that does not rename the uploaded file. Just simply build the rule, but leave the Filename Format field empty. You can specify an optional character limit (to nearest whole word) for the length of the filename - useful if you are using $page->path, $path->name etc and have very long page names - eg. news articles, publication titles etc. NOTE - if you are using ProcessWire's webp features, be sure to use the useSrcExt because if you have jpg and png files on the same page and your rename rules result in the same name, you need to maintain the src extension so they are kept as separate files.
      $config->webpOptions = array(     'useSrcExt' => false, // Use source file extension in webp filename? (file.jpg.webp rather than file.webp) ); Acknowledgments
      The module config settings make use of code from Pete's EmailToPage module and the renaming function is based on this code from Ryan: http://processwire.com/talk/topic/3299-ability-to-define-convention-for-image-and-file-upload-names/?p=32623 (also see this post for his thoughts on file renaming and why it is the lazy way out - worth a read before deciding to use this module). 
       
       
      NOTE:
      This should not be needed on most sites, but I work with lots of sites that host PDFs and photos/vectors that are available for download and I have always renamed the files on upload because clients will often upload files with horrible meaningless filenames like:
      Final ReportV6 web version for John Feb 23.PDF

    • By Mike Rockett
      Jumplinks for ProcessWire
      Release: 1.5.56
      Composer: rockett/jumplinks
      Jumplinks is an enhanced version of the original ProcessRedirects by Antti Peisa.
      The Process module manages your permanent and temporary redirects (we'll call these "jumplinks" from now on, unless in reference to redirects from another module), useful for when you're migrating over to ProcessWire from another system/platform. Each jumplink supports wildcards, shortening the time needed to create them.
      Unlike similar modules for other platforms, wildcards in Jumplinks are much easier to work with, as Regular Expressions are not fully exposed. Instead, parameters wrapped in curly braces are used - these are described in the documentation.
      Under Development: 2.0, to be powered by FastRoute
      As of version 1.5.0, Jumplinks requires at least ProcessWire 2.6.1 to run.
      View on GitLab
      Download via the Modules Directory
      Read the docs
      Features
      The most prominent features include:
      Basic jumplinks (from one fixed route to another) Parameter-based wildcards with "Smart" equivalents Mapping Collections (for converting ID-based routes to their named-equivalents without the need to create multiple jumplinks) Destination Selectors (for finding and redirecting to pages containing legacy location information) Timed Activation (activate and/or deactivate jumplinks at specific times) 404-Monitor (for creating jumplinks based on 404 hits) Additionally, the following features may come in handy:
      Stale jumplink management Legacy domain support for slow migrations An importer (from CSV or ProcessRedirects) Feedback & Feature Requests
      I’d love to know what you think of this module. Please provide some feedback on the module as a whole, or even regarding smaller things that make it whole. Also, please feel free to submit feature requests and their use-cases.
      Note: Features requested so far have been added to the to-do list, and will be added to 2.0, and not the current dev/master branches.
      Open Source

      Jumplinks is an open-source project, and is free to use. In fact, Jumplinks will always be open-source, and will always remain free to use. Forever. If you would like to support the development of Jumplinks, please consider making a small donation via PayPal.
      Enjoy! :)
×
×
  • Create New...