Last active
January 4, 2024 14:25
-
-
Save SearchStar/9b4639618a192fc66055 to your computer and use it in GitHub Desktop.
Instructions for adding Google AdWords GCLID tracking for the Conversion Upload tool
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* 2. Modify your site’s prospect lead information submission page — usually, a lead submission form — to read the | |
* GCLID from the cookie and pass it along to your lead management system, along with the lead’s contact information. | |
* You can retrieve the GCLID value via your choice of client- or server-side languages. Once retrieved, it’s a good | |
* idea to pass the GCLID through your lead submission form as a hidden field element. | |
* Here’s an example form with a hidden field for collecting the GCLID. You should insert the highlighted <input> | |
*/ tag in between your <form> tags.: | |
<form action="" name="myForm"> | |
Name: <input type="text" name="name"> | |
<input type="hidden" id="gclid" name="gclid" value=""> | |
<input type="submit" value="Submit Form" name="btnSubmit"> | |
</form> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment