wsom-itg
asked on
Capture campaign tag information for insert into database
Hello experts,
The basics of the problem is this. I'm using a campaign tag to track interest in our degree program in Google Analytics. I have a call to action button that collects basic demographic information. I would like the button to also collect campaign information that is part of URL. However, the CTA button is not usually the first thing clicked on. So the person may navigate to another page on the site and then click the button. By that time the link has changed and I've lost the important campaign data within the URL. I realize that Google Analytics is able to track that information throughout a session. Is there a way for me to track it this info within the session and submit it along with the other user enter information into my database? I've attached a pic, it may be helpful
Thanks
Capture.PNG
The basics of the problem is this. I'm using a campaign tag to track interest in our degree program in Google Analytics. I have a call to action button that collects basic demographic information. I would like the button to also collect campaign information that is part of URL. However, the CTA button is not usually the first thing clicked on. So the person may navigate to another page on the site and then click the button. By that time the link has changed and I've lost the important campaign data within the URL. I realize that Google Analytics is able to track that information throughout a session. Is there a way for me to track it this info within the session and submit it along with the other user enter information into my database? I've attached a pic, it may be helpful
Thanks
Capture.PNG
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
You would need the parse functionality and cookie creation on any page where you'd want to capture the url paramater. Basically all of your landing pages.
ASKER
We were able to get it working. Thanks
ASKER