There is some way to get campaign information like source, name, medium, keyword, etc from the given gclid parameter that came in the query string?
Probably not. It contains a timestamp, and two other integers. However we couldn't match those other integers to any campaign, adword, or keyword ID that we found in the Adwords backend.
We've written about how gclids are encoded (and how you can go about decoding them for yourself).
Take a look at CLICK_PERFORMANCE_REPORT, it has plenty of information about a click, referenced by ClickId
. The easiest way to access report data is via AdWords scripts.
No, it's an opaque ID dynamically added to AdWords ad destination URLs at the time they are served. Only AdWords can later associate that ID back to a particular campaign, ad group, keyword, etc.
You can link you Adwords account and Google Analytics account to get this information into Google Analytics.
来源:https://stackoverflow.com/questions/19576091/how-to-extract-information-from-google-click-id-gclid