Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does this tracking extension work with multi-site typo3 installations? #78

Closed
subnoodle opened this issue Jan 25, 2022 · 6 comments
Closed
Assignees
Labels
question Further information is requested

Comments

@subnoodle
Copy link

Dear Daniel,
we update a bunch of massive multisite instances to Typo3 10 and came over your extension earlier (test sites and single site instances).
Can you tell us please, if your extension works out of the box with multisite Typo3 installations?
I did not find anything about it in the documentation.

Further, if it does not work, which kinds of efforts would it take to make it multisite-able?

Thank you very much,
Thomas

@DanielSiepmann
Copy link
Owner

Hey Thomas,

thanks for your interest. I didn't had multisite in mind when developing the site. The tracking itself should work without any issue. It just stores dump tracking records on the pages (which are associated to the sites). But dashboard widgets are not aware of Sites and do not provide a way to analyse per site yet.

I've an open issue #46 which would allow you to add "site" as a tag to each record, and filter for sites within dashboards. But that is not finished or merged yet. Have a look at last comment for current state.

So it depends on your requirements whether support is already there. I'd guess a new extractor which adds the site identifier as tag to each tracking record would make sense.

I hope that feedback helps?

Best regards,
Daniel.

@DanielSiepmann DanielSiepmann self-assigned this Jan 25, 2022
@DanielSiepmann DanielSiepmann added the question Further information is requested label Jan 25, 2022
@subnoodle
Copy link
Author

Dear Daniel,

yes, this feedback helps already.

The case we have here is, that editor users login and maintain their site.
They are unaware of any other sites, they do not see files, pages or other stuff of the other sites.
According to the tracking-widget of the tracking-extension could this mean:

  • That tracking has an "extractor" (just using your term - unaware what it is exactly) for relating page- and record-results to it's site
  • The widget preselects or binds it's filter to the site given by editors page mount (or other editors restrictions? Or site-config?)

These are first ideas about the multisite.

Thank you, Thomas

@DanielSiepmann
Copy link
Owner

Hey Thomas,

yes exactly. Right now the editor would see overall tracking information, also from other sites.
The new concept introduces the new extractor which can extract information which is then stored with the tracking info (as tag). The widgets can then filter based on those info (tags).
So one could create each widget for each site with configuration to filter tracking info based on tag "site" with value "siteitendifiera". Each user would be allowed to only use and see widgets from his user group.

Doesn't sound to convinient for the integrator. But I guess one could easily generate the necessary configuration within Services.php instead of writing down in Services.yml (or use yaml anchors).

The extension itself tries to stay open and flexible, instead of coupled to specific use cases. So the extension itself might not be aware of sites, but you could build your extractor which fetches the site identifier based on current accessed page, which will be stored alongside, and use the mechanics.

But all of that will only work once #46 is merged (which will be a breaking change and leading to version 2.x).

@DanielSiepmann
Copy link
Owner

https://github.com/DanielSiepmann/tracking/blob/feature/46-add-flags-feature/Documentation/Tags.rst already exists as first documentation regarding the tags / extractor concept.
I guess sites could make it into the extension itself as it should be pretty simple but useful.

@subnoodle
Copy link
Author

Dear Daniel,
i appreciate your fast and detailed reply and suggestions.
I'll take time to digg into it.
This would take a bit time according to the projects timeline.
Cheers, Th.

@DanielSiepmann
Copy link
Owner

I close this question as solved. Feel free to comment again if something is still unclear and I'll re open and try to help again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants