Skip to content

Latest commit

 

History

History
36 lines (23 loc) · 1.65 KB

README.md

File metadata and controls

36 lines (23 loc) · 1.65 KB

UTM-Generator

This Python Script will helps you to generate Urchin Tracking Module (UTM) parameters for tracking the incoming traffic.

How to use

  1. Download the UTM_GENERATOR.py script
  2. Open it with any Python IDE (Jupyter Notebook, Spyder,IDLE...).
  3. Enter all the Necessay details (Website Url, UTM source, Medium e.t.c.)
  4. Once it is done, the script will generate a UTM code, just copy it and Enjoy tracking. (If you want then you can also short the generated URL using any URL shortener(goo.gl, bit.ly etc.))

Information about parameters:

  1. Use utm_source to identify a search engine, newsletter name, or other source. Example: google

  2. Use utm_medium to identify a medium such as email or cost-per- click. Example: cpc

  3. Used for keyword analysis. Use utm_campaign to identify a specific product promotion or strategic campaign. Example: utm_campaign=spring_sale

  4. Used for paid search. Use utm_term to note the keywords for the ad. Example: running+shoes

  5. Used for A/B testing and content-targeted ads. Use utm_content to differentiate ads or links that point to the same URL. Examples: logolink or textlink

Instructions:

  1. Campaign_source is mandatory field, it helps you to track the source of incoming traffic.
  2. Campaign_medium is not mandatory but it is highly recommended to not to left it empty as it helps to predict the medium from where you are getting the traffic eg. it can be posts, newsletters, emails e.t.c
  3. Remaining three fields "name,term,content" are not much important but again it completly depends upon your requirement, like if you want to filter the traffic as per name, term or content then you can fill up the values here