Est. Budget: $100.00
I need to start defining users as either male or female using tracking links by using a Visitor Level custom variable in Google Analytics.
See here for details on visitor level variables:
I'll be putting the info in a URL parameter. Like this: http://www.bigbarker.com/?gen=m&ag=1824
For example, if I'm running an ad campaign to only males, I want Google Analytics to track them as a male on every single visit they make to my website.
You'll use "gen" to set the gender, and "ag" to set the age range.
Sometimes the url will just have the gender, sometimes it will just have the age, and sometimes it will have both.
What I need is for you to deliver the code needed for me to paste into my Shopify templates.
Below I am going to paste some specific instructions from our Google Analytics consultant. The only difference is that we'll be using the terms "gen" instead of sx and "ag" instead of age in the url.
You will call this piece of script when parameter sx is present in URL:
It sets a custom variable named 'sex' in slot 1 (the first 1). It's a visitor-level variable (the second ...