Profile cover photo
Profile photo
Michael Sinner
175 followers
175 followers
About
Posts

Post has attachment
This is more of a general discussion about the GTM SDK / native app tag management.

Within the documentation there is this part about custom function call tags:
https://developers.google.com/tag-manager/ios/v3/#function-call-tag

This is the only way for the GTM to dynamically send data to some new endpoint. However, each function my tracking SDK could provide needs to be registered prehand, right? Or is there a way to dynamically call different functions within a SDK?

A simple example:
I want to send data to a tracking endpoint, its SDK provide two functions: "sendEvent(string Eventname)" and "sendConversion(string Conversionname)".
Now both functions need to be registered as function calls within the native App-Code (as described in the linked documentation).

So I can't dynamically choose which function to call within GTM interface? By dynamically I meant to call functions which are not yet registered within the native code.
Or is there a way to register a wrapper function which accepts a target function name which it passes through?

So far it looks the GTM brings not much value into a native app. Since I have to register all function calls beforehand most of the dynamic parts are missing.

Google Tagmanager require plugin

What is the best way in GTM to install a analytics plugin? The ordinary way is to use ga('require', 'plugin-name');
However in GTM the Universal Analytics interface has no such field and is not supporting this feature yet.

So what would be the best way to integrate a plugin within GTM?

I tried to create a custom HTML tag. This can hold a simple line of code:
ga('require', 'plugin-name');
Further this custom HTML tag could load the needet .js files and do a callback after loaded and run the "ga(...)" function. However, the ga(...) function will not work. Probably because the tracker name (specified within the Universal Analytics tag in GTM interface) is different to the one ga(...) would use if no name is supplied.

Now there could be the solution to get the tracker name GTM instantiated and reuse in the ga(...) call to requiere the plugin. Is this a possible solution?

Or is there any other way to create a workaround?

Post has attachment
Add a comment...

Post has attachment
Vespa PK XL 2 sunset
Photo
Add a comment...

Post has attachment
DD
Photo
Add a comment...

Post has attachment
Add a comment...

Post has attachment
Hamburg Magic
Animated Photo
Add a comment...

Post has attachment
Add a comment...

Post has attachment
Neulich beim Segeln auf der Alster...
Photo
Add a comment...

Post has attachment
Fabian Ott was tagged in Michael Sinner's album.
Photo
Commenting is disabled for this post.
Wait while more posts are being loaded