Posted: October 5, 2018 at 6:48 am
We’re trying to set up goals in Google Analytics for events that are free, i.e. have no ticket price.
However, we want to assign a financial value in GA.
We have several different event types, each of which will have a different value.
Can we identify which course type is being booked so we can automatically assign those values in GA? The thank you URL looks like
Do you know what can be used to identify custom values using Google Analytics? The thank you page URL as it stands doesn’t include that information, so I wonder if Google Analytics can use a special URL parameter or a meta tag within the pages markup. If you can share a link to the GA documentation you’re following we can investigate further.
So for example, you add this to your functions file:
and if the event has category 78 only, it will add the script for Google Analytics to the page.