Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Plazik’s picture

Title: Drupal 8.x » Drupal 8 port
Version: 7.x-1.3 » 7.x-3.x-dev

Hi.
Yes, I'm plannig to do D8 port but after 7.x-3.0 version. Anyway, patches are welcomed.

ipo4ka704’s picture

Ok I will start. Later I will give a patch.

yannisc’s picture

Hi!

Any news on this?

Plazik’s picture

Component: Reports module » All modules

Hi!

I'm planning to start D8 port after #1111358: Create automated tests. Any help appreciated.

Paulset’s picture

Any news?

george.karaivanov’s picture

Hi Guys.

Any news? Do you have something done? or at least something that you started working on

Plazik’s picture

I haven't started yet.

george.karaivanov’s picture

Hi @plazik

I've started working on porting. I've successfully ported module google_analytics_reports_api
You can pull code from http://cgit.drupalcode.org/sandbox-george.karaivanov-2713395/?h=8.x-1.x

Plazik’s picture

@george.karaivanov thank you, I will take a look.

Plazik’s picture

Status: Active » Needs work
FileSize
229.39 KB

@george.karaivanov I did some changes from your port:

  • Replace \Drupal::state() with config files.
  • Remove "curl" from GoogleAnalyticsReportsApiFeed.
  • Replace array() with [].
  • Small refactoring.

Marked as "Needs work" because main module still needs port to D8.

Plazik’s picture

Version: 7.x-3.x-dev » 8.x-3.x-dev
zyyz’s picture

@Plazik
D8 port of Google Analytics Reports module.

zyyz’s picture

Status: Needs work » Needs review
Plazik’s picture

@zyosarian thank you for the patch. I will review it.

Plazik’s picture

Status: Needs review » Needs work
FileSize
64.51 KB
105.14 KB
  • Do not include LICENSE.txt to the patch. It will be added by Drupal.org bot automaticaly.
  • I've added missing permission for Google Analytics Reports module.
  • Added Top Sources, Top Keywords attachments for Google Analytics Summary view.
  • Google Analytics Reports settings saved in its own config instead of using Google Analytics Reports API config.
  • Clear cache after importing GA fields on admin page.

TODO:

  • Import GA fields after module enabling.
  • Port Google Analytics Reports block view.
zyyz’s picture

Includes the remaining tasks..
1. Import GA fields after module enabling.
2. Port Google Analytics Reports block view.
3. Drush integration.

zyyz’s picture

Status: Needs work » Needs review
Plazik’s picture

@zyosarian, thank you for the patch.

Does page view block work for you? It works for me only if Format is set to Table.
I can commit it if this is Views bug and not GAR bug.

Plazik’s picture

Small changes in GA views.

  • Plazik committed 6854cc1 on 8.x-3.x authored by zyosarian
    Issue #2220179 by Plazik, zyosarian: Google Analytics Reports Drupal 8...
Plazik’s picture

Status: Needs review » Fixed

Commited.

Thanks everyone.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.