Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to extract information from Google Click ID (gclid)?

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?

like image 436
Leo Cavalcante Avatar asked Oct 24 '13 20:10

Leo Cavalcante


People also ask

How can I get Gclid information?

Through AdWords API, you can run a Click Performance Report which will aggregate your report rows on the GCLID level. You can find details such as the campaign, ad group and keyword from that click.

How do I capture a Google Click ID?

Tip: Use Google Tag Manager to collect the GCLID Under "Containers," click the name of the container you want to use. Click the New button, then select Tag from the drop-down menu. Enter a name in the "Tag Name" field (you might want to use something like "Google Ads Click ID Collection for Conversion Import").

What information does Gclid contain?

Google Click ID (GCLID) is a parameter passed in the URL with ad clicks, to identify the campaign and other attributes of the click associated with the ad for ad tracking and campaign attribution. In Google Ads, this is enabled by turning on the auto-tagging setting.


2 Answers

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.

like image 140
awales Avatar answered Sep 17 '22 14:09

awales


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).

like image 43
andre Avatar answered Sep 16 '22 14:09

andre