In universal analytics it was possible to send a custom URL in section fields to set.
How can I send a custom URL to Google Analytics 4 when using Google Tag Manager?
There is a similar “Fields to Set” in the configuration tag for GA4 in Google Tag Manager. Just choose the parameter name (unique or a set name Google already uses) and pass in your variable as the value.
The trick is you will need to create a custom parameter in the Configuration menu in GA4. Once you do that, you can use it in your reports.
Related
When using the zap to "duplicate a google sheet" the sharing settings revert to private regardless of the source sheet's settings. I'd like it to preserve the original settings of the source sheet, ie so that the copy can be shared.
Or alternately, is there a way to set up a zap that changes sharing settings afterwards?
The Google Drive integration has an Add File Sharing Preference. You could add an extra step to the zap and add the sharing preference there. Note that that action doesn't change sharing preferences, it just adds to the existing ones.
If you want to submit a feature request for the Google Sheets action to contain that functionality you can do that here.
Can somebody please explain me what is the purpose of using Google Tag Manager (GTM) on an iOS app?
Currently I am working on an app which part of the legacy configuration resides on GTM but I cannot find any purpose of this.
I've read the documentation but I find it very confusing.
It mentions to add GoogleTagManager pod, add the json corresponding to your container and "preview" it with a Custom URL Schema.
The things that I dont understand are:
Why adding GoogleTagManager pod if you are not using it in your app, there is no import or anything like that
Why download the container (json file) and add it into your project. Based on the documentation, it doesnt mention anything about linking this json file with your actual xcode project.
How by using a custom URL Schema will test your container? On the documentation doesnt mention anything about handling this custom URL schema.
So based on the documentation I dont find any purpose of using GTM at all. The thing that for me makes sense is when login an event using Google Analytics, by calling Analytics.logEvent..., but this is Google Analytics, not GTM.
I will appreciate if someone can provide some information about this.
Thanks in advance.
Google Tag Manager is used, when you want to change some custom event data on the build which is already live(on App store) and you don't want to resubmit the new build just for the event. For more details you can refer this link.
I am trying to create a simple electron app, that opens Google office files from Google Drive, reads the link file and creates a new window containing that google doc page.
I can make it work, if I edit info.plist after building with electron-builder to make the app accept the file extensions '.gdoc, .gsheets and .gslides'.
Is there a smarter way that doesn't involve manually editing info.plist?
Electron-builder is supposed to be able to do that through specifying the FileAssociation. I've read of various issues with this but haven't needed it myself yet– if it works for you, please report back.
There is also the Windows only electron-regedit node module:
"File associations, file icons & open with... for electron apps
This module allows you to register your app in the windows registry,
manipulate context menus & handle native open, edit, print, preview
actions ect."
However for Google drive you might be looking at registering a protocol and url scheme. There is support for that electron-packager
protocol
Array of Strings
The URL protocol scheme(s) to associate the app with. For example,
specifying myapp would cause URLs such as myapp://path to be opened
with the app. Maps to the CFBundleURLSchemes metadata property. This
option requires a corresponding protocol-name option to be specified.
protocol-name
Array of Strings
The descriptive name(s) of the URL protocol scheme(s) specified via
the protocol option. Maps to the CFBundleURLName metadata property.
It looks like recently there has been a slight change on embedding a published google docs presentation.
The url for the iframe embed changed from:
https://docs.google.com/present/embed?id=[doc_id]
To:
https://docs.google.com/presentation/embed?id=[doc_id]
Looks like some old documents still require the old embed url, and the new documents require the new url. So given a doc_id is there a way (using the API) to get the embed url you should be using?
update:
After poking around, it looks like from the revision, the old doc has link tag with rel=http://schemas.google.com/docs/2007#publish, which contains https://docs.google.com/present/embed?id=[doc_id], but on the new doc that value is https://docs.google.com/feeds?xoauth_requestor_id=[user_email].
So the question is can I assume that if the link with rel=http://schemas.google.com/docs/2007#publish contains https://docs.google.com/feeds?xoauth_requestor_id=[user_email] then I need to use this url https://docs.google.com/presentation/embed?id=[doc_id]?
Or is it just that the API didn't include the correct value in the revision? (because I think this just happened quite recently).
The embed link has rel="http://schemas.google.com/docs/2007#embed" and URLs might look like https://docs.google.com/presentation/d/PRESENTATION_ID/preview. However, you shouldn't manually build those URLs but instead use the value of the link with rel="http://schemas.google.com/docs/2007#embed".
The xoauth_requestor_id parameter won't be included in the embed link as that is only required when using 2-legged OAuth and impersonating a different user. If that is the authorization mechanism of your choice, you have to add those parameters yourself when adding the auth token.
Is it possible to add a comment by default when using google plus share link?
The url is the following
https://plusone.google.com/_/+1/confirm?hl=en&url=URL_TO_SHARE
I've trieid adding &message=MESSAGE but that didn't help. Also tried &comment and &text
Just to warn you, this is not an officially supported part of the Google+ platform. I strongly recommend that you use the +1 button to share content to Google+.
That being said, there is no paramater that you can set to specify the message. The closest you can get to this is to use schema.org, open graph or HTML meta elements to specify the description of your target URL just like the +Snippet for the +1 button.