August 10, 201213 yr Hi All, I've been asked to set-up some custom variables but as I'm new to it, have no idea on how to get started. I have researched as much as I can but am getting confused. Here's what I need to do: An app generates a unique URL in the form of http://www.example.com/credit-use-confirm/?userID=12345&BookTitle=ABCDE&DateAndTime=201208080800. I then need the custom variables from the URL ('UserID', 'BookTitle' and 'DateAndTime') to be passed to Google Analytics so I can track which users of the app are visiting the page at that URL. I've looked into setting up custom variables but don't understand if I need 3 separate lines of code for the 3 separate variables nor how I can pass the various elements of the URL through to these. Can anyone shed any light on how I might go about doing this? Many thanks for any help in advance. -Jack
August 13, 201213 yr Author Never mind. It turns out this kind of usage is against Google Analytics' TOS. Going about it a different way by asking the user for some info up-front instead.
Create an account or sign in to comment