nativescript-google-analytics icon indicating copy to clipboard operation
nativescript-google-analytics copied to clipboard

Feature: GTM support

Open DroneKid opened this issue 9 years ago • 3 comments

Hi! How hard would it be to provide GTM support also? Thanks a lot!

DroneKid avatar Nov 23 '16 16:11 DroneKid

I am unsure sir :) Never used tag manager, can you point me to the relevant docs to see what it would take? This is what I've been going off of

https://developers.google.com/analytics/devguides/collection/ios/v3/

On Wed, Nov 23, 2016 at 11:32 AM, Alex Sapronov [email protected] wrote:

Hi! How hard would it be to provide GTM support also? Thanks a lot!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/sitefinitysteve/nativescript-google-analytics/issues/19, or mute the thread https://github.com/notifications/unsubscribe-auth/ABeI6KN44haW2YBP0KGscSqsMdp0rtNkks5rBGqPgaJpZM4K6y3R .

sitefinitysteve avatar Nov 23 '16 16:11 sitefinitysteve

This: https://developers.google.com/tag-manager/

But I guess the fastest way woul be to rip it from React Native lib :) He does everything in native Java/Obj-C code though. https://github.com/idehub/react-native-google-analytics-bridge

Thank for looking at it.

The flow is very similar. Open container and push events. Here is Java implementation: https://github.com/idehub/react-native-google-analytics-bridge/blob/master/android/src/main/java/com/idehub/GoogleAnalyticsBridge/GoogleTagManagerBridge.java

DroneKid avatar Nov 23 '16 16:11 DroneKid

You can use this:

https://github.com/cenkingunlugu/nativescript-google-tagmanager

cenkingunlugu avatar Jun 27 '17 12:06 cenkingunlugu