Greetings everyone,
I am struggling to find a good way to track the source of traffic that brought leads to our website.
I understand that UTM parameters are the preferred method of tracking PPC campaigns, but is there an effective way to capture other sources such as organic, website referral and direct traffic? These sources don't traditionally have UTM parameters appended to them unless it's a referral source you control.
Any suggestions?
Regards,
Travis
Hi,
See this script I developed: MarTech/UTM-Tracking at master · yanirclsr/MarTech · GitHub
Besides storing the original and last UTM params, it also stores the original and last referral in the cookies (or local storage).
You can then capture them into your forms very easily.
Feel free to comment here if you need further help.
Greeting Yanir,
This is very interesting. How would this collect the UTM tracking of the newer formats such as the advanced tracking in AdWords?
Example below:
{lpurl}?campaignid={campaignid}&adgroupid={adgroupid}&creative={creative}&keyword={keyword}
Regards,
Travis