nystudio107 / craft-instantanalytics

DEPRECATED: Instant Analytics brings full Google Analytics support to your Twig templates and automatic Craft Commerce integration with Google Enhanced Ecommerce.
https://nystudio107.com/
Other
20 stars 9 forks source link

[Question] Compatible with GA4? #64

Closed watarutmnh closed 1 year ago

watarutmnh commented 2 years ago

Hi, is the plugin compatible with GA4? Thanks,

khalwat commented 2 years ago

It is not.

watarutmnh commented 2 years ago

Okay thanks.

karensg commented 2 years ago

Are there any plans to support it in the future? Old GA will sunset on July 1, 2023.

khalwat commented 2 years ago

The underlying library doesn't support GA4 AFAIK. https://github.com/theiconic/php-ga-measurement-protocol/issues/94

Floriswijgergangs commented 2 years ago

Maybe this library is a solution to upgrade for GA4? https://github.com/br33f/php-GA4-Measurement-Protocol

khalwat commented 2 years ago

Oh nice @Floriswijgergangs !

smockensturm commented 2 years ago

So the GA4 compatibility question is still open, yes? Can we plan on this?

khalwat commented 2 years ago

It's an open question, but I've begun work on seeing how feasible it will be.

It's possible that API changes would be required, but I'm unsure currently.

Romanavr commented 1 year ago

@khalwat Could you give an update please? Because on some projects we use the plugin, but due to the fact that the library under the hood is not compatible with GA4, we can't move to GA4.

Anyway, thanks for your hard work!

khalwat commented 1 year ago

So I have a working implementation of this; I just need to do some QA on it, and update the docs. Since they are sunsetting the old API, there's no great reason to keep it around.

localcraig commented 1 year ago

@khalwat

Hey! Any update/timeline on this?

Thanks!

MaddieB-MWCompany commented 1 year ago

@khalwat

Hey! Do you think this update will be released soon?

Thank you!

chrismou commented 1 year ago

@khalwat Is there anything we can do to help this along? Like a public branch we could test?

I have clients chasing me to get this updated and am trying to decide whether its worth holding off and waiting for this plugin update, or just bite the bullet and start moving them over to using JS. Appreciate you may be busy, just need to know what the plan is as the sunset deadline is getting closer

khalwat commented 1 year ago

It's in active development, I'm hoping to have a beta release that you can check out in 2 weeks

smockensturm commented 1 year ago

Hey @khalwat we need to know what's up so we can make a plan.

gaelpleeroy commented 1 year ago

I'm also very interested by GA4 support.

khalwat commented 1 year ago

We have the plugin pretty close to being ready to beta test.

We decided to deprecate the old "Instant Analytics" plugin, and name the new plugin "Instant Analytics GA4", primarily because the API was completely rewritten.

This was by necessity because GA4 has been completely rewritten in a way that is far deeper than just the API (also conceptually). And Instant Analytics needs to reflect these API changes.

We're at the stage now where we are working on getting the documentation done, I'd estimate we should have a beta version published in the Craft Plugin Store in a week or so.

uandco commented 1 year ago

Hi @khalwat , any update on the release date of that beta plugin?

khalwat commented 1 year ago

I've pushed to the public repo:

https://github.com/nystudio107/craft-instantanalytics-ga4

and have just a bit of cleanup on the docs and such before I'll release it to the plugin store as a beta. I'm shooting for tomorrow

khalwat commented 1 year ago

Released 4.0.0-beta.1: https://github.com/nystudio107/craft-instantanalytics-ga4

Also submitted it to the plugin store:

Screenshot 2023-06-13 at 14 25 41

Docs: https://nystudio107.com/docs/instant-analytics-ga4/

Any issues or discussion can be moved over there: https://github.com/nystudio107/craft-instantanalytics-ga4/issues

Romanavr commented 1 year ago

If somebody looking for documentation -> https://github.com/nystudio107/craft-instantanalytics-ga4/blob/develop-v4/docs/docs/using.md

khalwat commented 1 year ago

Forgot to update the docs URL in the original post. They are here:

https://nystudio107.com/docs/instant-analytics-ga4/

smockensturm commented 1 year ago

Hi @khalwat

Do licenses transfer?

On a scale of 1-10, what is your sense of obligation for making the new plugin Craft 3 / Commerce 3 compatible until end-of-life? (April 30, 2024)

Because this puts us in a little pickle as we were not quite prepared, nor have the budget, to do those major upgrades right this second.

Or perhaps you can give us a sense of what that would take and we can either a) fork it or b) pay you handsomely. What? Half a days work? More?

Thanks for everything.

khalwat commented 1 year ago

@smockensturm please create a new issue for this, and I will answer you there

smockensturm commented 1 year ago

Sure @khalwat

Here or in the new plugin repo? :)

khalwat commented 1 year ago

On the GA4 plugin repo: https://github.com/nystudio107/craft-instantanalytics-ga4/issues