Reference an e-commerce order to cookie consent via UTM

140 Views Asked by At

Is it possible to reference an e-commerce order in WooCommerce with info about if cookie consent was given from the customer who made the order?

My idea is the following:

Let's say a user comes from an Ad, so the URL already contains UTM parameters. The user then sees the cookie banner and clicks on "accept". The "accept" button appends another custom UTM parameter (e.g &consent=1) and opts-in

There are a few plugins that make it possible to see the UTM data for a specific order (e.g "handl utm grabber"). I was wondering if this way I could get insights for a specific order if the customer gave cookie consent or not.

Also, would appending the custom UTM parameter cause any problems (e.g double counting) in Google Analytics in this scenario?

1

There are 1 best solutions below

0
zborovskaya On

Parameter "consent=1" is not UTM parameter, so it won't start new session.