Add gclid for Google Ads conversion tracking
-
Hi Nikel,
first of all thanks a lot for the great plugin!There is one thing that would make it perfect for me: gclid
With that, we could use it to track Google Ads conversions in Google Analytics.Here is a great sample code which which shows glcid usage in a small WP plugin:
https://gist.github.com/mbaersch/795a9c3ab22941b175f36c9b6c72955bI guess it would require a cookie to store the glcid id. Or is there a server side method to “save” it for a specific visitor?
With or without a cookie – I think it would be great for your plugin. What do you think?
- The topic ‘Add gclid for Google Ads conversion tracking’ is closed to new replies.