GA tracking with additional URL parameters - google-analytics

Something I cannot find information about in the GA tracking documentation of branch.io is how to attach parameters other than the default GA ones to a link?
For example on top of UTM tracking our company uses custom URL parameters like ?acc=amex in order to provide special access pages on web that triggers certain things. Since in Branch we only have "Channel" "Campaign" and "tags" then I'm wondering would branch pass those custom link parameters and how?

We do pass custom link parameters to Google Analytics and this requires a custom webhook implementation. As this requires more information from your end, I would request you to send an email to integrations#branch.io to take this forward.

Related

Is there any API call or any kind of feedback to know whether data is actually sent through google analytics collect endpoint?

I have settled my google tag manager as from the guide.
I have got in place a page that redirect just after the tag gtm-load is collected into the dataLayer. It's actually a "transition" page that should redirect instantaneously.
In this way I make sure google-analytics.com/r/collect is called, as I can see from the network ta of my browser, seems the only way to do so for an "instant redirect page".
However I need to test it from the back-end side.
Is there any way to have a feedback from Google Analytics about the data is actually sent? For example something like google-analytics.com/get/data/lastEntry, so that I can use a restAPI to check it out?
As far as I know, google analytics provide only metrics through a web page, and no actual data sent to.
Moreover there are some Rest API here but they are only for configuration purpose.
you might pass a JavaScript function as a hitCallback parameter of analytics send command and it will be called right after hit data were sent:
https://developers.google.com/analytics/devguides/collection/analyticsjs/field-reference#hitCallback
Here's an example of how to use it with GTM alongside another useful feature of eventcallback
https://www.simoahava.com/gtm-tips/hitcallback-eventcallback/
Hope this helps.
There is a realtime API in Google Analytics, so what I have done for testing is to call my test URL with utm campaign parameters attached. Then I made a call to the realtime API and filtered by my custom campaign.
The realtime API is fairly limited (no session based values, obviously, you cannot test custom dimensions etc), but at least this tells you if your hit has registered in GA.

Submitting GA UTM Variables to Pardot via Form Handler

Has anyone ever managed to get GA UTM tracking variables into Pardot via the API? If you use the iframe, then all of the GA variables are picked up automatically, but when you submit directly via a form handler, the information doesn't get set (presumably because it can't read the cookies).
Pardot support seem to think this can be done via the API by assigning visitors and prospects, but the documentation appears to be skimpy/non-existent. Has anyone ever had to do this and could point me in the right direction of where I should be looking in the docs or the API?

Implementing Traffic channels on Google Analytics using cid parameter

Summary: Marketing channels on GA using 'cid' instead of 'utm' parameter in URL
We use Adobe Analytics and hence all traffic channels are configured with 'cid' parameter for all campaign tracking. For ex.
cid=ps:Tata_Cliq_Westside_Exact_Apparel:Google:Search_Sok_Tatacliqwestside_E:Apparel-Unisex
This parameter is taken by Adobe Analytics and processing rules then give the data under various channels.
How do I use the same setup and implement marketing channels on Google Analytics? I don't want to use utm as a query-string parameter.
You can use View Advanced Filters to rewrite campaign/source data from URL with the help of regexp but I suppose that it would be a very complicated filter and data will only be available in the view where the filter is applied.
If you're using Google Tag Manager you can set up custom javascript variables to extract data from URL and pass it along with Google Analytics tags as pre-set fields for source/campaign/medium etc.

Passing query parameters in a cross domain tracking setup

We have two websites which are configured for Cross Domain Tracking using Google Tag Manager. So at some point after the window load event, Google changes all the URLs that have to be cross domain tracked by appending a Client ID.
My question was however, how do we pass a query parameter from one domain to the other without breaking the cross domain tracking setup? For ex. coupon codes, etc.
What you can do here is to setup a decorate link tag in gtm.
Here is how you can learn more about this
See Link / Form Decorate tag
https://support.google.com/tagmanager/answer/6106951?rd=1
The other thing you can do here is that before appending your parameter check if your anchor already contain a parameter or not and append your parameter accordingly.
hope this helps,
Cheers Analytics ML

Can't track E-Commerce shipping details using Google Analytics Measurement Protocol

I need to track E-Commerce data in my Google analytic account using measurement Protocol. In the request I need to send following data and those data need to be tracked in my account.
Billing City (utmtci)
Billing Region (utmtrg)
Billing Country (utmtco)
But when I tried to find the parameters for these using enter link description here I could not find any matching parameter. Please help if any one know whether I can track these using measurement protocol.
This has been discussed (but not yet answered) here - basically it seems those fields have been deprecated.
I do not see that spelled out in the documentation, but those field do not appear in the parameter reference, not in the API (via the query explorer) and not in the GA user interface. If stuff is not part of the documentation it's pretty safe to assume that it is not there.
You can create custom dimensions in your property settings and send the geo information there.

Resources