Using ChatGPT-4 To Create A GA4 UTM Builder

Dedicated. Data-driven. Digital Marketing.

GPT-4, or Generative Pre-trained Transformer 4, is an advanced artificial intelligence language model developed by OpenAI. As the successor to GPT-3, GPT-4 builds upon its predecessor’s capabilities by leveraging an even larger dataset and more powerful neural network architecture. This enables GPT-4 to generate highly coherent and contextually relevant text, engage in natural language processing tasks, and assist with various applications such as, wait for it… coding!

So here at Ditly, we put that to the test!

We used ChatGPT-4 to create a JavaScript GA4 Paid Social UTM builder for this website without any knowledge of writing JavaScript code and limited knowledge of HTML and CSS!

This is how we did it…

  1. We created the calculator in Google sheets, using formulas to generate the outcome we wanted when each UTM field was populated, you can see an example of what we use as an XLSX here.
  2. We downloaded the Google Sheet as HTML and pasted it into ChatGPT-4 and asked it to make an interactive web version which we could host on my website. Here is the exact query we used: “Can you use this HTML and convert it into code that can be embedded onto a website as an interactive web calculator”.
  3. 30 seconds later ChatGPT-4 generated a basic UTM Builder for me by providing the HTML, CSS and Javascript code and telling me how to upload and install it on our site.
  4. After around 40 minutes of back and forth with ChatGPT-4 to change formatting, fonts and fix a few errors we had a fully working UTM builder live on our site.

You can try the GA4 Paid Social UTM Builder for yourself on the link below, alternatively you can read more about how why we came to developing this solution in our blog post which discusses the issues with tracking Paid Social activity in GA4 here.

 

We are absolutely loving what AI is bringing to the table at Ditly and truly believe that working alongside AI is the future of our work.

Watch this space!